Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't generate a project #204

Open
heiheshang opened this issue Jan 10, 2025 · 1 comment
Open

I can't generate a project #204

heiheshang opened this issue Jan 10, 2025 · 1 comment
Labels

Comments

@heiheshang
Copy link

Describe the bug
error: open /home/oper/programs/go_erl/apps/goerl/hestiaactor.go: no such file or directory

To Reproduce
ergo -path /home/oper/Programs/ -init go_erl -with-app GoErl -with-actor GoErl:HestiaActor -with-sup GoErl:HestiaSup -with-web "HestiaWeb{port:8888,tls}" -with-msg get_cfg -with-logger colored -with-logger rotate -with-observer
Generating project "/home/oper/Programs/go_erl"...

Environment (please complete the following information):
Linux linux-9y35.localhost 6.11.2-1-default #1 SMP PREEMPT_DYNAMIC Fri Oct 4 17:37:58 UTC 2024 (38c846e) x86_64 x86_64 x86_64 GNU/Linux
go version go1.24rc1 linux/amd64

@halturin
Copy link
Collaborator

halturin commented Jan 13, 2025

the only problem I see here is an incomplete supervision tree...
ergo -path /tmp/ -init go_erl -with-app GoErl -with-actor GoErl:HestiaActor -with-sup GoErl:HestiaSup -with-web "HestiaWeb{port:8888,tls}" -with-msg get_cfg -with-logger colored -with-logger rotate -with-observer

image

try to move your actor under the supervisor
ergo -init go_erl -with-app GoErl -with-sup GoErl:HestiaSup -with-actor HestiaSup:HestiaActor -with-web "HestiaWeb{port:8888,tls}" -with-msg get_cfg -with-logger colored -with-logger rotate -with-observer
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants