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

Invoking sambal via entrypoint script produces traceback on ctrl+c #51

Open
robvdl opened this issue Mar 16, 2024 · 0 comments
Open

Invoking sambal via entrypoint script produces traceback on ctrl+c #51

robvdl opened this issue Mar 16, 2024 · 0 comments

Comments

@robvdl
Copy link
Member

robvdl commented Mar 16, 2024

You get the following traceback if you run the sambal script:

Traceback (most recent call last):
  File "/venv/sambal/bin/sambal", line 8, in <module>
    sys.exit(__main__())
TypeError: 'module' object is not callable

which you don't get if sambal is started via python -m sambal.

@robvdl robvdl changed the title Invoking samba via entrypoint script produces traceback on ctrl+c Invoking sambal via entrypoint script produces traceback on ctrl+c Mar 17, 2024
robvdl added a commit that referenced this issue Mar 29, 2024
The python -m method doesn't have a problem when ctrl+c is pressed, the entrypoint script does.

There is an issue with the entrypoint method when ctrl+c is pressed and a ticket has been opened for this (issue #51)

Show the python -m command first in the meantime.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant