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

Spyder --light is not functioning #1449

Closed
spyder-bot opened this issue Feb 17, 2015 · 9 comments
Closed

Spyder --light is not functioning #1449

spyder-bot opened this issue Feb 17, 2015 · 9 comments

Comments

@spyder-bot
Copy link
Collaborator

From jdmargul...@gmail.com on 2013-06-19T10:45:43Z

Spyder Version: 2.2.0
Python Version: 2.7.5
Qt Version: 4.8.4, PyQt4 (API v2) 4.9.6 on Windows 7

I've installed WinPython 64bit in C:\WinPython-64bit-2.7.5.1
The directory includes both Spyder.exe and Spyder (light).exe files.
Spyder.exe works fine. On the other hand Spyder (light).exe systematically crashes after briefly opening a shell and then displaying the splash screen for a split second. If I subsequently launch either application I get a warning window advising me to use the --reset option. Doing so does not modify what happens. Any clue?

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1449

@spyder-bot
Copy link
Collaborator Author

From techtonik@gmail.com on 2013-06-19T11:29:04Z

Try to run 2.2.0 from source https://code.google.com/p/spyderlib/wiki/NoteForContributors

@spyder-bot
Copy link
Collaborator Author

From jdmargul...@gmail.com on 2013-06-23T14:50:30Z

Well, thank you for trying to help but that sounds too arcane for me, especially with WinPython running its own tidy directory -I don't want to mess that up.

@spyder-bot
Copy link
Collaborator Author

From techtonik@gmail.com on 2013-06-25T11:57:28Z

I guess you should file this bug against WinPython - https://code.google.com/p/winpython/ , because Spyder is a Python application, and I don't know how these .exe files are produced.

Can you try running "Spyder (light).exe" from cmd.exe session to see if it outputs anything there?

Labels: OpSys-Windows

@spyder-bot
Copy link
Collaborator Author

From jdmargul...@gmail.com on 2013-06-25T18:24:29Z

Yes, thanks. Same results from the command prompt, with no output given.

@spyder-bot
Copy link
Collaborator Author

From techtonik@gmail.com on 2013-06-26T00:35:07Z

Does --help option works in command prompt? I guess no, but just in case..

@spyder-bot
Copy link
Collaborator Author

From jdmargul...@gmail.com on 2013-06-26T10:02:11Z

No that doesn't do anything...

@spyder-bot
Copy link
Collaborator Author

From srobert...@gmail.com on 2013-06-28T15:21:42Z

I'm having a similar effect on a FreeBSD 9.1 platform.

Spyder 2.2.0
Python 2.7.5
py27-qt4-4.10.2

A regular spyder session runs fine. But from a Terminal running "spyder --light" or "spyder -l" briefly flashes the splash screen and then crashes. Upon restart it gives the --reset advice but that doesn't help.
The terminal output upon the crash is:
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/spyderlib/spyder.py", line 2094, in main
mainwindow = run_spyder(app, options, args)
File "/usr/local/lib/python2.7/site-packages/spyderlib/spyder.py", line 1989, in run_spyder
main.setup()
File "/usr/local/lib/python2.7/site-packages/spyderlib/spyder.py", line 801, in setup
self.ipyconsole.register_plugin()
File "/usr/local/lib/python2.7/site-packages/spyderlib/plugins/ipythonconsole.py", line 773, in register_plugin
self.main.editor.load)
AttributeError: 'NoneType' object has no attribute 'load'

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2013-06-28T16:16:52Z

Thanks for reporting, this is a problem that we already fixed and we'll be released in our next version.

For reference, this is the commit that fixed it: revision 35b31bea0ff0

Summary: Spyder --light is not functioning (was: spyder --light not functioning)
Status: Fixed
Labels: -OpSys-Windows Cat-SpyderGUI MS-v2.2.1

@spyder-bot
Copy link
Collaborator Author

From srobert...@gmail.com on 2013-06-28T17:58:02Z

Yes, I applied the revised patches and spyder --light works fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant