![]() |
Python/Duplicity in OS2008?
Hi; does anyone have duplicity working on OS2008? I installed it apparently successfully, but when I try to run it from the command line, I get
ImportError: No module named getpass Since getpass is a python system module, it looks like my python installation is hosed.. but other apps, using python from the launcher, seem to run OK. So I guess it is possibly a path problem. If so, does anyone know what magic I need to get python to find the system classes? Or do I need to install the python development system for the system libraries to be available (I tried to install it, but get an uninformative error from application manager - just tells me it failed to install, with no diagnostics) TIA Bob |
Re: Python/Duplicity in OS2008?
Quote:
Running 'python' from the command line gets you 2.3, maybe try running 'python2.5 <script>' instead? -jkq |
Re: Python/Duplicity in OS2008?
Quote:
The problem seems to be some kind of mis-installation: the python system libraries aren't available. I don't know a lot about python, but I would have expected the system libraries to be part of a runtime installation. Plus nothing else seems to be broken. So probably, it's just telling python about the right path. But I did try to install the developer system, package manager fails to install it, so maybe there is a misconfiguration. |
Re: Python/Duplicity in OS2008?
Quote:
Quote:
-jkq |
Re: Python/Duplicity in OS2008?
Try this as root from inside an xterm on your tablet:
scp <username>@<linux_box_with_python2.5>:/usr/lib/python2.5/getpass.py /usr/lib/python2.5 Or, as root on your tablet, you can copy and paste the following to /usr/lib/python2.5/getpass.py: Code:
"""Utilities to get a password and/or the current user name. |
Re: Python/Duplicity in OS2008?
Thank you, that completely solved my problem! I really appreciate your help.
I guess it brings up a wider question: why system libraries that are almost certain to be required by applications (and are actually required by applications available from the standard repo via package manager) are not in the N800 base installation, or at worst available as an add-on. I know space is at a premium; but there are quite reasonable potential solutions available. But I guess this isn't the right place to raise this... Thanks again, and Best Wishes Bob Quote:
|
Re: Python/Duplicity in OS2008?
Quote:
https://stage.maemo.org/svn/maemo/pr...2.5-2.5.0/Lib/ |
Re: Python/Duplicity in OS2008?
Quote:
|
All times are GMT. The time now is 05:22. |
vBulletin® Version 3.8.8