Quote:
Originally Posted by Sunlite
There are both files: device_drivers_KOBOTOUCHEXTENDED.py.json and device_drivers_KOBOTOUCHEXTENDED.py.
I attached the json and the py file zipped up to this post.
Deleting the line with "file_copy_dir" did not change anything.
The file device_drivers_KOBOTOUCHEXTENDED.py does not contain the string 'lang', so I could not remove that.
I started Calibre after deleting the json file and the file was recreated with the same content again. The issue was still there.
The I removed both files and after restarting Calibre I was able to reach the preferences for the plugin, but as you said all preferences were gone.
|
Looking at the contents of "device_drivers_KOBOTOUCHEXTENDED.py", it has been a
very long time since you changed the configuration of the driver. The version of the file I was looking at was relatively recent. It looks like the config migration code I wrote a long time ago still has problems. I think we are going to have to go with deleting these files and recreating the configuration when the "file_copy_dir" problem is seen.
For the error saving the configuration, I have attached a version of the plugin that catches this error and saves the configuration properly.