![]() |
#736 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
![]() |
![]() |
#737 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 1852838
Join Date: Jul 2007
Location: Russia
Device: Kobo Aura H₂O & iPad Pro 2020 12.9"
|
Not sure what you mean by this. I even cleaned up the app data and re-created everything from scratch, Kobo Desktop 4.0 creates the same DB as after migrating from 3.19. DbVersion is the same, the structure is mostly the same as it was since 3.17. Same content_keys, same master key generation function.
|
![]() |
Advert | |
|
![]() |
#738 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I changed all the KoboTouch driver and other plugins to use apsw as this uses a later SQLite library and is what calibre uses for all of it's own database access. After making the appropriate changes to Obok, the books could be seen, but the DRM could not be removed. It could for a 3.19 database on one of my devices. I can't check right now, are you sure it is the same DbVersion as 3.19? From memory, 3.19 would have been 126 or 127. 4.0 should be 129. That is what the devices use, and the desktop application is usually the same. I'll check when I get home, but there is something strange here. What OS are you using? Edit: Just looked, the version of the desktop application is 4.0.5579. The database has DbVersion of 129. And I still have 3.19 on another machine. That has DbVersion of 125. Last edited by davidfor; 09-23-2016 at 07:20 AM. |
|
![]() |
![]() |
#739 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 61
Karma: 1852838
Join Date: Jul 2007
Location: Russia
Device: Kobo Aura H₂O & iPad Pro 2020 12.9"
|
Ah, I saw that, and I use very old SQLite version too, so I didn't think that was a problem. But that doesn't relate to anything but Obok.
Quote:
Windows. |
|
![]() |
![]() |
#740 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
But, I've just worked out what I've done wrong and the only thing I can say is ![]() ![]() ![]() ![]() ![]() ![]() |
|
![]() |
Advert | |
|
![]() |
#741 |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 73,963
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
|
|
![]() |
![]() |
#742 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,635
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
|
![]() |
![]() |
#743 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 13132
Join Date: Jul 2015
Location: Spain
Device: Glo; Glo HD; PW2; Voyage
|
Quote:
I bought a book from Kobo and the Obok tool raised the error regarding the uncompatible or encrypted database. I tried to modify OBOK.PY file by changing 'sqlite3' by 'apsw' and 'fetchone' by 'next', but know the plugin complains about the database not containing valid keys...may I need more changes to use APSW? (I asume the keys are there, but the use os 'apsw' makes the script fail, maybe because the returned data when using 'apsw' is not the same as 'sqlite3'). Yes, I know I can install and use ADE, but I would prefer to have the obok plugin fixed. I would appreciate some guidance on what changes between 'sqlite3' and 'apsw' besides 'next' instead of 'fetchone', and 'Connection' instead of 'connect'. Thank you! |
|
![]() |
![]() |
#744 | |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
Thanks. |
|
![]() |
![]() |
#745 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 13132
Join Date: Jul 2015
Location: Spain
Device: Glo; Glo HD; PW2; Voyage
|
OK, I was asking how to fix a script, not how to remove DRM, but I'll avoid asking again.
Sorry for this. |
![]() |
![]() |
#746 |
Treachery of images ...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,122
Karma: 93720365
Join Date: May 2012
Location: Australia
Device: Sony 650, Kobo Glo, H2O, Aura One, Forma, Libra 2, Libra Colour
|
Cex, a fix has been devised. We've asked apprentice harper to post it. Keep an eye out on his github site.
![]() |
![]() |
![]() |
#747 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 13132
Join Date: Jul 2015
Location: Spain
Device: Glo; Glo HD; PW2; Voyage
|
|
![]() |
![]() |
#748 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
No apologies needed!
|
![]() |
![]() |
#749 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
- cursor.commit becomes cursor.execute("commit"). But removed all these as there were no actual transactions. - If there is only one column in a select statement, the result will be a value rather than an array. Last edited by davidfor; 10-06-2016 at 06:33 AM. Reason: Spelling. |
|
![]() |
![]() |
#750 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29
Karma: 13132
Join Date: Jul 2015
Location: Spain
Device: Glo; Glo HD; PW2; Voyage
|
Quote:
Thank you so much! |
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
DeDRM failure to remove DRM from a rented book? | Aquinax | Plugins | 2 | 03-24-2017 02:38 PM |
DeDRM Tools - confused | ChipAHoy | Reading and Management | 3 | 10-08-2016 01:16 AM |
Need DeDRM Tool to Remove Foreign Ebook DRM | CrossReach | Plugins | 2 | 08-04-2016 06:04 PM |
Shadow version of Calibre GUI with deDRM capabilities? | daviddem | Calibre | 40 | 11-07-2009 08:03 AM |