Active Topics

 


Reply
Thread Tools
Guest | Posts: n/a | Thanked: 0 times | Joined on
#1
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.
  1. I copied now about 10 py files from the python installation on my pc into my clients folder. I do not think, that this is the right way to solve the problem.
  2. It complains about the module "_ssl". This module does not even exist on my pc (or: Everything [a search tool] did not find it) !

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.
 

The Following User Says Thank You to For This Useful Post:
Posts: 2,006 | Thanked: 3,351 times | Joined on Jun 2010 @ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
#2
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...
 

The Following User Says Thank You to Wikiwide For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 04:39.