View Single Post
Old 05-21-2025, 08:56 AM   #577
chrisjonty
Junior Member
chrisjonty began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2024
Device: Kobo Clara BW
Hey all, I am getting the below error when trying to customize the plugin. The activation.xml file is indeed empty but I'm not sure, if anything, what I should be putting in there. There's a fair chance I'm doing something stupid but any help would be much appreciated.

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

calibre 8.4 embedded-python: True
Linux-6.14.5-300.fc42.x86_64-x86_64-with-glibc2.41 Linux ('64bit', 'ELF')
('Linux', '6.14.5-300.fc42.x86_64', '#1 SMP PREEMPT_DYNAMIC Fri May 2 14:16:46 UTC 2025')
Python 3.11.12
Interface language: None
EXE path: /opt/calibre/bin/calibre
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 9) && Kobo Utilities (2, 17, 2)
Traceback (most recent call last):
File "calibre/gui2/preferences/plugins.py", line 298, in customize_plugin
File "calibre/gui2/preferences/plugins.py", line 375, in modify_plugin
File "calibre/customize/__init__.py", line 160, 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 3570, in lxml.etree.parse
File "src/lxml/parser.pxi", line 1952, in lxml.etree._parseDocument
File "src/lxml/parser.pxi", line 1978, in lxml.etree._parseDocumentFromURL
File "src/lxml/parser.pxi", line 1881, in lxml.etree._parseDocFromFile
File "src/lxml/parser.pxi", line 1200, in lxml.etree._BaseParser._parseDocFromFile
File "src/lxml/parser.pxi", line 633, in lxml.etree._ParserContext._handleParseResultDoc
File "src/lxml/parser.pxi", line 743, in lxml.etree._handleParseResult
File "src/lxml/parser.pxi", line 672, in lxml.etree._raiseParseError
File "/home/user/.config/calibre/plugins/DeACSM/account/activation.xml", line 1
lxml.etree.XMLSyntaxError: Document is empty, line 1, column 1
chrisjonty is offline   Reply With Quote