OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Python 2.4.3 For Sharprom, Updated my python-for-arm-linux feed
Mickeyl
post Apr 25 2006, 07:48 AM
Post #1





Group: Members
Posts: 1,497
Joined: 12-November 03
From: Germany
Member No.: 907



Hi SharpROM and clones-lovers,

I've updated my python-for-arm-linux feed at PythonForSharpROM with Python 2.4.3. This time I used a very ancient Embedix SDK in order to make the packages work with the SharpROM.

I'd be interested in knowing
*) whether they work for you and
*) whether the SharpROM feed is still of any use for you.

The URL for the project page is Python-for-arm-linux - note that the package browser points to the "modern" feed, which is atm. older than the SharpROM feed ;-)

Happy Python'ing,
Go to the top of the page
 
+Quote Post
Mickeyl
post May 23 2006, 02:32 PM
Post #2





Group: Members
Posts: 1,497
Joined: 12-November 03
From: Germany
Member No.: 907



Ok, judging from the amount of responses, I guess there is no need anymore for the SharpROM Python packages biggrin.gif

...which is ok for me since that removes a bit of pure volunteer workload - I don't use them since years.

I'll shut down the feed next month.
Go to the top of the page
 
+Quote Post
lowen
post May 24 2006, 08:40 PM
Post #3





Group: Members
Posts: 7
Joined: 17-May 06
From: Rosman, NC
Member No.: 9,888



QUOTE(Mickeyl @ May 23 2006, 06:32 PM)
Ok, judging from the amount of responses, I guess there is no need anymore for the SharpROM Python packages biggrin.gif

...which is ok for me since that removes a bit of pure volunteer workload - I don't use them since years.

I'll shut down the feed next month.
*


Well, I just found the feed today, in fact. The tkinter package doesn't work; can't find _tkinter. I have a need to have it working with Cacko on an Akita; OZ 3.5.4.1rc4 isn't quite there yet (I have two Akita's, one, which I use for my primary is running Cacko 1.23 using the KO/pi and KA/pi set; the other is for development and testing; both are from eBay sellers). I would use the python stuff for some work we do at PARI (www.pari.edu) using what we call the PDP2 protocol; it would be marvelous to be able to carry the testing client with me on my Akita.

If you do decide to blow down the feed, what tools did you use to build it, and where could I find them to do it myself? (As I maintained the PostgreSQL RPMset for Red Hat for five years, I'm not afraid on building myself).
Go to the top of the page
 
+Quote Post
fpp
post Jun 1 2006, 08:09 AM
Post #4





Group: Members
Posts: 188
Joined: 1-February 04
Member No.: 1,647



Hi mickeyl,

I can understand that the lack of response to your offer (and the work you have put behind it) can be disappointing.
However, I don't think it's due to your efforts being ignored or general disaffection for Python on the Zaurus in general (Sharp ROM or not :-). My feeling is that there are three factors at work here :

1) Python users are probably a minority in the Zaurus user base, and even in the Zaurus developer base, just like everywhere else unfortunately :-)

2) Those who do install Python on their Z are either regular users who just want the runtime for an interesting app they've found (like Treeline etc.), or coders who want to port some existing app, or create their own. In either case, for any serious work, it quickly becomes frustrating not to have a comprehensive, "all-in-one" Python distribution (ie the standard Python package enhanced with platform-specific packages like PyQt, PyGtk, Pygame etc.). There's always some import failing for which you need to fetch the relevant module, and sometimes it's hard to find (especially binary modules like datetime for example).

3) This "piecemeal" approach made a lot of sense for the first generations of very limited machines (like the "brick" series), where you could install only what was strictly needed. But nowadays I guess most clamshell users (from the 760 upwards) have loads of storage space, on flash or on disk. For these people the "python image" offered by Kopsis (50 megs writable, 10 megs read-only) is a very practical, no-hassle solution, so there's little incentive to do it any other way.

For the last few months I've also had a Nokia 770 to play with, and the fact that ready-made packages for Python, PyGtk, pyGame and PIL were available *before launch* was not innocent in that purchase decision...

Anyway, I wanted to also thank you and the other actors like Kopsis for keeping up the rap about our favourite language, and making it available on our favourite toys :-)

Best,
fp
Go to the top of the page
 
+Quote Post
terryleung
post Jun 1 2006, 09:47 AM
Post #5





Group: Members
Posts: 1
Joined: 12-July 04
Member No.: 3,984



As a programmer , i think python is a nice language , it has all the advantages of other languages, and can make the development shorter
if possible , i really hope you can update it continuely
anyway, i appreciate for your good work smile.gif
Go to the top of the page
 
+Quote Post
Mickeyl
post Jun 1 2006, 01:09 PM
Post #6





Group: Members
Posts: 1,497
Joined: 12-November 03
From: Germany
Member No.: 907



fpp, I see, that makes sense. I guess I should provide a coupe of metapackages and/or perhaps a huge ipk that contains a lot.
Go to the top of the page
 
+Quote Post
bam
post Jun 1 2006, 07:08 PM
Post #7





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



or perhaps a nice ex2 image? one with say every stable concevable module installed? hey after all I have a extra gig im not using....
Go to the top of the page
 
+Quote Post
fpp
post Jun 2 2006, 12:55 PM
Post #8





Group: Members
Posts: 188
Joined: 1-February 04
Member No.: 1,647



That's more or less what kopsis provided quite some time ago (at least for Sharp/Cacko ROMs, don't know if it works on others) : a 50-megs writable ext2 image, or a 10-meg read-only cramfs (or is it squashfs ?), with a lot of batteries included, mounted via loopback device by a script. All very easy and convenient.
Go to the top of the page
 
+Quote Post
bam
post Jun 2 2006, 10:30 PM
Post #9





Group: Members
Posts: 1,213
Joined: 9-June 05
From: Gobi Desert, Mongolia
Member No.: 7,306



indeed this is what I use, but, there is one module so far that I cannot find, the pybluez module, someone here in the forum compiled it but alas I hav not been able to do so using Meanies gcc image.
Go to the top of the page
 
+Quote Post
sleepy
post Jun 22 2006, 03:43 AM
Post #10





Group: Members
Posts: 33
Joined: 30-March 05
Member No.: 6,739



QUOTE(Mickeyl @ Jun 1 2006, 01:09 PM)
fpp, I see, that makes sense. I guess I should provide a coupe of metapackages and/or perhaps a huge ipk that contains a lot.
*


Thanks for continuing to provide these packages Mickey. I like your feed as it lets me install what I need to flash so that I can script without my SD card if I need to. Also, it looks like OZ 3.5.4.1 is looking good for Akita. Might have to try it whenI have time biggrin.gif

Sleepy
Go to the top of the page
 
+Quote Post
enodr
post Nov 26 2006, 08:01 AM
Post #11





Group: Members
Posts: 133
Joined: 5-April 06
Member No.: 9,537



I know this is quite an old thread, but I have been playing with cacko ROM for a few days and your Sharprom python feed is very usefull for me. I have seen that you have moved it to linuxtogo, so that's a good point and I hope you will let it live here for a long time (I have googleing a lot and your feed seems to the only one where you can find python ipks for sharprom.)

The only thing that won't work is pyqt but looking at the OE recipe, it seems because it was built against libqpe / libqte versions that are older than the ones on sharprom. I'll try to have a look, because pyqt ipks are no longer available on the official site (but I found a working one here: http://dragos.com/zaurus/pyqt_3.8-1.0_arm.ipk)

Other info is that I have been playing a bit and managed to compile pyiw and it works on sharprom. (but I haven't managed to make a proper .bb recipe, just compiled by hand tweaking the Makefiles). I'll now try to make a simple Wireless connect assistant user interface.
Go to the top of the page
 
+Quote Post
Mickeyl
post Nov 26 2006, 09:39 AM
Post #12





Group: Members
Posts: 1,497
Joined: 12-November 03
From: Germany
Member No.: 907



I'd be interested in the actual error w/ PyQt, since to my knowledge, Qtopia/Sharp is supposed to be a superset of Qtopia/TT.
Go to the top of the page
 
+Quote Post
enodr
post Nov 26 2006, 10:12 AM
Post #13





Group: Members
Posts: 133
Joined: 5-April 06
Member No.: 9,537



QUOTE(Mickeyl @ Nov 26 2006, 09:39 AM)
I'd be interested in the actual error w/ PyQt, since to my knowledge, Qtopia/Sharp is supposed to be a superset of Qtopia/TT.
*


CODE
# python
Python 2.4.3 (#2, Apr 25 2006, 15:40:45)
[GCC 2.95.2 19991024 (release)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import qt
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
ImportError: /home/QtPalmtop/lib/libqpe.so.1: undefined symbol: setIdentity__10QWSDisplayRC7QString


Edit: as the problem seems to be within the libqpe which was installed from the feed, I removed it. System is now frozen at reboot. I will format user partition to solve this, and find out what happens.

Edit2: I have tried again on a clean system, and installing only python-pyqt, python-core, python-sip and libpython works. I guess this was the libqpe package that was messing with the system. Maybe you should just delete it from your feed to prevent such problems.
Go to the top of the page
 
+Quote Post
cooldude26_in
post Apr 20 2007, 05:03 AM
Post #14





Group: Members
Posts: 17
Joined: 22-June 04
Member No.: 3,789



Mickeyl,

Is it possible to install python on a SD or CF card? If it is possible how do you do it.

Thanks.
Go to the top of the page
 
+Quote Post
freizugheit
post Apr 20 2007, 09:18 AM
Post #15





Group: Members
Posts: 409
Joined: 7-November 03
Member No.: 811



cooldude26_in,

Kopsis has packaged a Python 2.4 Zaurus Image that can be stoed in SD or CF.

enodr,

PyQt is bundled with this package.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th April 2014 - 04:14 PM