Bug in WinME

  • Dariusz Mikulski

    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__
      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__
    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

    • Franz Steinhaeusler

      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
      Does this make a difference?


    • Daniel Pozmanter

      DariusZ, gotcha.

      Thanks for the bugfix, I'll remove the '/' for the next version.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks