My guess is that you don't have the dependencies to compile the ui files. Look at the beginning of the output you get after make. It should read something like this:
cd mnemosyne/pyqt_ui && make make[1]: Entering directory `/home/pbienst/m/mnemosyne-proj/mnemosyne/ mnemosyne/pyqt_ui' pyuic4 main_window.ui > ui_main_window.py pyuic4 add_cards_dlg.ui > ui_add_cards_dlg.py pyuic4 review_wdgt.ui > ui_review_wdgt.py pyuic4 preview_cards_dlg.ui > ui_preview_cards_dlg.py pyuic4 edit_fact_dlg.ui > ui_edit_fact_dlg.py pyuic4 convert_card_type_fields_dlg.ui > ui_convert_card_type_fields_dlg.py pyuic4 card_appearance_dlg.ui > ui_card_appearance_dlg.py On Dec 12, 5:12 am, don <[email protected]> wrote: > I wanted to use the 2.0 code, so I got a branch and (I think) > installed the prerequisites. "make setup" seemed to go OK. But when > I tried "make" I got the following error: > > ./bin/mnemosyne -d dot_mnemosyne2 > Traceback (most recent call last): > File "./bin/mnemosyne", line 7, in <module> > execfile(__file__) > File "/home/dmclane/mnemosyne-proj/mnemosyne/mnemosyne/pyqt_ui/ > mnemosyne", line 117, in <module> > mnemosyne.initialise(basedir=basedir, filename=filename) > File "/home/dmclane/mnemosyne-proj/mnemosyne/mnemosyne/libmnemosyne/ > __init__.py", line 95, in initialise > self.register_components() > File "/home/dmclane/mnemosyne-proj/mnemosyne/mnemosyne/libmnemosyne/ > __init__.py", line 129, in register_components > exec("from %s import %s" % (module_name, class_name)) > File "<string>", line 1, in <module> > File "/home/dmclane/mnemosyne-proj/mnemosyne/mnemosyne/pyqt_ui/ > main_window.py", line 8, in <module> > from mnemosyne.pyqt_ui.ui_main_window import Ui_MainWindow > ImportError: cannot import name Ui_MainWindow > make: *** [install-and-run-virtual-env] Error 1 > > Any suggestions? > > I'm using Ubuntu 9.10. > > Thanks, > Don -- You received this message because you are subscribed to the Google Groups "mnemosyne-proj-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/mnemosyne-proj-users?hl=en.
