DINKIN / winpython

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

WPPM Problem #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Pierre,

I just installed Winpython-2.7.3.0beta4 (32bit) on my USB-Stick here:

E:\Python_Portable\WinPython-2.7.3.0beta4

When I double-click WPPM.exe a python window opens, and for a very short moment 
some messages appear (too short to read anything) before the window closes. So 
I assume something went wrong. But I have no idea what?
My System is a Windows7 64bit, but I used the 32bit verson, since my PC at home 
is 32bit.

Any ideas?

Sebi

Original issue reported on code.google.com by sebrh...@gmail.com on 29 Aug 2012 at 12:31

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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