Leseratte10 / acsm-calibre-plugin

Calibre plugin for ACSM->EPUB and ACSM->PDF conversion.
https://www.mobileread.com/forums/showthread.php?t=341975
GNU General Public License v3.0
593 stars 23 forks source link

[question] How to import an acsm file? #77

Open IceflowRE opened 5 months ago

IceflowRE commented 5 months ago

I installed the plugin and connected to ADE. And then? I drop an acsm file into calibre but have an item with format acsm.

Did i miss something?

Leseratte10 commented 5 months ago

No, you didn't miss anything. Once you have the plugin authorized (= the settings screen shows "Authorized with ADE ID ...") you just drop the file into Calibre.

If it still imports as ACSM there was an error during import. Right-click the Preferences icon then choose "Restart in debug mode". Calibre will restart, then try to add your ACSM file again, then close Calibre. A log file window will open.

Check if you can make sense of any of the error messages in that log; if not, post them here and I'll take a look.

estevaz12 commented 2 months ago

I'm also encountering the same issue. Here is my debug log:

ApplicationPaletteChange event ignored
Using calibre Qt style: True
ApplicationPaletteChange event received
calibre Debug log
calibre 7.8  embedded-python: True
Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22631')
Python 3.11.5
Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: D:\Program Files\Calibre\calibre-debug.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3)
calibre 7.8  embedded-python: True
Windows-10-10.0.22631-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22631')
Python 3.11.5
Windows: ('10', '10.0.22631', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: D:\Program Files\Calibre\calibre-debug.exe
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3)
QPA platform: windows
devicePixelRatio: 1.25
logicalDpi: 96.0 x 96.0
physicalDpi: 92.36363636363636 x 92.36363636363636
[0.00] Starting up...
[0.00] Showing splash screen...
[0.16] splash screen shown
[0.16] Initializing db...
[0.22] db initialized
[0.22] Constructing main UI...
[0.53] GUI main window shown
[0.61] main UI initialized...
[0.61] Hiding splash screen
[10.62] splash screen hidden
[10.62] Started up in 10.62 seconds with 1 books
DeACSM v0.0.16: Trying to parse file Elimina_la_prisa_de_tu_vida-epub.acsm
DeACSM v0.0.16: Try to fulfill ...
DeACSM v0.0.16: Hey, that didn't work: 
Looks like there's been an error during Fulfillment: <error xmlns="http://ns.adobe.com/adept" data="E_ADEPT_REQUEST_EXPIRED http://books.google.com/books/acs4/fulfillment/Fulfill 2024-04-08T06:44:56-07:00%20(1712583896000)%20is%20before%202024-04-09T06:27:21-07:00%20(1712669241963)"/>
Leseratte10 commented 2 months ago

Take a look at the error message at the end:

E_ADEPT_REQUEST_EXPIRED http://books.google.com/books/acs4/fulfillment/Fulfill 2024-04-08T06:44:56-07:00 is before 2024-04-09T06:27:21-07:00.

The file is no longer valid and you need to re-download it.