Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Reading and Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-24-2021, 06:52 AM   #46
ReadOnLinux
Junior Member
ReadOnLinux began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2021
Device: tolino epos
The mentioned book can only be downloaded next month so I took the previous version and got the same result:
Quote:
$ ./utils/acsmdownloader -f ~/Downloads/URLLink.acsm -o x.pdf
Exception code : 0x5007
Message : Invalid zip file x.pdf
I downloaded the pdf book using ADE and did a "diff -a" between both files.
As I dont know, which private information are coded in the URLlink.acsm file I send it via a PM as well as the diff information.

The libgourou version I use is:
Quote:
$ egrep "VERSION.*[0-9.]+.*" include/*.h
include/libgourou.h:#define HOBBES_DEFAULT_VERSION "10.0.4"
include/libgourou.h:#define LIBGOUROU_VERSION "0.4.2"
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
$ uname -r
5.4.0-90-generic
ReadOnLinux is offline   Reply With Quote
Old 11-27-2021, 05:35 AM   #47
soutade
Member
soutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfolded
 
Posts: 18
Karma: 52700
Join Date: Jul 2021
Location: France
Device: Cybook Odyssey
Fixed in v0.4.3. Thanks for your report
soutade is offline   Reply With Quote
Old 12-03-2021, 09:02 PM   #48
edent
Enthusiast
edent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
edent's Avatar
 
Posts: 48
Karma: 12654
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
Here's one which doesn't work. https://archive.org/details/informationwarfa00denn
I logged in to the Internet Archive, borrowed the book for 14 days, ran acsmdownloader v0.4.4

The process took ages and didn't show any errors, when I tried to open the PDF, my reader asked me for a password.

The problem seems to occur with any PDF from https://archive.org/details/books?and[]=year%3A%222015%22&and[]=lending___status%3A%22available_to_borrow%22 - although the ePubs work fine.

Thanks for the incredibly helpful tool!
edent is offline   Reply With Quote
Old 12-04-2021, 06:12 AM   #49
ReadOnLinux
Junior Member
ReadOnLinux began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2021
Device: tolino epos
If you download with acsmdownloader the pdf is DRM encrypted. If you try to open this file with a pdf-reader you will be asked for a password.
Have you tried to open the downloaded pdf file with a Adobe-DRM enabled pdf-Reader?
ReadOnLinux is offline   Reply With Quote
Old 12-06-2021, 01:15 PM   #50
edent
Enthusiast
edent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameteredent can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
edent's Avatar
 
Posts: 48
Karma: 12654
Join Date: Dec 2009
Location: UK
Device: Likebook Ares, Kindle 3G, Nook STR, 511eb
Quote:
Originally Posted by ReadOnLinux View Post
If you download with acsmdownloader the pdf is DRM encrypted. If you try to open this file with a pdf-reader you will be asked for a password.
Have you tried to open the downloaded pdf file with a Adobe-DRM enabled pdf-Reader?
I couldn't find a DRM enabled reader for Linux. I tried on my ebook and Android - and they both showed an error.
Are you able to download PDFs from the Internet Archive?
edent is offline   Reply With Quote
Old 12-07-2021, 09:01 AM   #51
ReadOnLinux
Junior Member
ReadOnLinux began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2021
Device: tolino epos
Sorry, I have a Tolino epos SW-Version 15.2.0 that has been registered to Adobe DRM. As I normally use this tablet offline, I copy the downloaded pdf file into directory "Books", when the Tolino is connected via USB to my Linux Notebook. After disconnecting the USB port, the Tolino finds the new loaded books and the pdf file can be read.

I did not made an intensive google search for DRM enabled PDF readers on Linux. But I know that there is the possibility to run Adobe ADE (a Windows Program) under Linux using wine. I've heard about the possibility to use Calibre but have no experience/knowledge about that.
ReadOnLinux is offline   Reply With Quote
Old 12-20-2021, 03:46 AM   #52
soutade
Member
soutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfolded
 
Posts: 18
Karma: 52700
Join Date: Jul 2021
Location: France
Device: Cybook Odyssey
Hello all,

I released a new version (v0.5) that (mainly) supports anonymous accounts and add a DRM removal utility. Hope you'll enjoy it ! All is available at http://indefero.soutade.fr/p/libgourou/
soutade is offline   Reply With Quote
Old 12-20-2021, 04:40 PM   #53
Leseratte_10
Connoisseur
Leseratte_10 can read ebooks with the screen turned offLeseratte_10 can read ebooks with the screen turned offLeseratte_10 can read ebooks with the screen turned offLeseratte_10 can read ebooks with the screen turned offLeseratte_10 can read ebooks with the screen turned offLeseratte_10 can read ebooks with the screen turned offLeseratte_10 can read ebooks with the screen turned offLeseratte_10 can read ebooks with the screen turned offLeseratte_10 can read ebooks with the screen turned offLeseratte_10 can read ebooks with the screen turned offLeseratte_10 can read ebooks with the screen turned off
 
Posts: 67
Karma: 97166
Join Date: Sep 2021
Device: Pocketbook InkPad 3 Pro
I haven't tested it yet, but looking at the code this seems to have the same bug as https://github.com/apprenticeharper/...ls/issues/1828 :

When parsing the encryption.xml, you need to manually check for each entry if that's related to AdobeDRM or if that's something else (like font data). And after decryption, you should only delete the AdobeDRM entries from the encryption.xml, and only delete the whole file from the EPUB if it's empty (no other entries that aren't DRM).

Otherwise this breaks embedded obfuscated fonts (which are also included in the encryption.xml).
Leseratte_10 is offline   Reply With Quote
Old 12-21-2021, 03:55 AM   #54
soutade
Member
soutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfolded
 
Posts: 18
Karma: 52700
Join Date: Jul 2021
Location: France
Device: Cybook Odyssey
Thanks Leseratte. I was not aware about that kind of encryption. I'll update my code to check encryption algorithm value.
soutade is offline   Reply With Quote
Old 12-30-2021, 04:23 PM   #55
ben4ever
Junior Member
ben4ever began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2019
Device: Kobo H2O
Quote:
Originally Posted by soutade View Post
add a DRM removal utility
It seems that the adept_remove utility is not included in the downloadable archive. Could you please add it?
ben4ever is offline   Reply With Quote
Old 01-04-2022, 03:30 PM   #56
soutade
Member
soutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfoldedsoutade reads XML... blindfolded
 
Posts: 18
Karma: 52700
Join Date: Jul 2021
Location: France
Device: Cybook Odyssey
Oups... Fixed in v0.5.1.
soutade is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Users: Is Wine + ADE/K4PC still working for you? latepaul Amazon Kindle 7 10-04-2021 01:45 PM
PRS-500 PRS 500 (updated) + ADE + Linux brontus Sony Reader 6 08-11-2011 01:33 AM
ADE in linux w/ WINE - sucess recogonizing device thersites PocketBook 2 05-26-2011 12:47 AM
ADE under Linux (Wine), PB360 not recognized rogue_librarian PocketBook 2 12-02-2010 07:12 PM
Calibre on Linux, ADE on Windows/WINE - how do I manage? Beetle B. Calibre 4 11-28-2010 04:35 PM


All times are GMT -4. The time now is 08:27 PM.


MobileRead.com is a privately owned, operated and funded community.