[Eric] Problem with small filename letters under WinXP
Detlev Offenbach
detlev at die-offenbachs.de
Fri Oct 3 10:00:12 BST 2008
Hi,
it seems to be a WinXP problem. As you probably know, the WinXP filesystem is
case insensitive. If you debug/run a script that fails, the Python
interpreter reports the exception together with a stacktrace. In there, the
filenames are all lowercase as reported by the OS. That means, the file is
loaded by the IDE using the lowercased filename.
Regards,
Detlev
On Mittwoch, 1. Oktober 2008, Łukasz Szweda wrote:
> Hi,
>
> When I generate source code using wxGlade that is set to generate one
> file per class, I receive a bunch of filenames named Class1.py,
> Class2.py etc. When code in any of the classes fail after altering it,
> eric4 breaks in debug mode with the failing file opened. However this
> opened file has all letters lowercase (in tabbed view header), i.e.
> class1.py, class2.py etc. When I change something and save such file, I
> end up with original file renamed from Class1.py to class1.py. However
> *.pyc files stay with the case set to original, i.e. Class1.pyc and it
> is not being recompiled, so when I fix the cause of the problem, I still
> receive errors from the debugger indicating irrelevant places, that
> originally were failing in non-fixed version. The solution is to remove
> all pyc files and stay with lowercase versions, however using wxGlade
> again, I again end up with upper-lowercase mix and the story repeats.
> How can I overcome this? I could stick to lowercase letters in wxGlade
> class names, but I am not used to such convention and I wouldn't want
> that...
>
> Best regards,
> Lukasz
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list