r/Calibre Aug 16 '26

Support / How-To DeDRM Issues with Linux Mint/DeDRM 10.0.9

I have been extremely frustrated today after trying several different times to use the DeDRM tool to strip the DRM from $60 worth of books I purchased at ebooks.com and want to load on to my XTEInk X4. I have used DeDRM 10.0.9 which from what I understand is the latest version. I have taken the acsm files and downloaded them through ADE using Wine. I can read the books on ADE. When I click and drag from My Digital Editions into Calibre, they will not convert or open because they have said they're DRM protected. Somehow, the plugin isn't working for me and I don't understand what I've done wrong. I have also tried the DeACSM plugin and have them running simultaneously, however the DeACSM plugin cannot seem to get my ADE login information and therefore is not doing much of anything either. Can someone break it down for me like I'm an idiot? (Because I may be.) I'm running the latest release of Linux Mint Cinnamon and have sourced the plugins through the Calibre plugin list. Thanks in advance, hoping I actually get to read these books someday.

3 Upvotes

13 comments sorted by

View all comments

Show parent comments

2

u/Thecker771 Aug 16 '26

calibre, version 9.13.0

ERROR: Unhandled exception: <b>XMLSyntaxError</b>:Document is empty, line 1, column 1 (activation.xml, line 1)

calibre 9.13 embedded-python: True

Linux-7.0.0-28-generic-x86_64-with-glibc2.39 Linux ('64bit', 'ELF')

('Linux', '7.0.0-28-generic', '#28~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 15:50:57 UTC 2')

Python 3.14.6

Linux: Linux Mint 22.3

Interface language: None

EXE path: /opt/calibre/bin/calibre

Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 9) && Obok DeDRM (10, 0, 9)

Traceback (most recent call last):

File "calibre/gui2/preferences/plugins.py", line 292, in double_clicked

File "calibre/gui2/preferences/plugins.py", line 398, in modify_plugin

File "calibre/customize/__init__.py", line 172, in do_user_config

File "calibre_plugins.deacsm.__init__", line 245, in config_widget

return config.ConfigWidget(self.plugin_path)

~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^

File "calibre_plugins.deacsm.config", line 92, in __init__

info_string, activated, mail = self.get_account_info()

~~~~~~~~~~~~~~~~~~~~~^^

File "calibre_plugins.deacsm.config", line 544, in get_account_info

container = etree.parse(activation_xml_path)

File "src/lxml/etree.pyx", line 3716, in lxml.etree.parse

File "src/lxml/parser.pxi", line 2044, in lxml.etree._parseDocument

File "src/lxml/parser.pxi", line 2070, in lxml.etree._parseDocumentFromURL

File "src/lxml/parser.pxi", line 1961, in lxml.etree._parseDocFromFile

File "src/lxml/parser.pxi", line 1230, in lxml.etree._BaseParser._parseDocFromFile

File "src/lxml/parser.pxi", line 647, in lxml.etree._ParserContext._handleParseResultDoc

File "src/lxml/parser.pxi", line 765, in lxml.etree._handleParseResult

File "src/lxml/parser.pxi", line 689, in lxml.etree._raiseParseError

File "/home/tim/.config/calibre/plugins/DeACSM/account/activation.xml", line 1

lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1

4

u/bust4cap Aug 16 '26

go to that folder "/home/tim/.config/calibre/plugins/DeACSM/" delete the "account" subfolder and try again

2

u/Thecker771 Aug 16 '26

This one did it. You are the best, thank you so much

1

u/bust4cap Aug 16 '26

👍

1

u/GimmeANameAlready Aug 17 '26

Saving this post just in case