phaplt / winpython

Automatically exported from code.google.com/p/winpython
0 stars 0 forks source link

Spyder fails to start #30

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install WinPython portably in user home directory
2. Double click on Spyder
3. Spyder fails to start

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

I expect Spyder to start, but console window flashes briefly (usually empty, 
too), and nothing happens.  Task manager shows no processes or programs 
running.  Reinstall and Spyder works for awhile, but eventually fails to start.

What version of the product are you using? On what operating system?

2.7.3.3.amd64

Please provide any additional information below.

Problem exists on 3.3Beta on Win64 as well.

Original issue reported on code.google.com by haven...@gmail.com on 20 Feb 2013 at 2:52

GoogleCodeExporter commented 9 years ago
I have exactly same problem. I installed WinPython 32-bit on a Windows XP PC, 
it works fine (great actually).. Then I installed it to TWO Windows 7 PC, one 
with Python 2.7 already installed, one with no Python at all, both of them 
return this message when I run Spyder or Control Panel via WinPython Command 
Prompt:
"Syntax Error: Non-ASCII character '\x90' in file . . . on line 1, but no 
encoding declared"

I also have it in my portable drive, and it works fine on both machine. I don't 
get what's going wrong here. Google search doesn't help either.

Original comment by leben...@gmail.com on 10 Mar 2013 at 9:18

GoogleCodeExporter commented 9 years ago
Thanks for this report.

Could you please attach the full traceback? (Where the error is occurring)

Original comment by pierre.raybaut on 12 Mar 2013 at 1:27

GoogleCodeExporter commented 9 years ago
I have the same problem for winpython-64bit-2.7.3 running on Win 8 64 bit. 
After running the batch file spyder.bat in the scripts directory, I got the 
following message:

Traceback (most recent call last):
  File "spyder", line 2, in <module>
    from spyderlib import spyder
  File "D:\WinPython-64bit-2.7.3.3\python-2.7.3.amd64\lib\site-packages\spyderli
b\spyder.py", line 81, in <module>
    from spyderlib.utils.environ import WinUserEnvDialog
  File "D:\WinPython-64bit-2.7.3.3\python-2.7.3.amd64\lib\site-packages\spyderli
b\utils\environ.py", line 17, in <module>
    from spyderlib.widgets.dicteditor import DictEditor
  File "D:\WinPython-64bit-2.7.3.3\python-2.7.3.amd64\lib\site-packages\spyderli
b\widgets\dicteditor.py", line 31, in <module>
    from spyderlib.config import get_icon, get_font
  File "D:\WinPython-64bit-2.7.3.3\python-2.7.3.amd64\lib\site-packages\spyderli
b\config.py", line 365, in <module>
    subfolder=SUBFOLDER, backup=True, raw_mode=True)
  File "D:\WinPython-64bit-2.7.3.3\python-2.7.3.amd64\lib\site-packages\spyderli
b\userconfig.py", line 106, in __init__
    self.load_from_ini()
  File "D:\WinPython-64bit-2.7.3.3\python-2.7.3.amd64\lib\site-packages\spyderli
b\userconfig.py", line 142, in load_from_ini
    self.read(self.filename())
  File "D:\WinPython-64bit-2.7.3.3\python-2.7.3.amd64\lib\ConfigParser.py", line
 305, in read
    self._read(fp, filename)
  File "D:\WinPython-64bit-2.7.3.3\python-2.7.3.amd64\lib\ConfigParser.py", line
 546, in _read
    raise e
ConfigParser.ParsingError: File contains parsing errors: D:\WinPython-64bit-2.7.
3.3\scripts\..\python-2.7.3.amd64\..\settings\.spyder2\.spyder.ini
        [line 122]: 'r'

The 32bit version runs well, though often annoyingly pauses for instance after 
"pl" when typing pl.show()

Original comment by fengk...@gmail.com on 13 Mar 2013 at 1:17

GoogleCodeExporter commented 9 years ago
WinPython Control Panel cannot be started for the 64bit version, too.

Original comment by fengk...@gmail.com on 13 Mar 2013 at 1:21

GoogleCodeExporter commented 9 years ago
After a nice period of time of Spyder working as expected, and seeing some of 
the comments on my original submission, I tried to break it and succeeded.  To 
break it, I started Spyder and while it was still running, attempted to start 
Spyder (light).  Spyder (light) failed to start.  And after exiting Spyder, it 
is refusing to start now as well.  Now I have no idea if it is possible to have 
spyder and spyder light running at the same time, and I can't see why I would 
want to, but I was trying to recreate the problem.  I pretty much doubt that 
was the sequence of events that caused my initial report.

My windows mojo is not good, and I can't capture the console output.  Some 
error message appeared the first couple of times I tried to restart Spyder 
after breaking it, but now it exits before even they can appear.  I tried 
running the spyder.bat to capture the console output but no luck there, either.

Unlike some, the WinPython Control Panel is still starting for me.  In fact 
everything else is starting.

Original comment by haven...@gmail.com on 14 Mar 2013 at 2:08

