The default installation of OpenPli ships with a broken ssl module.
root@dm800se:~# python2.7 Python 2.7.2 (default, Dec 14 2012, 09:28:54) [GCC 4.6.4 20120303 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ssl Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.7/ssl.py", line 58, in <module> ImportError: No module named textwrap >>>
Installing the python-textutils fixes the problem.
root@dm800se:~# opkg install python-textutils Installing python-textutils (2.7.2-r7.17) to root... Downloading http://downloads.pli-images.org/feeds/openpli-3.0/dm800se/mips32el/python-textutils_2.7.2-r7.17_mips32el.ipk. Configuring python-textutils. root@dm800se:~# python2.7 iPython 2.7.2 (default, Dec 14 2012, 09:28:54) [GCC 4.6.4 20120303 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ssl >>>
Maybe the package python-io where ssl module belongs to needs a dependency on python-textutils.
root@dm800se:~# opkg files python-io Package python-io (2.7.2-r7.17) is installed on root and has the following files: /usr/lib/python2.7/lib-dynload/termios.so /usr/lib/python2.7/socket.pyo /usr/lib/python2.7/lib-dynload/_socket.so /usr/lib/python2.7/lib-dynload/select.so /usr/lib/python2.7/lib-dynload/_io.so /usr/lib/python2.7/tempfile.pyo /usr/lib/python2.7/io.pyo /usr/lib/python2.7/StringIO.pyo /usr/lib/python2.7/lib-dynload/cStringIO.so /usr/lib/python2.7/pipes.pyo /usr/lib/python2.7/ssl.pyo /usr/lib/python2.7/lib-dynload/_ssl.so /usr/lib/python2.7/_pyio.pyo
Thanks.
Edited by athoik, 9 February 2013 - 15:32.