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

NameError: global name 'ipc_timeout' is not defined #67

Open
andrewkcarter opened this issue Sep 6, 2017 · 1 comment
Open

NameError: global name 'ipc_timeout' is not defined #67

andrewkcarter opened this issue Sep 6, 2017 · 1 comment

Comments

@andrewkcarter
Copy link

When running with --output localterm, the ipc_timeout variable is undefined.

~/pyrasite-develop# pyrasite --output localterm --ipc-timeout 5 1 dump_stacks.py
Traceback (most recent call last):
  File "/usr/local/bin/pyrasite", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/site-packages/pyrasite/main.py", line 137, in main
    timeout=ipc_timeout)
NameError: global name 'ipc_timeout' is not defined

The reference on line 137 needs to be args.ipc_timeout, not simply ipc_timeout.

@artms
Copy link

artms commented Oct 6, 2017

I made pull request for this issue: #69

user202729 pushed a commit to user202729/pyrasite-ng that referenced this issue Oct 26, 2020
lmacken added a commit that referenced this issue Oct 8, 2023
Fix NameError exception, see github.com//issues/67
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