Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 10-03-2020, 08:09 AM   #1
Michaeljohn
Junior Member
Michaeljohn began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2020
Device: Kindle 3
de DRM and Python

I am a computer ignoramus. My problem: I upgrade Calibre to 5.1.0 and lost the deDRM plugin as a result. When I try to reinstall the deDRM I get the following:

calibre, version 5.1.0
ERROR: Unhandled exception: <b>SyntaxError</b>:invalid syntax (calibre_plugins.dedrm.__init__, line 168)

calibre 5.1 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.18362-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.18362')
Python 3.8.5
Windows: ('10', '10.0.18362', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 33, 0) && Package KFX (from KFX Input) (1, 33, 0) && KFX metadata reader (from KFX Input) (1, 33, 0) && KFX Input (1, 33, 0)
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 317, in add_plugin
File "site-packages\calibre\customize\ui.py", line 472, in add_plugin
File "site-packages\calibre\customize\ui.py", line 61, in load_plugin
File "site-packages\calibre\customize\zipplugin.py", line 200, in load
File "site-packages\polyglot\builtins.py", line 123, in reload
File "importlib\__init__.py", line 169, in reload
File "<frozen importlib._bootstrap>", line 602, in _exec
File "site-packages\calibre\customize\zipplugin.py", line 179, in load_module
File "calibre_plugins.dedrm.__init__", line 168
print u"{0} v{1}: Copying needed library files from plugin's zip".format(PLUGIN_NAME, PLUGIN_VERSION)
^
SyntaxError: invalid syntax

Help?
Michaeljohn is offline  
Old 10-03-2020, 08:19 AM   #2
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
You need to downgrade to Calibre 4.23 to get DeDRM to work.
It is not compatible with version 5 and as you have ran Calibre 5, you must use 4.23.
georgemk is offline  
Advert
Old 10-03-2020, 08:21 AM   #3
georgemk
Addict
georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.georgemk ought to be getting tired of karma fortunes by now.
 
Posts: 243
Karma: 291844
Join Date: Oct 2019
Device: Kobo Nia
You need to keep an eye on the DeDRM website to see when a version is released that is compatible with Calibre 5.

P.S. You may need to wait a while for it to be written as the rate of development doesn't seem high.
georgemk is offline  
Old 10-03-2020, 11:19 AM   #4
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
Look on this thread
FOR ALL THE OBLIGATORY "DEDRM ISN'T WORKING!!!" POSTS...
un_pogaz is offline  
Old 10-03-2020, 05:24 PM   #5
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,706
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Moderator Notice

↑ ↑ ↑ ✔

Thread Moved and Closed

BR
BetterRed is offline  
Advert
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is the environment Python 2 or Python 3? halloleo Library Management 11 04-07-2020 03:47 AM
Python 2 to Python 3, Polyglot & Plugins DaltonST Calibre 18 04-24-2019 12:10 AM
Free (DRM-free) Learning Python by Fabrizio Romano [DIY Programming Reference Guide] ATDrake Deals and Resources (No Self-Promotion or Affiliate Links) 0 09-25-2016 09:02 PM
Python help please AndyW1691 Library Management 3 02-08-2012 09:51 AM
Python 2.5 or 2.6? itimpi Calibre 5 01-19-2009 12:48 PM


All times are GMT -4. The time now is 12:16 AM.


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