[LAST COMMITS] Crash on startup on Linux #246
Labels
No Label
bug
build
dependencies
developers
documentation
duplicate
enhancement
formatting
invalid
legal
mobile
obsolete
packaging
performance
protocol
question
refactoring
regression
security
test
translation
usability
wontfix
No Milestone
No project
No Assignees
1 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Bitmessage/PyBitmessage-2024-12-06#246
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
The last commits that you pushed crash on Linux at startup "global name 'sys' is not defined".
The version that was online yesterday "merged PR #232" works fine.
An uncaught NameError like this should print a stack trace in the invoking terminal, which would be very helpful to post.
Can you please double-check the commit you're running?
$ git rev-parse --verify HEAD
Double checked.
Here is the stracktrace :
$ rm -rf ~/.Py*
$ python src/bitmessagemain.py
Traceback (most recent call last):
File "src/bitmessagemain.py", line 4082, in
helper_startup.loadConfig()
File "/home/user/test/PyBitmessage/src/helper_startup.py", line 33, in loadConfig
if 'linux' in sys.platform:
NameError: global name 'sys' is not defined
The bug does not appear if you already have a ~/.PyBitmessage/ it's only on first start.
Thank you for reporting the issue.