[LAST COMMITS] Crash on startup on Linux #246

Closed
opened 2013-06-22 15:43:45 +02:00 by ghost · 4 comments
ghost commented 2013-06-22 15:43:45 +02:00 (Migrated from github.com)

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.

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.
fiatflux commented 2013-06-22 16:01:10 +02:00 (Migrated from github.com)

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

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
ghost commented 2013-06-22 16:47:49 +02:00 (Migrated from github.com)

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

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 <module> 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
ghost commented 2013-06-22 16:51:29 +02:00 (Migrated from github.com)

The bug does not appear if you already have a ~/.PyBitmessage/ it's only on first start.

The bug does not appear if you already have a ~/.PyBitmessage/ it's only on first start.
Atheros1 commented 2013-06-22 16:58:37 +02:00 (Migrated from github.com)

Thank you for reporting the issue.

Thank you for reporting the issue.
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2024-12-01#246
No description provided.