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: name 'runfile' is not defined 3.0.0b7 #3440

Closed
ghost opened this issue Sep 21, 2016 · 2 comments
Closed

NameError: name 'runfile' is not defined 3.0.0b7 #3440

ghost opened this issue Sep 21, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 21, 2016

Description of your problem

What steps will reproduce the problem?

  1. as clean an install of this spyder version as i can make it, spyder --reset, spyder --default, etc.
  2. run any code from the editor via F5 key (or button, etc) e.g. print("test") in temp.py

What is the expected output? What do you see instead?

the code in the editor should run but the following is generated:

runfile('/path/to/temp.py', wdir='/path/to')
Traceback (most recent call last):

File "", line 1, in
runfile('/path/to/temp.py', wdir='/path/to')

NameError: name 'runfile' is not defined

Please provide any additional information below
"import spyder.widgets.externalshell" from the console will fix this bug (something missing in an init.py file?)

Versions and main components

  • Spyder Version: 3.0.0b7
  • Python Version: 3.4.3
  • Operating system:Linux ul 4.4.0-38-generic doc/dep inconsistency? #57~14.04.1-Ubuntu SMP Tue Sep 6 17:20:43 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Dependencies

Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
jedi >=0.8.1 : 0.9.0 (OK)
matplotlib >=1.0 : 1.5.3 (OK)
nbconvert >=4.0 : 4.2.0 (OK)
numpy >=1.7 : 1.11.1 (OK)
pandas >=0.13.1 : 0.18.1 (OK)
pep8 >=0.6 : 1.7.0 (OK)
psutil >=0.3 : 4.3.1 (OK)
pyflakes >=0.6.0 : 1.3.0 (OK)
pygments >=2.0 : 2.1.3 (OK)
pylint >=0.25 : 1.6.4 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
rope >=0.9.4 : 0.10.3 (OK)
sphinx >=0.6.6 : 1.4.6 (OK)
sympy >=0.7.3 : None (NOK)

@stonebig
Copy link
Contributor

seems a duplicate of this one #3428

... so solved in coming beta8

@ccordoba12
Copy link
Member

Yep, this was fixed already.

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