On Friday, March 6, 2015 at 2:42:36 PM UTC+7, [email protected] wrote:
> ~$ mnemosyne
> An unexpected error has occurred.
> Please forward the following info to the developers:
> 
> Traceback (innermost last):
>   File "/usr/local/bin/mnemosyne", line 4, in <module>
>     __import__('pkg_resources').run_script('Mnemosyne==2.3.2', 'mnemosyne')
>   File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 517, in 
> run_script
>     self.require(requires)[0].run_script(script_name, ns)
>   File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1443, in 
> run_script
>     exec(script_code, namespace, namespace)
>   File 
> "/usr/local/lib/python2.7/dist-packages/Mnemosyne-2.3.2-py2.7.egg/EGG-INFO/scripts/mnemosyne",
>  line 191, in <module>
>   File "build/bdist.linux-x86_64/egg/mnemosyne/libmnemosyne/__init__.py", 
> line 174, in initialise
>     self.register_components()
>   File "build/bdist.linux-x86_64/egg/mnemosyne/libmnemosyne/__init__.py", 
> line 244, in register_components
>     exec("from %s import %s" % (module_name, class_name))
>   File "<string>", line 1, in <module>
>   File "build/bdist.linux-x86_64/egg/mnemosyne/pyqt_ui/qt_web_server.py", 
> line 13, in <module>
>   File "build/bdist.linux-x86_64/egg/mnemosyne/web_server/web_server.py", 
> line 14, in <module>
>  ImportError: No module named static
> ~$ 
> I ran apt-get with the dependent groups listed for ubuntu, although I am on 
> debian wheezy. setup.py ran ok, no complaints. but ... 'no module named 
> static', I guess.
> 
> Any suggestions? Thanks.

I have ... Package: python-webob (1.4-2) ... debian lists just python and 
python-webob-doc as other packages related to python-webob ...

Here's what I ran to install the dependencies, run after the fact ...

:~/Documents/people/g/GilesJiUngpakorn/rst$ sudo apt-get install 
python-cherrypy3 python-virtualenv python-qt4-dev pyqt4-dev-tools qt4-designer 
python-qt4-sql libqt4-sql-sqlite python-matplotlib python-qt4-phonon 
python-sphinx python-webob
Reading package lists... Done
Building dependency tree       
Reading state information... Done
python-cherrypy3 is already the newest version.
python-matplotlib is already the newest version.
pyqt4-dev-tools is already the newest version.
python-qt4-dev is already the newest version.
python-qt4-phonon is already the newest version.
python-qt4-sql is already the newest version.
python-virtualenv is already the newest version.
python-webob is already the newest version.
libqt4-sql-sqlite is already the newest version.
qt4-designer is already the newest version.
python-sphinx is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
:~/$ 

How would I make sure webob is installed correctly? Maybe the directory 
structure on debian is different than on ubuntu?

