-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux, obok: undefined variable causes crash #156
Comments
That looks like a good guess. I'm not sure that obok has been properly tested under Linux. |
I am running obok on linux quite regularly, without problems, but this is version maybe 3.1.8:
And there is nowhere a |
Ok, this and issue 162 are the same, and have been introduced in git commit 3e95168:
Not sure what this change should do, but removeing the elif linux_path clause should fix the problem. |
It seems to be an attempt to locate the Kobo Desktop database directory when running under Linux/Wine. I clearly introduced this when merging in fixes from a couple of versions. I'm trying to find where I got this bit from and see how best to fix it. I'm guessing that linux_path is meant to be set to the Wine prefix. |
I've checked in a version with those two lines commented out. If anyone has code that actually allows the plugin to work with Kobo Desktop under Wine, I'd be very pleased to include it. |
I had the same issue as dcbaker. Maybe it helps; here's how I got the plugin to work today: I modified obok/obok.py: the linux_path error happens in KoboLibrary's
It would probably be good to have that path in a config file later on. Then I restarted calibre I then got another error (no userkeys found) from the The if-clause for Darwin can be used for Linux as well:
Hope that helps! |
Fixed included in the DeDRM 6.5.3 release |
the linux_path variable isn't defined anywhere as far as I can see, even searching for it. I assume that it needs to point to the wine prefix to find the kobo database?
The text was updated successfully, but these errors were encountered: