Author Topic: Python 2.4 Zaurus Image Available  (Read 53822 times)

Optogeek

  • Newbie
  • *
  • Posts: 48
    • View Profile
    • http://optogeek.homelinux.net
Python 2.4 Zaurus Image Available
« Reply #30 on: February 08, 2005, 05:17:12 am »
sojc

You are having the same problem I was.  Open up /etc/rc.d/init/mntpython as root and find the line
Code: [Select]
elsif [ -f /home/zaurus/Documents/$PYTHON.ex2 ]..........
below it you need to change the IMAGEDIR to /home/zaurus/Documents/

Save the file and then type /etc/rc.d/init.d/mntpython

Hope that helps
SL-C860 running Cacko 1.23
SL-5500UK with 3.13 Sharp ROM + Cacko Kernel
Origo WLAN and BlueMonkey BT CFs
1GB Crucial SD
1GB Crucial CF

kopsis

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • http://kopsisengineering.com
Python 2.4 Zaurus Image Available
« Reply #31 on: February 08, 2005, 08:56:28 am »
Ok, I've updated the .ipk with a fixed mntpython script (I would have done it sooner if Sourceforge didn't make updates such an involved process).

If you have Python working, don't waste your time trying to update. I only put the update on line to prevent new users from running into the problem. If you already have the .ipk installed and are having problems with a filesystem image in /home/zaurus/Documents (SL-3000 users?) making the change Optogeek suggested is quicker and easier than trying to reinstall the .ipk and will accomplish exactly the same thing.

sojc

  • Newbie
  • *
  • Posts: 19
    • View Profile
Python 2.4 Zaurus Image Available
« Reply #32 on: February 08, 2005, 07:07:33 pm »
ok guys, thanks for the help. Got it working when I updated the script.



TY
sojc

nilch

  • Hero Member
  • *****
  • Posts: 668
    • View Profile
    • http://
Python 2.4 Zaurus Image Available
« Reply #33 on: May 25, 2005, 05:44:33 pm »
I loaded the python image (on SD) and mounts shows it mounted allright.

But when I start a simple application it comes up with error
"QDialog is not defined" - i am using a QDialog at the very beginning.

What would be the problem here ? IIts a very basic Qt class that is included in the Zaurus QTPE definitions.
New no more-C1000 / 5000D (sold my 6000 and 750) | Cacko ROM 1.23 on C1000 | 256 MB CF | 2GB PNY SD card | Socket Networker WiFi CF Card | USB Host cable from StreamlineCPUS | Mini Microphone (for voice recording) |

chroafjd

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • http://
Python 2.4 Zaurus Image Available
« Reply #34 on: September 14, 2005, 12:09:06 pm »
Quote
The first release of my Python 2.4 image for the Zaurus is now available for testing The website has fairly complete download instructions. This hasn't had a huge amount of testing so be careful! (backup critical data, yada yada yada). If you do have problems, you can always go back to the previous version (old versions still available at Sourceforge).

Details of what to expect from this version have been covered in this topic. Feel free to report any problems here (but don't expect fixes until next week). Good luck and have a great weekend! 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=62646\"][{POST_SNAPBACK}][/a][/div]

Hi Kopsis,

Thanks for the great job.

I didn't have problems installing your Python Image, and making it to work, on my Zaurus C3100. However, I can't get SQLite to work. I have had the ipk installed in Internal Memory as recommended and tried to invoke the application from the console by typing "sqlite". Nothing happens. What am I doing wrong?

Thanks in anticipation of any hints.

Chroafjd

----------------
SL-C3100, Cacko 1.23b ROM, 1GB Transend CF Card, 1GB Kingmax SD Card,
DLink WLAN

freizugheit

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://
Python 2.4 Zaurus Image Available
« Reply #35 on: February 07, 2006, 04:19:17 am »
I encountered major problem with my SL-5600.  Due to lack of backup, I needed to reinstall Python 2.4 after clean installation.

However, on activating python using QKonsole, I was prompted with the following error messages:

  - Could not find platform independent libraries <prefix>
  - Could not find platform independent libraries <exec_prefix>
  - Could setting $PYTHONHOME to <prefix>[:<exec_prefix>]
  - Process python killed
  -  import site' failed; use -v for traceback
  - I could not import "qt" to run PyQt codes either


By activating this command:

Quote
at/etc/rc.d/init.d/mntpython start

My Python 2.4 backs to normal.

netog

  • Newbie
  • *
  • Posts: 38
    • View Profile
    • http://
Python 2.4 Zaurus Image Available
« Reply #36 on: April 30, 2006, 05:24:41 pm »
The image works great in my C1000. Just a few questions:

which qt widgets are not included in this pyqt? It seems QDateEdit is not...
Where to find samples of projects with pyqt and mysql connections?

thanks

Neto