Hi,

Did you use any command line arguments to start Mnemosyne?

Did you move any directories around? Normally, Mnemosyne uses ~/.mnemosyne and 
~/.config/mnemosyne.
However, environment variables could affect this. This is the revelant code:

            home = os.path.expanduser("~")
            if "XDG_DATA_HOME" in os.environ:
                self.data_dir = os.environ["XDG_DATA_HOME"]
            else:
                self.data_dir = join(home, ".local", "share")
            self.data_dir = join(self.data_dir, "mnemosyne")
            if "XDG_CONFIG_HOME" in os.environ:
                self.config_dir = os.environ["XDG_CONFIG_HOME"]
            else:
                self.config_dir = join(home, ".config")
            self.config_dir = join(self.config_dir, "mnemosyne")

Cheers,

Peter

From: [email protected] 
[mailto:[email protected]] On Behalf Of Darío Nicolás 
Scattolini
Sent: 07 February 2017 08:25
To: mnemosyne-proj-users <[email protected]>
Subject: [mnemosyne-proj-users] Re: Mnemosyne 2.4.1 released

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
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.4.1', 'mnemosyne')
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 
738, in run_script
    self.require(requires)[0].run_script(script_name, ns)
  File "/usr/local/lib/python3.6/site-packages/pkg_resources/__init__.py", line 
1506, in run_script
    exec(script_code, namespace, namespace)
  File 
"/usr/local/lib/python3.6/site-packages/Mnemosyne-2.4.1-py3.6.egg/EGG-INFO/scripts/mnemosyne",
 line 247, in <module>
  File 
"/usr/local/lib/python3.6/site-packages/Mnemosyne-2.4.1-py3.6.egg/mnemosyne/libmnemosyne/__init__.py",
 line 226, in initialise
    raise e
  File 
"/usr/local/lib/python3.6/site-packages/Mnemosyne-2.4.1-py3.6.egg/mnemosyne/libmnemosyne/__init__.py",
 line 217, in initialise
    self.log().started_program()
  File 
"/usr/local/lib/python3.6/site-packages/Mnemosyne-2.4.1-py3.6.egg/mnemosyne/libmnemosyne/loggers/database_logger.py",
 line 26, in started_program
    self.database().log_started_program(self.timestamp, version_string)
  File 
"/usr/local/lib/python3.6/site-packages/Mnemosyne-2.4.1-py3.6.egg/mnemosyne/libmnemosyne/databases/SQLite_logging.py",
 line 30, in log_started_program
    self.con.execute(\
  File 
"/usr/local/lib/python3.6/site-packages/Mnemosyne-2.4.1-py3.6.egg/mnemosyne/libmnemosyne/databases/SQLite.py",
 line 256, in con
    self._connection = _Sqlite3(self.component_manager, self._path)
  File 
"/usr/local/lib/python3.6/site-packages/Mnemosyne-2.4.1-py3.6.egg/mnemosyne/libmnemosyne/databases/_sqlite3.py",
 line 53, in __init__
    self.connection = sqlite3.connect(path)
 TypeError: argument 1 must be str, not None
--
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]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/3ec90774-e6ae-4762-b20c-27985d25e2be%40googlegroups.com<https://groups.google.com/d/msgid/mnemosyne-proj-users/3ec90774-e6ae-4762-b20c-27985d25e2be%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
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/a6e8d7dec67f494c9f9665c80fb0de4f%40xmail102.UGent.be.
For more options, visit https://groups.google.com/d/optout.

Reply via email to