GoogleCodeExporter commented 9 years ago
Had the same problem when just double clicking on spider.
Solved it by running Spyder as an administrator.

Original comment by jlvander...@gmail.com on 4 May 2013 at 4:59

GoogleCodeExporter commented 9 years ago
Re-examined this issue.  Thought 32-bit version solved problem, but now that's 
not working either.  If jlvander's comment is true, then it is likely a problem 
with permissions between spyder and the host OS, although I can't imagine why 
it would work for a time and then stop.  I don't have admin rights on the 
computer I'd like to run this on, so his workaround doesn't work for me.  

Does spyder try to phone home, creating some network traffic that my admins see 
and then block which eventually causes the failure?  Occasionally, I will get a 
notice on other apps that indicate that network administrators have blocked 
some capability of that app, but the app mostly works anyway locally.  Often it 
is some sort of auto-update service.

Original comment by haven...@gmail.com on 6 May 2013 at 1:31

GoogleCodeExporter commented 9 years ago
Same problem here.  What worked for me is navigating to Spyder directory in cmd 
terminal and type "Spyder.exe --reset"

Original comment by me2sp...@gmail.com on 18 Jun 2013 at 3:07

GoogleCodeExporter commented 9 years ago
Same problem for me. Nothing started. What I did is add the follwing to 
setting/winpython.ini

PYTHONPATH = C:\WinPython-64bit-2.7.5.1\python-2.7.5.amd64\Lib

Original comment by ttdu...@gmail.com on 22 Jun 2013 at 3:16

GoogleCodeExporter commented 9 years ago
I had the same problem of spyder showing nothing for a long time after i 
started. I waited for some time and the IDE has opened....

Original comment by shyamlal...@gmail.com on 8 Jul 2013 at 8:24

GoogleCodeExporter commented 9 years ago
See issue 53 and 57. With WinPython 3.3.2.1 installed on 64 bit Windows 7 
machine, I downloaded the Microsoft Visual C++ 2010 Redistributable Package 
from http://www.microsoft.com/en-us/download/details.aspx?id=14632, installed 
it and then copied msvcr100.dll from C:\Windows\System32 to 
C:\WinPython\python-3.3.2.amd64 (replacing the file that is already there). 
This seems to solve the problem. 

Original comment by aniel...@fastmail.fm on 9 Aug 2013 at 9:07

GoogleCodeExporter commented 9 years ago
Had same problem on Win 7 immediately after WinPython installation with no 
additional configuration changes. Then ran Spyder.exe as an administrator and 
it launched.

Original comment by jesse.ga...@gmail.com on 14 Sep 2013 at 9:57

GoogleCodeExporter commented 9 years ago
After reading a previous comment, I, also navigated to the Spyder directory via 
the cmd terminal and typed "Spyder.exe --reset".  It worked for me as well.
MAKE SURE TO USE "--" not "-"

Original comment by eperry4...@gmail.com on 13 Oct 2013 at 10:45

GoogleCodeExporter commented 9 years ago
I encounter the same problem.  From the popped up window, I could read that 
there is some library that spyder cannot import.

Original comment by absm...@gmail.com on 23 Oct 2013 at 4:00

GoogleCodeExporter commented 9 years ago
I had the same problem. I would try launching spyder.exe and it would flash up 
the console with some error parsing spyder.ini. It was complaining about a line 
'editor/code co' which appeared at the bottom of the file. I deleted this, and 
then spyder launched 

Original comment by barry.pa...@googlemail.com on 27 Apr 2014 at 11:01

GoogleCodeExporter commented 9 years ago
I have a similar problem. I installed Winpython (3.3.5.0 32 bits) to a network 
drive, and added a shortcut to spyder in the users main menus. When using that 
shortcut, an (empty) console opens and closes (I paused it by adding PAUSE in 
the .bat, still empty), and nothing happens. It works just fine for users with 
admin rights, but I cannot give those to students...

Original comment by maths.mo...@gmail.com on 4 Jun 2014 at 7:09

GoogleCodeExporter commented 9 years ago
I had the same issue on WinPython 64 bit 2.7.6.4.  One day, Spyder just 
wouldn't start.  It showed the spyder splash screen but then minimized to the 
task bar and wouldn't show the actual program.  Like the above comment said I 
opened WinPython Command Prompt.exe and then typed in "spyder --reset" . It 
worked like a charm and now spider will load again.

Original comment by timothy....@gmail.com on 15 Jul 2014 at 10:40

GoogleCodeExporter commented 9 years ago
Hey I get this start up problem on WinPython 32 bit sypyder as follows
in the attached file.  It seems that there is a problem with marshal
data.  What gives.  It seems downloading python there is also problems.
It is not clean-like of stuff happens with locking up the display just
accessing the folder.  I have installed winpython in folder C:\WinPython.
Winpython's QTDesigner, QTDemo, etc seems to work.  Need Help
T.

Original comment by thasset...@aol.com on 11 Oct 2014 at 2:48