[PyKDE] Eric questions

jul j.vienne at libertysurf.fr
Tue Apr 13 22:48:01 BST 2004


Ok. I've just found the solution. I'll answer myself for all :)
You can easily profile your program by a right click on your source 
code, and select "Profile data..." in the "Show" menu.
Eric hasn't finished to surprise me.
Thanks.
++
Jul.


jul wrote:

> Hi,
> Thanks for your precisions.
> I've re-installed qt, and because of dependencies, kde too!!
> But It works now :)
>
> Any ideas about how works the profiler ?
> Thanks.
> ++
> Jul.
>
> Detlev Offenbach wrote:
>
>> Am Sonntag, 11. April 2004 12:32 schrieb Phil Thompson:
>>  
>>
>>> On Sunday 11 April 2004 12:59 pm, jul wrote:
>>>   
>>>
>>>> Hi again,
>>>> Well, concerning my v3.4 install problem, I've looked a bit
>>>> further...
>>>>
>>>> I've found that the "PixmapCache.py" module calls the
>>>> "QPixmap.fromMimeSource" function from the 'qt' module.
>>>> The QPixmap class exists in my qt.py module, but doesn't have the
>>>> 'fromMimeSource' attribute....
>>>>
>>>> The qt.py header indicates that the module was generated by SIP 3.10
>>>> which seems to be recent enough...
>>>> I don't understand why the file wasn't generated correctly.
>>>> Hope it helps.
>>>>
>>>> Regards,
>>>> ++
>>>> Jul.
>>>>
>>>> jul wrote:
>>>>     
>>>>
>>>>> Hi all,
>>>>>
>>>>> I have few questions about Eric3:
>>>>>
>>>>> 1) I've installed  the last eric3 version (3.4.1)  but the
>>>>> following error is  raised on launch :
>>>>> ================================================================
>>>>> $ eric3
>>>>> Traceback (most recent call last):
>>>>>  File
>>>>> "/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py", line
>>>>> 147, in ?
>>>>>    main()
>>>>>  File
>>>>> "/usr/local/CDAT/lib/python2.3/site-packages/eric3/eric3.py", line
>>>>> 132, in main
>>>>>    mw = UserInterface(loc, splash)
>>>>>  File
>>>>> "/usr/local/CDAT/lib/python2.3/site-packages/UI/UserInterface.py",
>>>>> line 138, in __init__
>>>>>  File
>>>>> "/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py",
>>>>> line 44, in getPixmap
>>>>>  File
>>>>> "/usr/local/CDAT/lib/python2.3/site-packages/UI/PixmapCache.py",
>>>>> line 32, in getPixmap
>>>>> AttributeError: fromMimeSource
>>>>> Mutex destroy failure: Device or resource busy
>>>>> ================================================================
>>>>> Actually, I use the following versions :
>>>>>    - Python 2.3.3
>>>>>    - QT 3.0.5
>>>>>    - PyQT 3.11
>>>>>    - QScintilla 1.2
>>>>>    - SIP 3.10.1
>>>>>       
>>>>
>>> It looks like Detlev has (accidentally?) added a dependency on Qt
>>> v3.1.
>>>   
>>
>>
>> The introduction of QPixmap.fromMimeSource was done intentionally. 
>> Unfortunately I wasn't aware, that it was added in Qt 3.1. The Qt API 
>> documantation doesn't say, when a specific method/function was 
>> introduced. I think I have to update the dependancy checks and the 
>> eric web site.
>>
>> Detlev
>>  
>>
>
> _______________________________________________
> PyKDE mailing list    PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
>




More information about the PyQt mailing list