Problem opening files in Windows 98

Help
Alejandro
2005-05-21
2013-04-26
  • Alejandro
    Alejandro
    2005-05-21

    Hi:

    I installed DrPython 3.10.13 with :
    wxPython Version: 2.5.3.1
    wxPython Platform: wxMSW, ansi, wx-assertions-on
    Python Version: 2.3.4.final
    Python Platform: win32

    The problem is that Drpython frozen when I select the root directory (C:\) in the "open file" dialog.

    I have the same problem in two different windows 98 machines.

    How can I solve this problem?

    Regards,
    Alejandro.

     
    • Hello,

      some questions:

      I suspect you have the drpython file open dialog, istn't it?
      (Preferences => File Dialog => use wx.FileDialog is unchecked?)

      How do you select the root dir?
      using the arrow up icons?
      using home icon?
      type in c:\ ?

      hmm, 2.5.3.1.. wxPy 2.6 WinXP looks good

      Also with wx.FileDialog i can't duplicate this error.

      Frozen?: you have to kill the task?

      do you have some non-ascii letters in your filenames
      in the root dir?

       
    • Alejandro
      Alejandro
      2005-05-21

      >I suspect you have the drpython file open dialog, istn't it?
      >(Preferences => File Dialog => use wx.FileDialog is unchecked?)

      Yes.

      >How do you select the root dir?
      >using the arrow up icons?
      >using home icon?
      >type in c:\ ?

      I have tried all of this, with the same result.

      >Frozen?: you have to kill the task?

      Yes.

      >do you have some non-ascii letters in your filenames
      >in the root dir?

      No.

      I just try using the wx.FileDialog (didn't notice this option before), and it works OK. I will use this option.

      There is another detail related with win98, I think it is not related to my problem, but I mention it anyway :

      In my manchines with win98 the enviromental variable $HOME is not defined. This causes a problem because drpython run this :

      self.userhomedirectory = os.path.expanduser("~")

      I defined HOME in my autoexec.bat and solved the problem.

      Regards,
      Alejandro.

       
    • See my patch for DrFileDialog in Patches.