Comments (17)
The bug in Calibre has now been fixed with kovidgoyal/calibre@ad34b0e and I confirmed that both EPUB files now display the apostrophe correctly with that version. The bugfix will be included in the next Calibre update which I assume will happen in two weeks. I'm going to close this issue for now.
Thanks to @p1nkyy and @mwsundberg for providing test files and logs.
from acsm-calibre-plugin.
Does this happen with all books that have an apostrophe in their name, or only with some?
My first guess would be that that's an issue with the book shop / whoever generates the ACSM file or the ebook. Can you post a debug log of an attempt that creates such a file?
from acsm-calibre-plugin.
Only some and very random and only started recently (September).
OK, will try to send one if I encounter this again.
from acsm-calibre-plugin.
Hi, finally it has happened again and here's the log for you. Hope it's useful!
from acsm-calibre-plugin.
Can you re-do that log with the verbose log setting enabled if you still have the ACSM file?
Do you happen to have an install of ADE with the same AdobeID to check if the same error occurs when downloading with ADE?
from acsm-calibre-plugin.
Sorry for being silly but how do I enable the verbose log?
No I have long uninstalled ADE because it's practically unusable. Should I send you this acsm so you can process it? (Clean re-borrowed ACSM that I haven't processed so it won't say already fulfilled)
from acsm-calibre-plugin.
Sorry for being silly but how do I enable the verbose log?
Open Calibre, then click "Preferences" -> "Restart in debug mode". Then Calibre will restart, then perform the action that causes the error (probably adding the ACSM file), then close Calibre. A text file should then be opened with some more verbose logs.
from acsm-calibre-plugin.
That was what I did with the log above. If just opening & closing it again then here it is.
from acsm-calibre-plugin.
That's just the "normal" log. You can go into the plugin settings in Calibre and check the "Enable verbose debug logging" box and then do the same steps again.
from acsm-calibre-plugin.
Is it here? If yes, don't see any option to enable verbose debug logging
from acsm-calibre-plugin.
I have the same issue and can send you an example file, the key/config used for the DeACSM plugin, and a verbose debug log. I'd prefer to share those elsewhere and not publicly upload the files, may I email you?
It's also not reading the metadata, yet I don't know if it's an issue with my library's files or the plugin/Calibre.
I'm using deACSM v0.0.16 downloaded from the Releases tab, DeDRM 10.0.3 from noDRM's fork, and Calibre 6.7 on Windows 10. For the ADE account I'm using an auto-generated anonymous one.
from acsm-calibre-plugin.
Yeah, I would like to corresponds via e-mail instead for some of these questions but he was hesitant to share his e-mail, hopefully he'll let us know soon. With yours @mwsundberg is it all titles that has apostrophe converted into unicode or just randomly like mine?
from acsm-calibre-plugin.
I don't really like publicly sharing my main email (hello bot spam!) so here's a dedicated one for this issue that I can delete again once the issue is solved:
<e-mail deleted, issue is solved>
You can send verbose log files (or even whole authorizations and/or ACSM files if you're comfortable with that) to this address and I'll take a look.
from acsm-calibre-plugin.
Thanks for your email @mwsundberg , to me this issue looks like it's a bug either in Calibre (more likely) or in the book itself (less likely), not in my plugin. I took the book EPUB file that comes straight from the yourcloudlibrary.com server before it was processed by my plugin, removed all the actual content and data (so it's legal to share now) and just kept title and author as-is.
When I import that book into Calibre I get the same weird book title as you - I attached it here for reference.
ef3a1633-95ce-4752-9c45-6c6905ac178c.epub.zip
Probably because the title uses one of these weird, non-ASCII, Unicode apostrophes - ’
instead of the normal one '
. Though, I'm surprised Calibre doesn't like these. I've ran the resulting EPUB through a validation tool and it didn't complain about the book name. Other EPUB reading tools also display the book title correctly.
I have opened a Calibre bug report regarding this issue; that bug is not something that I can fix in my plugin. You can verify that by checking that EPUB I linked with other readers (correct title) and importing it into Calibre (wrong title).
Is it here? If yes, don't see any option to enable verbose debug logging
Also, in case someone has the same question and finds this issue in the future: The verbose log setting is not a global Calibre setting, it's a setting specifically for this plugin, so it'll be under Preferences -> Plugins -> File type -> ACSM Input / DeACSM -> Customize plugin -> Enable verbose debug logging.
from acsm-calibre-plugin.
Cool, thanks for the quick follow-up and debugging a problem that ultimately had nothing to do with your plugin.
from acsm-calibre-plugin.
Wow after waiting for quite some time and it's resolved finally haha. OK I don't need to send in my ACSM then. Thanks for the answers @Leseratte10 and thanks for your input @mwsundberg
from acsm-calibre-plugin.
@p1nkyy I checked your email / ACSM as well and it seems to be the exact same issue with the unicode apostrophe, so once that Calibre bug is fixed the issue should be gone.
from acsm-calibre-plugin.
Related Issues (20)
- TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' HOT 3
- Processing an ACSM file added via a plugin HOT 5
- ACSM file not converting to ePub
- ACSM Not Converted HOT 3
- [Suggestion] Add job queue in the bottom of Calibre HOT 1
- Calibre crash upon linking ADE account HOT 5
- Plugin cannot install/initialize due to `OSError: dlopen(libcrypto.dylib)` HOT 3
- [Suggestion] Calibre main window can be accessed when plugin is opened HOT 2
- Installation failed: Invalid plugin HOT 4
- Exception when installing plugin in Flatpak Calibre HOT 3
- The library libcrypto could not be found HOT 18
- Configuration via CLI possible? HOT 1
- ACSM won't process HOT 2
- ModuleNotFoundError: No module named 'libadobe' HOT 10
- ERROR: Unhandled exception: <b>InvalidPlugin</b> HOT 1
- Deauthorize HOT 1
- Handle Connection Errors HOT 1
- [question] How to import an acsm file? HOT 3
- DeACSM fails with exception "Running file type plugin failed" HOT 2
- Error installing ACSM Input plugin (AttributeError: module 'calibre_plugins.deacsm.prefs' has no attribute 'DeACSM_Prefs') HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acsm-calibre-plugin.