[PyKDE] Eric3 version 3.9.1 causes problems when opening single
*.py files
Lars Fabig
lfabig at bmat.com
Tue Jul 18 15:02:54 BST 2006
Hi Detlev,
thanks very much for the reply but unfortunately it does not fix the
problem. Doing a few more tests I found out:
1) Open files works doing drag and drop.
2) When the previously described error message is displayed it seems
that file path is composed in the wrong way:
"The file G:\DIR1\DIR2\filename.py\filename.py could not be opened"
It looks like the actual filename is also taken as a directory name
and then file name is appended another time.
This is obviously a clear reason.
Do you have suggestion how to solve that ?
Thanks very much,
Lars
Detlev Offenbach wrote:
> On Friday 30 June 2006 16:21, Lars Fabig wrote:
>
>> Hi all,
>>
>> I'm new to Eric3 and set up the required software packages to make it
>> running. My configuration is:
>>
>> - Windows XP
>> - Qt 3.3.3
>> - Python 2.4.2
>> - PyQtGPL10.exe (http://www.quadgames.com/download/pythonqt/)
>> - Eric3snapshot2005-04-10.exe (http://www.quadgames.com/download/pythonqt/)
>>
>> With this quite old Eric snapshot it works.
>>
>> Trying the latest version (3.9.1) I could install Eric, but I had to
>> execute it from command line.
>> The IDE starts up. Trying to open whatever python script file the editor
>> gives an error message:
>> "The file xyz could not be opened"
>>
>> The stderr indicates the following message:
>> Traceback (most recent call last):
>> File "C:\Program
>> Files\Python24\Lib\site-packages\eric3\QScintilla\Editor.py", line 3363,
>> in focusInEvent
>> self.setCaretWidth(self.caretWidth)
>> Atrribute Error:caretWidth
>>
>> Does there exist a bug fix for that or does anybody know how to fix ?
>> Also work arounds are welcome !
>>
>
> Try to change this line to
>
> try:
> self.setCaretWidth(self.caretWidth)
> except AttributeError:
> pass
>
> There seems to be a timing issue that sometimes causes this to happen.
>
>> Best,
>>
>> Lars
>>
>>
>> _______________________________________________
>> PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
>> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>>
>
> Detlev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060718/4c674906/attachment.html
More information about the PyQt
mailing list