:~/$ dpkg -L python-webob
/.
/usr
/usr/lib
/usr/lib/python2.6
/usr/lib/python2.6/dist-packages
/usr/lib/python2.6/dist-packages/webob
/usr/lib/python2.6/dist-packages/WebOb-1.1.1.egg-info
/usr/lib/python2.7
/usr/lib/python2.7/dist-packages
/usr/lib/python2.7/dist-packages/webob
/usr/lib/python2.7/dist-packages/WebOb-1.1.1.egg-info
/usr/share
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/python-webob
/usr/share/pyshared
/usr/share/pyshared/webob
/usr/share/pyshared/webob/exc.py
/usr/share/pyshared/webob/datetime_utils.py
/usr/share/pyshared/webob/request.py
/usr/share/pyshared/webob/util.py
/usr/share/pyshared/webob/dec.py
/usr/share/pyshared/webob/etag.py
/usr/share/pyshared/webob/byterange.py
/usr/share/pyshared/webob/descriptors.py
/usr/share/pyshared/webob/cachecontrol.py
/usr/share/pyshared/webob/headers.py
/usr/share/pyshared/webob/cookies.py
/usr/share/pyshared/webob/__init__.py
/usr/share/pyshared/webob/response.py
/usr/share/pyshared/webob/multidict.py
/usr/share/pyshared/webob/acceptparse.py
/usr/share/pyshared/WebOb-1.1.1.egg-info
/usr/share/pyshared/WebOb-1.1.1.egg-info/top_level.txt
/usr/share/pyshared/WebOb-1.1.1.egg-info/zip-safe
/usr/share/pyshared/WebOb-1.1.1.egg-info/dependency_links.txt
/usr/share/pyshared/WebOb-1.1.1.egg-info/SOURCES.txt
/usr/share/pyshared/WebOb-1.1.1.egg-info/PKG-INFO
/usr/share/doc
/usr/share/doc/python-webob
/usr/share/doc/python-webob/changelog.gz
/usr/share/doc/python-webob/copyright
/usr/share/doc/python-webob/docs
/usr/share/doc/python-webob/docs/pycon2011
/usr/share/doc/python-webob/docs/pycon2011/pycon-py3k-sprint.html
/usr/share/doc/python-webob/docs/comment-example.html
/usr/share/doc/python-webob/docs/objects.inv
/usr/share/doc/python-webob/docs/file-example.html
/usr/share/doc/python-webob/docs/license.html
/usr/share/doc/python-webob/docs/_static
/usr/share/doc/python-webob/docs/_static/plus.png
/usr/share/doc/python-webob/docs/_static/default.css
/usr/share/doc/python-webob/docs/_static/file.png
/usr/share/doc/python-webob/docs/_static/up.png
/usr/share/doc/python-webob/docs/_static/down-pressed.png
/usr/share/doc/python-webob/docs/_static/up-pressed.png
/usr/share/doc/python-webob/docs/_static/basic.css
/usr/share/doc/python-webob/docs/_static/comment.png
/usr/share/doc/python-webob/docs/_static/pygments.css
/usr/share/doc/python-webob/docs/_static/comment-bright.png
/usr/share/doc/python-webob/docs/_static/ajax-loader.gif
/usr/share/doc/python-webob/docs/_static/minus.png
/usr/share/doc/python-webob/docs/_static/down.png
/usr/share/doc/python-webob/docs/_static/comment-close.png
/usr/share/doc/python-webob/docs/_sources
/usr/share/doc/python-webob/docs/_sources/news.txt
/usr/share/doc/python-webob/docs/_sources/test_dec.txt
/usr/share/doc/python-webob/docs/_sources/pycon2011
/usr/share/doc/python-webob/docs/_sources/pycon2011/pycon-py3k-sprint.txt
/usr/share/doc/python-webob/docs/_sources/test-file.txt
/usr/share/doc/python-webob/docs/_sources/do-it-yourself.txt
/usr/share/doc/python-webob/docs/_sources/test_response.txt
/usr/share/doc/python-webob/docs/_sources/comment-example.txt
/usr/share/doc/python-webob/docs/_sources/differences.txt
/usr/share/doc/python-webob/docs/_sources/reference.txt
/usr/share/doc/python-webob/docs/_sources/wiki-example.txt
/usr/share/doc/python-webob/docs/_sources/license.txt
/usr/share/doc/python-webob/docs/_sources/test_request.txt
/usr/share/doc/python-webob/docs/_sources/jsonrpc-example.txt
/usr/share/doc/python-webob/docs/_sources/modules
/usr/share/doc/python-webob/docs/_sources/modules/webob.txt
/usr/share/doc/python-webob/docs/_sources/modules/dec.txt
/usr/share/doc/python-webob/docs/_sources/index.txt
/usr/share/doc/python-webob/docs/_sources/file-example.txt
/usr/share/doc/python-webob/docs/searchindex.js
/usr/share/doc/python-webob/docs/search.html
/usr/share/doc/python-webob/docs/test_dec.html
/usr/share/doc/python-webob/docs/index.html
/usr/share/doc/python-webob/docs/differences.html
/usr/share/doc/python-webob/docs/news.html
/usr/share/doc/python-webob/docs/py-modindex.html
/usr/share/doc/python-webob/docs/test_response.html
/usr/share/doc/python-webob/docs/test_request.html
/usr/share/doc/python-webob/docs/do-it-yourself.html
/usr/share/doc/python-webob/docs/wiki-example.html
/usr/share/doc/python-webob/docs/jsonrpc-example.html
/usr/share/doc/python-webob/docs/genindex.html
/usr/share/doc/python-webob/docs/modules
/usr/share/doc/python-webob/docs/modules/dec.html
/usr/share/doc/python-webob/docs/modules/webob.html
/usr/share/doc/python-webob/docs/test-file.html
/usr/share/doc/python-webob/docs/reference.html
/usr/share/doc/python-webob/changelog.Debian.gz
/usr/share/doc/python-paste
/usr/share/doc/python-paste/docs
/usr/lib/python2.6/dist-packages/webob/exc.py
/usr/lib/python2.6/dist-packages/webob/datetime_utils.py
/usr/lib/python2.6/dist-packages/webob/request.py
/usr/lib/python2.6/dist-packages/webob/util.py
/usr/lib/python2.6/dist-packages/webob/dec.py
/usr/lib/python2.6/dist-packages/webob/etag.py
/usr/lib/python2.6/dist-packages/webob/byterange.py
/usr/lib/python2.6/dist-packages/webob/descriptors.py
/usr/lib/python2.6/dist-packages/webob/cachecontrol.py
/usr/lib/python2.6/dist-packages/webob/headers.py
/usr/lib/python2.6/dist-packages/webob/cookies.py
/usr/lib/python2.6/dist-packages/webob/__init__.py
/usr/lib/python2.6/dist-packages/webob/response.py
/usr/lib/python2.6/dist-packages/webob/multidict.py
/usr/lib/python2.6/dist-packages/webob/acceptparse.py
/usr/lib/python2.6/dist-packages/WebOb-1.1.1.egg-info/top_level.txt
/usr/lib/python2.6/dist-packages/WebOb-1.1.1.egg-info/zip-safe
/usr/lib/python2.6/dist-packages/WebOb-1.1.1.egg-info/dependency_links.txt
/usr/lib/python2.6/dist-packages/WebOb-1.1.1.egg-info/SOURCES.txt
/usr/lib/python2.6/dist-packages/WebOb-1.1.1.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/webob/exc.py
/usr/lib/python2.7/dist-packages/webob/datetime_utils.py
/usr/lib/python2.7/dist-packages/webob/request.py
/usr/lib/python2.7/dist-packages/webob/util.py
/usr/lib/python2.7/dist-packages/webob/dec.py
/usr/lib/python2.7/dist-packages/webob/etag.py
/usr/lib/python2.7/dist-packages/webob/byterange.py
/usr/lib/python2.7/dist-packages/webob/descriptors.py
/usr/lib/python2.7/dist-packages/webob/cachecontrol.py
/usr/lib/python2.7/dist-packages/webob/headers.py
/usr/lib/python2.7/dist-packages/webob/cookies.py
/usr/lib/python2.7/dist-packages/webob/__init__.py
/usr/lib/python2.7/dist-packages/webob/response.py
/usr/lib/python2.7/dist-packages/webob/multidict.py
/usr/lib/python2.7/dist-packages/webob/acceptparse.py
/usr/lib/python2.7/dist-packages/WebOb-1.1.1.egg-info/top_level.txt
/usr/lib/python2.7/dist-packages/WebOb-1.1.1.egg-info/zip-safe
/usr/lib/python2.7/dist-packages/WebOb-1.1.1.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/WebOb-1.1.1.egg-info/SOURCES.txt
/usr/lib/python2.7/dist-packages/WebOb-1.1.1.egg-info/PKG-INFO
/usr/share/doc/python-webob/docs/_static/searchtools.js
/usr/share/doc/python-webob/docs/_static/jquery.js
/usr/share/doc/python-webob/docs/_static/sidebar.js
/usr/share/doc/python-webob/docs/_static/doctools.js
/usr/share/doc/python-webob/docs/_static/underscore.js
/usr/share/doc/python-paste/docs/webob
:~/$

Thanks for the pointer.

-- 
You received this message because you are subscribed to the Google Groups 
"mnemosyne-proj-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/50233ff5-c1f9-474a-b3a7-80ed04cfe7ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to