Downloaded Date error on Mac 10.6.8

45 views
Skip to first unread message

RickM

unread,
Jun 28, 2012, 8:35:42 AM6/28/12
to mnemosyne-...@googlegroups.com

Macbook Intel Core 2 Duo running 10.6.8


I built Mnemosyne per the Unix instructions.  Immediately upon double-clicking on the mnemosyne script to run it, I get:


Uncaught exception!

Traceback (innermost last):

File "/Users/Rick/Downloads/Mnemosyne-2.0_orig/build/scripts-2.7/mnemosyne", line 146, in <module>

debug_file=options.debug_file)

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Mnemosyne-2.0-py2.7.egg/mnemosyne/libmnemosyne/__init__.py", line 146, in initialise

self.register_components()

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Mnemosyne-2.0-py2.7.egg/mnemosyne/libmnemosyne/__init__.py", line 199, in register_components

exec("from %s import %s" % (module_name, class_name))

File "<string>", line 1, in <module>

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Mnemosyne-2.0-py2.7.egg/mnemosyne/pyqt_ui/qt_sync_server.py", line 16, in <module>

from mnemosyne.libmnemosyne.sync_server import SyncServer

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Mnemosyne-2.0-py2.7.egg/mnemosyne/libmnemosyne/sync_server.py", line 8, in <module>

from openSM2sync.server import Server

File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/Mnemosyne-2.0-py2.7.egg/openSM2sync/server.py", line 17, in <module>

from cherrypy import wsgiserver

ImportError: No module named cherrypy


I also downloaded and tried the installer from http://www.mnemosyne-proj.org/download-mnemosyne.php

(on that page it says it's just for 10.7, but Patrick Kenny's post says its for 10.6 and 10.7)

This is much easier than building from scratch, but I get a different error immediately on double-clicking the icon:


Uncaught exception!

Traceback (innermost last):

File "/Applications/Mnemosyne.app/Contents/Resources/__boot__.py", line 309, in <module>

File "/Applications/Mnemosyne.app/Contents/Resources/__boot__.py", line 306, in _run

File "/Applications/Mnemosyne.app/Contents/Resources/Mnemosyne.py", line 146, in <module>

File "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/__init__.py", line 146, in initialise

File "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/libmnemosyne/__init__.py", line 199, in register_components

File "<string>", line 1, in <module>

File "/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/mnemosyne/pyqt_ui/review_wdgt.py", line 5, in <module>

File "PyQt4/QtWebKit.pyc", line 18, in <module>

File "PyQt4/QtWebKit.pyc", line 11, in __load

ImportError: dlopen(/Applications/Mnemosyne.app/Contents/Resources/lib/python2.7/lib-dynload/PyQt4/QtWebKit.so, 2): Symbol not found: _kMDItemDownloadedDate

Referenced from: /Applications/Mnemosyne.app/Contents/MacOS/../Frameworks/libQtWebKit.4.dylib

Expected in: /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices

in /Applications/Mnemosyne.app/Contents/MacOS/../Frameworks/libQtWebKit.4.dylib


I then get a "Mnemosyne error" window with "Open Console" or "Terminate". It's unresponsive to either choice, but Force Quit terminates the process.


A fix to the error that occurs with the installer version would be more helpful, as that route is MUCH easier than the unix build.


I'd appreciate any ideas....thanks, Rick

Patrick Kenny

unread,
Jun 28, 2012, 9:09:27 PM6/28/12
to mnemosyne-...@googlegroups.com
Greetings,

The Mac installer is currently incompatible with 10.6.  I built the installer on 10.7 and, although I thought it would be compatibile with 10.6 out of the box, it was not.  Eventually I will try to make a Snow Leopard installer but since I will have to install Snow Leopard to do so that is going to take some time.

In the meantime, you may be able to fix the cherrypy error by using make install system as described here:


Cheers,
Patrick

Patrick Kenny

unread,
Jun 29, 2012, 12:45:38 AM6/29/12
to mnemosyne-...@googlegroups.com
I just confirmed that the cherrypy in Macports is still bugged.  You can also install it like this:

sudo /opt/local/bin/easy_install-2.7 cherrypy


Cheers,

Patrick

RickM

unread,
Jun 29, 2012, 11:20:08 PM6/29/12
to mnemosyne-...@googlegroups.com
Patrick,

Thanks!

The cherrypy fix you suggested did the trick! 
Reply all
Reply to author
Forward
0 new messages