![]() |
Problems executing python script [python newbie]
Hi guys,
I am developing a Dropbox client for the N900. I know, there is already DropN900, but it never worked on my N900 (tried everything I could find in the internet). So I decided to solve this problem. On my computer (Windows 7 Ultimate 64-Bit) I created a little console application that allows up- and download from the Dropbox account and it works fine on the computer (Python26, Dropbox-Python-SDK installed). But when I try to test it on the N900 it returns errors: "no module named ..." (replace ... with the module name). And this is my problem. I am new to python (normally I develop apps using c++ with the Qt-Framework) and a little bit overstrained. Until now, I found out, that modules seem to be python files called modulename.py. And when I copy the files into my clients folder, the error disappears. But I am not quite sure, if this is the right way.
Can someone explain me, how I can find out, which modules my client needs, where I can get them for the N900 and where they have to be stored on the N900 (I think somewhere in /lib/python or something like this) - because just copying the hole Python26 installation from my pc cannot be the solution. |
Re: Problems executing python script [python newbie]
Quick reply...
Try installing, on N900, package "Python-openssl". Underscore probably means that a library/C-code is required. I wouldn't recommend copying files manually from PC. With universally readable files, like .py, it's a workable mess - workable, but chaotic. With binary files, like .dll/.so, it's complete incompatibility: Windows-Linux, 64-32, armel processor on N900 and Intel (usually) processor on PC. Best wishes. _________________ Per aspera ad astra... |
All times are GMT. The time now is 15:27. |
vBulletin® Version 3.8.8