[Eric] PySide Support

Gustavo A. Díaz gustavo.diaz at gmail.com
Fri Aug 31 15:46:01 BST 2012


Btw, the only "debug" I see under dmesg is:

 python[7206]: segfault at 0 ip 00007f1ec77d3b91 sp 00007fff7fbe2b38 error
4 in libc-2.15.so[7f1ec774b000+1b3000]

This when I try to execute my PySide project under Eric.

Cheers,

2012/8/9 Gustavo A. Díaz <gustavo.diaz at gmail.com>

> Hello!
>
> Any news about this? I am starting to migrate to PySide for my Proyects
> and is very annoying to execute the app in a external console/terminal. Can
> someone help to debug why is not working with PySide? Why does not execute
> at all?
>
> Thanks!
>
>
> 2012/5/19 Detlev Offenbach <detlev at die-offenbachs.de>
>
>> **
>>
>> Accidentally I sent the email to the mailing list.
>>
>>
>>
>> ---------- Forwarded Email ----------
>>
>>
>>
>> Subject: Re: [Eric] PySide Support
>>
>> Date: Saturday 19 May 2012, 11:56:00
>>
>> From: Detlev Offenbach <detlev at die-offenbachs.de>
>>
>> An: eric at riverbankcomputing.com
>>
>>
>>
>> Hello Gustavo,
>>
>>
>>
>> Here is what I did. I loaded your test project in eric4 and placed a
>>
>> breakpoint on the line calling the QApplication constructor and started
>> the
>>
>> project in debug mode. Once execution was halted at the breakpoint I
>> selected
>>
>> "Step over" and the application died. Tracing the debugger client part
>> (i.e.
>>
>> the debugger backend) revealed, that everything was executed fine. It
>> crashed
>>
>> in the PySide code.
>>
>>
>>
>> However, running it from the command line does not show this behavior.
>> Neither
>>
>> does a variant converted to PyQt4. I have no idea what is getting in the
>> way
>>
>> on Linux.
>>
>>
>>
>> Regards,
>>
>> Detlev
>>
>>
>>
>> On Friday 18 May 2012, 14:59:53 Gustavo A. Díaz wrote:
>>
>> > Ok, I will see what i can dig. But the problem is that i don't see any
>>
>> > error :S
>>
>> > So far I just execute the app outside Eric, but of course is not nice.
>>
>> >
>>
>> > I am not so much expert on programming, but I will see what i can do.
>>
>> >
>>
>> > 2012/5/18 Detlev Offenbach <detlev at die-offenbachs.de>
>>
>> >
>>
>> > > **
>>
>> > >
>>
>> > > Hello Gustavo,
>>
>> > >
>>
>> > >
>>
>> > >
>>
>> > > I investigated the PySide issue a bit more and it gets even stranger.
>> I
>>
>> > > ran your test script on my Windows installation and it work fine with
>>
>> > > both Python3 (eric5) and Python2 (eric4). However, on my openSUSE box
>>
>> > > it crashes (seg fault) in the QApplication constructor. I have no clue
>>
>> > > why. If you can assist, please let me know.
>>
>> > >
>>
>> > >
>>
>> > >
>>
>> > > Regards,
>>
>> > >
>>
>> > > Detlev
>>
>> > > --
>>
>> > >
>>
>> > > Detlev Offenbach
>>
>> > >
>>
>> > > detlev at die-offenbachs.de
>>
>> --
>>
>> Detlev Offenbach
>>
>> detlev at die-offenbachs.de
>>
>> ---------------------------------------
>> --
>>
>> Detlev Offenbach
>>
>> detlev at die-offenbachs.de
>>
>
>
>
> --
>
> Gustavo A. Díaz
>
> GDNet Projects
>
> www.gdnet.com.ar
>
> "Desarrollando un mundo Libre"
>
>


-- 

Gustavo A. Díaz

GDNet Projects

www.gdnet.com.ar

"Desarrollando un mundo Libre"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20120831/efc3a500/attachment.html>


More information about the Eric mailing list