On linux, the default config.db that is used when you just type "Mnemosyne" 
should be under ~/.config/mnemosyne/. It is there that the last saved 
database is encoded.

If you get 'permission denied' when using the -d option, that seems to 
suggest you don't have permission to create new files in that location.

Also make sure you are using the latest Mnemosyne version.

Cheers,

Peter

On Monday, 25 November 2019 20:34:46 UTC+1, [email protected] wrote:
>
> Hi Peter:
>
> I can't delete the config.db because I don't have the drive with the 
> original db on it. I have ran mnemosyne with -d option, with my 
> newdatabase. This gives me a config.db, but deleting it does nothing. 
> Here's the error that I got:
>
> Traceback (innermost last):
>
> File "/usr/bin/mnemosyne", line 262, in <module>
>
> debug_file=options.debug_file)
>
> File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
> line 227, in initialise
>
> raise e
>
> File "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/__init__.py", 
> line 218, in initialise
>
> self.log().started_program()
>
> File 
> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/loggers/database_logger.py",
>  
> line 26, in started_program
>
> self.database().log_started_program(self.timestamp, version_string)
>
> File 
> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/databases/SQLite_logging.py",
>  
> line 32, in log_started_program
>
> (EventTypes.STARTED_PROGRAM, int(timestamp), version_string))
>
> File 
> "/usr/lib/python3/dist-packages/mnemosyne/libmnemosyne/databases/_sqlite3.py",
>  
> line 72, in execute
>
> self._cursor = self.connection.execute(sql, *args)
>
> sqlite3.OperationalError: attempt to write a readonly database
>
>
> Thank you.
> On Sunday, 24 November 2019 22:29:53 UTC, [email protected] wrote:
>>
>> I was messing around with Mnemosyne, and now it opens a dB in a folder on 
>> a USB that I no longer have, so Mnemosyne looks for that folder, and gives 
>> me errors when picking another DB. Luckily, I have a back up of my db on my 
>> main disk, so I can use the -d feature to open that specific folder, and 
>> all my cards are restored. This is a minor hassle, so is there a way to fix 
>> this and get it to work again? I've tried deleting Mnemosyne and 
>> reinstalling it. 
>
>
> Student Account 
> Calday Grange Grammar School is a charitable company limited by guarantee 
> and registered in England and Wales with company number 8332696.
> The Registered Office is at Grammar School Lane, West Kirby, Wirral, CH48 
> 8GG

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/mnemosyne-proj-users/84d32af0-4ce1-4218-adee-e8c997e5b067%40googlegroups.com.

Reply via email to