The directory c:/drpython existed before?
What if you create it in explorer before?
What if you replace in line 1665
self.homedirectory = "c:/" with
self.homedirectory = "c:"
I suspect, this is a bug; it always results in
C://drpython (on my windowsXp, this doesn't matter (I have tried out right now)),
but maybe on WinME (?)
you can try however:
delete the directory, if it exists.
If you call idle or python from console and
try os.mkdir('C://drpython') and then
if an error occures or the directory is not created
os.mkdir('C:/drpython')
Does this make a difference?
Franz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
drpython-3.5.9 & 3.5.5
When i try stary drpython i have this error:
C:\drpython>python drpython.py
Traceback (most recent call last):
File "drpython.py", line 3561, in ?
app = DrApp(0)
File "C:\Python23\Lib\site-packages\wx\_core.py", line 5243, in __init__
self._BootstrapApp()
File "C:\Python23\Lib\site-packages\wx\_core.py", line 4931, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "drpython.py", line 3552, in OnInit
frame = DrFrame(None, 101, "DrPython - Untitled 1")
File "drpython.py", line 759, in __init__
os.mkdir(self.homedirectory)
OSError: [Errno 13] Permission denied: 'c://drpython'
When i change in drpython.py line 1665 on that
self.homedirectory = "c:"
all works fine.
I use
ActivePython 2.3.2
Python 2.3.4
wxPython 2.5.2.8
The directory c:/drpython existed before?
What if you create it in explorer before?
What if you replace in line 1665
self.homedirectory = "c:/" with
self.homedirectory = "c:"
I suspect, this is a bug; it always results in
C://drpython (on my windowsXp, this doesn't matter (I have tried out right now)),
but maybe on WinME (?)
you can try however:
delete the directory, if it exists.
If you call idle or python from console and
try os.mkdir('C://drpython') and then
if an error occures or the directory is not created
os.mkdir('C:/drpython')
Does this make a difference?
Franz
DariusZ, gotcha.
Thanks for the bugfix, I'll remove the '/' for the next version.