#136 Preferences Error

open
nobody
None
5
2010-10-03
2010-10-03
Sufes
No

When I try to run DrPython.pyw it "stops working" and I recieve Error report

Preferences Error
Error Changing to Default Directory: "C:/Users/Sufes/Desktop/DrPython"

Traceback (most recent call last):
File "C:\Games\DrPython\drpython.py", line 377, in __init__
os.chdir(self.ddirectory)
<type 'exceptions.WindowsError'>: [Error 2] The system cannot find the file specified: 'C:/Users/Sufes/Desktop/DrPython'

I tried find where to change the main dir, but didn't succeed
So, it works just when located on my desktop... :-/

Discussion

  • Hello sufes,

    It is on the first page in DrPython -> Preferences -> General -> Default Preferences Directory. Here you can change the preferences directory.

    Does this directory exist? Do you have the rights to access the directory?

     
  • Sufes
    Sufes
    2010-10-06

    This dir does not exist, there is just bitmaps, documentation, examples and tools
    I downloaded DrPython_3.11.3.zip

    when I run drpython.pyw (just) the icon on the taskbar shows. I can open by right click Python Shell. It's the same with drpython.py but it opens command line...

     
  • Hmm, I don't understand, if you say:
    "This dir does not exist, there is just bitmaps, documentation, examples and
    tools".

    Then the dir does actually exist. Is this only a problem with DrPython or in other Python programs too?

    Some additional questions:
    What OS do you have? Obiviously windows, but windows vista, .. ?
    What python version?
    what wxPython Version?
    The wxPyhton demo is working (demo.py) ?

    Sorry for cannot help any more at this time.