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

Exception in thread Thread-1 with Bottle v0.14-dev #1469

Open
FrViPofm opened this issue Nov 26, 2024 · 1 comment
Open

Exception in thread Thread-1 with Bottle v0.14-dev #1469

FrViPofm opened this issue Nov 26, 2024 · 1 comment

Comments

@FrViPofm
Copy link

Just launching Bottle app with
Python 3.10.12 (main, Nov 6 2024, 20:22:13) [GCC 11.4.0] on linux

Bottle v0.14-dev server starting up (using WSGIRefServer())...
Listening on http://localhost:8080/
Hit Ctrl-C to quit.

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/home/vincent/Sites/local/Glassblower/lib/bottle.py", line 4000, in run
    path = getattr(module, '__file__') or ''
AttributeError: module 'sys' has no attribute '__file__'. Did you mean: '__name__'?
@defnull
Copy link
Member

defnull commented Nov 26, 2024

That line looks different in master, you probably have an old version? https://github.com/bottlepy/bottle/blob/master/bottle.py#L4001

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

2 participants