maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Testing a PyQt/PySide application on maemo5 (https://talk.maemo.org/showthread.php?t=51931)

fma 2010-05-05 12:58

Testing a PyQt/PySide application on maemo5
 
Hi,

I'm the developper of Papywizard:

http://www.papywizard.org

a python/Qt based application to drive motorized panoheads.

The main targets of this application are the Nokia internet tablets. I first developed it using PyGTK, on the 770, and then switched to PyQt. This dropped the support for the 770, but it still works on N8x0 devices. And it now runs on other systems (MacOS, even if I need someone to package it on this platform).

I also tested Papywizard on PySide, and it works fine (with a minor adjustement, because of a missing compatibility in the uic module). My goal is to use PySide on the N900, as I think it will become the offical python/Qt binding on this plateform.

As I don't own a N900, I need people to make some tests on this platform, on both PyQt and PySide (until it is stable). Is someone interested to help me?

Thanks!

attila77 2010-05-05 13:06

Re: Testing a PyQt/PySide application on maemo5
 
Shoot ! My PyQt-fu is stronger than my PySide-fu but can handle both.

fma 2010-05-05 13:38

Re: Testing a PyQt/PySide application on maemo5
 
Cool :)

I don't know what exactly need to be installed on the N900, but here is the complete procedure to install on N8x0:

http://www.autopano.net/wiki-en/acti..._on_Nokia_N8x0

Don't try to install Papywizard v2.0, which is not really stable; latest dev release is better.

I think there will be some little problems, like dependencies issues; please try to force the installation, at least to see if it runs. Then, I will adjust things to avoid these problems.

Once it runs fine against PyQt, I will package a version againbst PySide.

Thanks,

attila77 2010-05-05 14:45

Re: Testing a PyQt/PySide application on maemo5
 
Well, it (papywizard_2.1.19-1_all.deb) installs without any dependency issue whatsoever, but...

2010-05-05 16:44:38,191::Main::INFO::Starting Papywizard...
Segmentation fault

:S

fma 2010-05-05 15:23

Re: Testing a PyQt/PySide application on maemo5
 
Ok. Someone on the Autopano forum also got this problem. Are there some known issue about this problem with PyQt on N900?

Do you have a working version of PySide installed on your N900?

attila77 2010-05-05 17:02

Re: Testing a PyQt/PySide application on maemo5
 
AFAIK No known issues (segfaults usually meaning a c++ object ownership error in the code). My PySide is currently borked on the PR1.2 due to PR1.2 issues, but if you have a deb to try, we can do that, too.

noobmonkey 2010-05-05 17:09

Re: Testing a PyQt/PySide application on maemo5
 
Quote:

Originally Posted by fma (Post 644684)
Ok. Someone on the Autopano forum also got this problem. Are there some known issue about this problem with PyQt on N900?

Do you have a working version of PySide installed on your N900?

i do! :D
Can try it later tonight! - laptop is busy copying 4 very old hard disks at the moment :D - so once it's free, and i'm free, sounds like a cool app to test :D

fma 2010-05-05 17:13

Re: Testing a PyQt/PySide application on maemo5
 
Yes, a segfault is never good news with python!

For a PySide test, you can try this package:

http://www.papywizard.org/static/dow...1.11-1_all.deb

This is not the latest release, but as soon as it works, I package a new version.

attila77 2010-05-05 18:48

Re: Testing a PyQt/PySide application on maemo5
 
Might be same thing (or not):

Code:

rocess 8235: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 8235: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted


fma 2010-05-06 06:51

Re: Testing a PyQt/PySide application on maemo5
 
Where does this log come from?


All times are GMT. The time now is 16:40.

vBulletin® Version 3.8.8