mnemosyne chrashed when tried to start

Bug #1850839 reported by alexander inzinger-zrock
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mnemosyne (Ubuntu)
New
Undecided
Unassigned

Bug Description

Traceback (innermost last):
  File "/usr/bin/mnemosyne", line 229, in <module>
    debug_file=options.debug_file)
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", line 190, in initialise
    Upgrade3(self.component_manager).run()
  File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/upgrades/upgrade3.py", line 21, in run
    file(os.path.join(self.config().config_dir, "config"), "rb")
 NameError: name 'file' is not defined

Revision history for this message
Peter Bienstman (peter-bienstman) wrote :

Which version are you using? I think this should be fixed in the latest Mnemosyne release which you can download from Mnemosyne's website.

Revision history for this message
alexander inzinger-zrock (aiz) wrote :

Mnemosyne-2.6.1, downloaded from https://mnemosyne-proj.org/download-mnemosyne.php

rechecked all dependecies in the README:
3.6.8- Python (http://www.python.org) 3.5 or later
5.10. - PyQt (https://www.riverbankcomputing.com/software/pyqt/download5) 5.6 or
  later, including QtWebEngineWidgets.
2.1.1 - Matplotlib (http://matplotlib.org)
8.2.1 - cheroot (https://pypi.python.org/pypi/Cheroot/) 5 or later
1:1.7.3-2fakesync1- Webob (http://webob.org) 1.4 or later
5.1.0 - Pillow (http://python-pillow.org)

System:
Ubuntu 18.04.3 LTS Bionic Beaver
64bit-System

tryied to re-install, got following:

  File "setup.py", line 22
    "Changes to this script", file=ofi)
                                  ^
SyntaxError: invalid syntax

Revision history for this message
Peter Bienstman (peter-bienstman) wrote :

This is fixed in the 2.7 series. Either download the latest version from github, or manually remove references to Upgrade3 in /usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.