Closed GoogleCodeExporter closed 9 years ago
To see what's wrong, you may open the WinPython python interpreter
('python.exe' which is in the same folder as 'WPPM.exe'), and do the following:
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from winpython import wppmgui
>>> wppmgui.main()
Original comment by pierre.raybaut
on 29 Aug 2012 at 1:39
Hi Pierre,
i started python.exe as administrator, but i did not came to the point where I
could type wppmgui.main()...
Here is the output:
Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win
32
Type "help", "copyright", "credits" or "license" for more information.
>>> from winpython import wppmgui
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "E:\Python_Portable\WinPython-2.7.3.0beta4\python-2.7.3\lib\site-packages
\winpython\wppmgui.py", line 27, in <module>
from spyderlib.widgets.internalshell import InternalShell
File "E:\Python_Portable\WinPython-2.7.3.0beta4\python-2.7.3\lib\site-packages
\spyderlib\widgets\internalshell.py", line 31, in <module>
from spyderlib.utils.qthelpers import create_action, get_std_icon
File "E:\Python_Portable\WinPython-2.7.3.0beta4\python-2.7.3\lib\site-packages
\spyderlib\utils\qthelpers.py", line 20, in <module>
from spyderlib.config import get_icon
File "E:\Python_Portable\WinPython-2.7.3.0beta4\python-2.7.3\lib\site-packages
\spyderlib\config.py", line 511, in <module>
set_default_color_scheme(_name, replace=False)
File "E:\Python_Portable\WinPython-2.7.3.0beta4\python-2.7.3\lib\site-packages
\spyderlib\config.py", line 508, in set_default_color_scheme
set_color_scheme(name, COLORS[name], replace=replace)
File "E:\Python_Portable\WinPython-2.7.3.0beta4\python-2.7.3\lib\site-packages
\spyderlib\config.py", line 499, in set_color_scheme
value = CONF.get(section, option, default=None)
File "E:\Python_Portable\WinPython-2.7.3.0beta4\python-2.7.3\lib\site-packages
\spyderlib\userconfig.py", line 257, in get
self.set(section, option, default)
File "E:\Python_Portable\WinPython-2.7.3.0beta4\python-2.7.3\lib\site-packages
\spyderlib\userconfig.py", line 323, in set
self.__save()
File "E:\Python_Portable\WinPython-2.7.3.0beta4\python-2.7.3\lib\site-packages
\spyderlib\userconfig.py", line 167, in __save
conf_file = file(fname, 'w')
IOError: [Errno 13] Permission denied: u'E:\\Python_Portable\\WinPython-2.7.3.0b
eta4\\settings\\.spyder2\\.spyder.ini'
>>>
Original comment by sebrh...@gmail.com
on 29 Aug 2012 at 1:48
Removing the 'settings' directory may help:
E:\Python_Portable\WinPython-2.7.3.0beta4\settings
However, this won't help me understand why it happened in the first place.
But it's worth the try to -at least- see if the problem persists or not.
Original comment by pierre.raybaut
on 29 Aug 2012 at 3:00
Hi Pierre,
I removed the directory and now I can start WPPM. And starting python and
trying from
>>> winpython import wppmgui
>>> wppmgui.main()
works a as well.
Sebi
Original comment by sebrh...@gmail.com
on 2 Sep 2012 at 7:42
Allright.
Do not hesitate to reopen the issue if the problem comes back.
Original comment by pierre.raybaut
on 2 Sep 2012 at 8:07
Original issue reported on code.google.com by
sebrh...@gmail.com
on 29 Aug 2012 at 12:31