What you deleted was the 1.x config files, I was talking about the 2.x
config files.
Anyway, it seems Ubuntu has packaged a 2.0 prerelease version, unfortunately.
Please upgrade to 2.1 from www.mnemosyne-proj.org
Peter
Quoting [email protected]:
Hi
Sorry for chipping in, but I have the same problem although on Ubuntu.
I upgraded from Ubuntu 12.04 (mnemosyne version 1.2.2) to Ubuntu
12.10 (mnemosyne 2.0~RC1-3).
When I run mnemosyne, I get the following output:
Uncaught exception!
Traceback (innermost last):
File "/usr/bin/mnemosyne", line 146, in <module>
debug_file=options.debug_file)
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
184, in initialise
Upgrade1(self.component_manager).run()
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/upgrades/upgrade1.py", line 36, in
run
self.upgrade_from_old_data_dir(old_data_dir)
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/upgrades/upgrade1.py", line 121, in
upgrade_from_old_data_dir
format.do_import(old_database)
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/file_formats/mnemosyne1_mem.py", line 41, in
do_import
self.create_cards_from_mnemosyne1(extra_tag_name)
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/file_formats/mnemosyne1.py", line 53, in
create_cards_from_mnemosyne1
self.create_card_from_item(item, extra_tag_name)
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/file_formats/mnemosyne1.py", line 128, in
create_card_from_item
check_for_duplicates=False, save=False)
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/controllers/default_controller.py", line 100, in
create_new_cards
assert card_type.is_fact_data_valid(fact_data)
AssertionError
When I move "config" in .mnemosyne away as per your advice, I get
this error message:
Uncaught exception!
Traceback (innermost last):
File "/usr/bin/mnemosyne", line 146, in <module>
debug_file=options.debug_file)
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
184, in initialise
Upgrade1(self.component_manager).run()
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/upgrades/upgrade1.py", line 36, in
run
self.upgrade_from_old_data_dir(old_data_dir)
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/upgrades/upgrade1.py", line 61, in
upgrade_from_old_data_dir
config_file = file(join(old_data_dir, "config"), "rb")
IOError: [Errno 2] No such file or directory:
u'/home/<user>/.mnemosyne/config'
and when I touch an empty "config" into existence, I get:
Uncaught exception!
Traceback (innermost last):
File "/usr/bin/mnemosyne", line 146, in <module>
debug_file=options.debug_file)
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/__init__.py", line
184, in initialise
Upgrade1(self.component_manager).run()
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/upgrades/upgrade1.py", line 36, in
run
self.upgrade_from_old_data_dir(old_data_dir)
File
"/usr/lib/python2.7/dist-packages/mnemosyne/libmnemosyne/upgrades/upgrade1.py", line 62, in
upgrade_from_old_data_dir
for key, value in cPickle.load(config_file).iteritems():
EOFError
Moving away config.py does not help either.
Are there any other steps I should try? I'd be glad to provide more
information to solve this.
Best regards
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msg/mnemosyne-proj-users/-/dvvGIIed5WUJ.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 https://groups.google.com/groups/opt_out.