Reply
Thread Tools
Posts: 334 | Thanked: 55 times | Joined on Aug 2007 @ Eastern Ontario, Canada
#1
Looking at the Python doc. on Maemo I see the following:

"The following modules are only available in the SDK:

distutils, pdb, pydoc, BaseHTTPServer, SimpleHTTPServer, SimpleXMLRPCServer, CGIHTTPServer, cgi, cgitb, DocXMLRPCServeri, robotparser, smtpd, compile, encodings.cp*, encodings.mac*, doctest, unittest, config, symtable, tabnanny, timeit, trace and hotshot."

I am interested in using the SimpleXMLRPCServer on the IT and the doc says that it is only installed in the SDK. What does this mean? That they are only installed in Scratchbox and not on the IT?

If so, then what is involved in getting SimpleXMLRPCServer and its parents installed on an IT.

Is it just a copy of some .py files?

Has anyone done this?

Thanks in advance.
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#2
I think you just need to install the "python-dev" package from the repository.
 
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#3
What sense does it make to not install the server modules by default? If the modules are hidden in a python-dev package this makes it really difficult for users to get software running.

I'm not really fond of this situation; installing python on the tablet is already difficult enough for many users (missing libs scattered across repositories). What does it take to get python-dev installed on the tablet? Entering Red Pill mode? This is not user friendly.
 
yerga's Avatar
Posts: 696 | Thanked: 1,012 times | Joined on Mar 2006 @ Asturies, Spain
#4
The main problem are the 17MB of python2.5-dev package. In a PC it has sense but in the tablets with this space can be installed aprox. 20 apps like Maemo Mapper. This modules were put out for this reason.

In future, python will be installed for default. It's in the maemo Roadmap. I hope it's soon because i also develop in python and I see that problems installing python too.
__________________
Daniel Martín Yerga
maemo.org profile
Twitter
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#5
If memory serves, SimpleXMLRPCServer (and its dependency BaseHTTPServer) are just plain python scripts in the standard library. In a pinch it's possible to just lift them off any python installation (eg on a Windows PC) and copy them over to the python lib directory on the tablet. I remember doing this in the OS2005 days...

It's more of a problem if the missing lib is a compiled python object (like datetime.pyo), obviously.
 
Posts: 334 | Thanked: 55 times | Joined on Aug 2007 @ Eastern Ontario, Canada
#6
Originally Posted by fpp View Post
If memory serves, SimpleXMLRPCServer (and its dependency BaseHTTPServer) are just plain python scripts in the standard library. In a pinch it's possible to just lift them off any python installation (eg on a Windows PC) and copy them over to the python lib directory on the tablet. I remember doing this in the OS2005 days...

It's more of a problem if the missing lib is a compiled python object (like datetime.pyo), obviously.
This is what I am hoping for, I plan to try it real soon. If there are .pyo's missing then I am screwed.
 
Posts: 133 | Thanked: 8 times | Joined on Aug 2007 @ SF, CA
#7
I am trying to install python also. Somehow it wont go throughthe whole install process. Maybe one of you knows why?

I have gone to python page here:
http://pymaemo.garage.maemo.org/installation.html
and tried to install both files following instructions.

I think maybe OS 2006 needs a different version, but can't find the versions listed for download or instructions - any ideas?
The error message is something like "install failed" or can't install - it downloads the file but fails on the install in the applic. manager.

Any help is appreciated. thanks

I am just trying to run a python app:
http://internettablettalk.com/forums...ead.php?t=9981
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:12.