question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NameError: name 'run_shell' is not defined

See original GitHub issue

Sorry for being a pain in the neck.

But, now using 1.4.2 it seems something else is broken

Running examples/script.py I get

Traceback (most recent call last):
  File "/home/manfred/.local/bin/zxpy", line 8, in <module>
    sys.exit(cli())
  File "/home/manfred/.local/lib/python3.8/site-packages/zx.py", line 56, in cli
    run_zxpy(filename, module)
  File "/home/manfred/.local/lib/python3.8/site-packages/zx.py", line 121, in run_zxpy
    exec(code, {'__name__': '__main__'})
  File "./y.py", line 2, in <module>
    ~'echo Hello world!'
NameError: name 'run_shell' is not defined

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
manfredlotzcommented, Jul 17, 2021

Things looking good now. Thanks a lot!

0reactions
tusharsadhwanicommented, Jul 17, 2021

Sorry for being a pain in the neck.

Making me realise I pushed a broken version isn’t being a pain in the neck, thanks for that 😄

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why I cannot run shell commands via PS gui in Python?
I am trying to run the avrdude commands in the terminal via the python's gui (PySimple)... it does not return me any error,...
Read more >
How to Execute a Shell Command in Python [Step-by-Step]
The recommended module to run shell commands is the Python subprocess module ... line 1, in <module> NameError: name 'PIPE' is not defined....
Read more >
Executing Shell Commands with Python - Stack Abuse
Learning how to run shell commands in Python opens the door for us to automate computer tasks in a structured and scalable way....
Read more >
Running Python in Automator - Apple Support Communities
I am trying to make a pic to text code for Python. ... Set the Run Shell Script Shell back to /bin/bash, or...
Read more >
import package pulsar, raise 「name 'ModuleNotFoundError ...
1 python version : 2.7 2 pip install pulsar-client==2.8.1 3 run shell python ... raise 「name 'ModuleNotFoundError' is not defined」 #12712.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found