pombreda / winpython

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

Spyder fails to start, connection to spyder.ini #101

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install WinPython portably in C:\Programs
2. Double click on Spyder.exe
3. Spyder fails to start

What is the expected output? What do you see instead?
Spyder is expected to start. Instead a command prompt opens, waits a few 
seconds, then output appears and the prompt closes immediately afterwards.

What version of the product are you using? On what operating system?
WinPython-64bit-3.3.3.2 on Windows 7 (64-bit)

Please provide any additional information below.

This is the output after I opened the command line, directed to the \scripts 
directory and executed spyder.bat:

C:\Programme\WinPython-64bit-3.3.3.2\scripts>spyder.bat
Failed to write user configuration file.
Please submit a bug report.
Traceback (most recent call last):
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\userconfig.py", line 195, in __save
    _write_file(fname)
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\userconfig.py", line 191, in _write_file with open(fname, 'w', 
encoding='utf-8') as configfile:FileNotFoundError: [Errno 2] No such file or 
directory: 
'C:\\Programme\\WinPython-64bit-3.3.3.2\\scripts\\..\\python-3.3.3.amd64\\..\\se
ttings\\.spyder2-py3\\spyder.ini'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "spyder", line 2, in <module>
    from spyderlib import start_app
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\start_app.py", line 14, in <module>
    from spyderlib.config import CONF
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\config.py", line 436, in <module>
    subfolder=SUBFOLDER, backup=True, raw_mode=True)
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\userconfig.py", line 118, in __init__
    old_ver = self.get_version(version)
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\userconfig.py", line 145, in get_version
    return self.get(self.DEFAULT_SECTION_NAME, 'version', version)
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\userconfig.py", line 309, in get
    self.set(section, option, default)
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\userconfig.py", line 375, in set
    self.__save()
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\userconfig.py", line 205, in __save
    raise(e)
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\userconfig.py", line 201, in __save
    _write_file(fname)
  File "C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\lib\site-package
s\spyderlib\userconfig.py", line 191, in _write_file
    with open(fname, 'w', encoding='utf-8') as configfile:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Programme\\WinPytho
n-64bit-3.3.3.2\\scripts\\..\\python-3.3.3.amd64\\..\\settings\\.spyder2-py3\\sp
yder.ini'

C:\Programme\WinPython-64bit-3.3.3.2\python-3.3.3.amd64\Scripts>

Original issue reported on code.google.com by dd.haemm...@gmail.com on 31 Jan 2014 at 12:12

GoogleCodeExporter commented 9 years ago
I'm getting the same thing with WinPython-64bit-2.7.6.2. 

Running on Win7Pro x64, installed into "c:\Program 
Files\WinPython-64bit-2.7.6.2"

Executing "Spyder (light).exe" also gives this same error.

[Anybody know if there's a version of WinPython that will run? Guess I'll have 
to go back to Python(x,y).]

Original comment by dave.lin...@gmail.com on 8 Feb 2014 at 11:08