I'm wanting to run Calibre with DeDRM. Version 5 of Calibre was written for Python3 while version 4 was written in Python2. DeDRM is only available for Python2. Python3 support is being worked on but is still in development.
Has anyone found a good workaround until DeDRM for Python3 is available?
Happy New Year, Clifford
On Sat, 9 Jan 2021 17:05:21 -0800 Clifford Snow wrote:
Has anyone found a good workaround until DeDRM for Python3 is available?
Don't know about "good", but I have a dedicated fedora 32 virtual machine just for running calibre with inbox and outbox folders NFS mounted for feeding books in and getting modified books out.
On 1/9/21 8:05 PM, Clifford Snow wrote:
I'm wanting to run Calibre with DeDRM. Version 5 of Calibre was written for Python3 while version 4 was written in Python2. DeDRM is only available for Python2. Python3 support is being worked on but is still in development.
Has anyone found a good workaround until DeDRM for Python3 is available?
Calibre 4.23.0 is the version that is packaged and available from the Fedora 33 repositories. It runs under Python 2 so DeDRM work just fine with it. I've been using this for some time without issue.
On Sat, Jan 09, 2021 at 08:37:03PM -0500, David King wrote:
On 1/9/21 8:05 PM, Clifford Snow wrote:
I'm wanting to run Calibre with DeDRM. Version 5 of Calibre was written for Python3 while version 4 was written in Python2. DeDRM is only available for Python2. Python3 support is being worked on but is still in development.
Has anyone found a good workaround until DeDRM for Python3 is available?
Calibre 4.23.0 is the version that is packaged and available from the Fedora 33 repositories. It runs under Python 2 so DeDRM work just fine with it.
Yes, and no.
4.23.0 is in f33, but it is using python3, not python2.
Fedora moved calibre to python3 much sooner than upstream did because python2 was being phased out in fedora. Unfortunately, we can't upgrade to 5.x due to some dependencies in other packages not being ready yet. ;(
I've been using this for some time without issue.
With the python3 plugin it should work I would think...
kevin
On Mon, Jan 11, 2021 at 1:02 PM Kevin Fenzi kevin@scrye.com wrote:
On Sat, Jan 09, 2021 at 08:37:03PM -0500, David King wrote:
On 1/9/21 8:05 PM, Clifford Snow wrote:
I'm wanting to run Calibre with DeDRM. Version 5 of Calibre was written for Python3 while version 4 was written in Python2. DeDRM is only available for Python2. Python3 support is being worked on but is still in development.
Has anyone found a good workaround until DeDRM for Python3 is
available?
Calibre 4.23.0 is the version that is packaged and available from the
Fedora
33 repositories. It runs under Python 2 so DeDRM work just fine with
it.
Yes, and no.
4.23.0 is in f33, but it is using python3, not python2.
Fedora moved calibre to python3 much sooner than upstream did because python2 was being phased out in fedora. Unfortunately, we can't upgrade to 5.x due to some dependencies in other packages not being ready yet. ;(
I've been using this for some time without issue.
With the python3 plugin it should work I would think...
I agree that the existing python2 plugins don't work. For example DeDRM 6.8.1 errors out with python 2 print statement instead of the python3 print() statement. The DeDRM built for python3 fails to install on Calibre 4.23 with an error that the plugin requires a version of Calibrer >= 5.0.0.
I'll give Calibre 5.0.0 a try as suggested by Patrick O'Callaghan.
Thanks, Clifford
--
@osm_washington www.snowandsnow.us OpenStreetMap: Maps with a human touch
On 1/11/21 4:01 PM, Kevin Fenzi wrote:
On Sat, Jan 09, 2021 at 08:37:03PM -0500, David King wrote:
On 1/9/21 8:05 PM, Clifford Snow wrote:
I'm wanting to run Calibre with DeDRM. Version 5 of Calibre was written for Python3 while version 4 was written in Python2. DeDRM is only available for Python2. Python3 support is being worked on but is still in development.
Has anyone found a good workaround until DeDRM for Python3 is available?
Calibre 4.23.0 is the version that is packaged and available from the Fedora 33 repositories. It runs under Python 2 so DeDRM work just fine with it.
Yes, and no.
4.23.0 is in f33, but it is using python3, not python2.
Fedora moved calibre to python3 much sooner than upstream did because python2 was being phased out in fedora. Unfortunately, we can't upgrade to 5.x due to some dependencies in other packages not being ready yet. ;(
Fascinating. I wonder why DeDRM is working for me then, on F33, with Python 3 as the system-wide default?
-- Dave King dave at daveking dot com
Dave,
Fedora moved calibre to python3 much sooner than upstream did because python2 was being phased out in fedora. Unfortunately, we can't upgrade to 5.x due to some dependencies in other packages not being ready yet. ;(
Fascinating. I wonder why DeDRM is working for me then, on F33, with Python 3 as the system-wide default?
I'm running a fresh install of F33. By any chance your's is an upgrade from a prior version with python2?
On 1/12/21 10:00 AM, Clifford Snow wrote:
Dave, > Fedora moved calibre to python3 much sooner than upstream did because > python2 was being phased out in fedora. Unfortunately, we can't upgrade > to 5.x due to some dependencies in other packages not being ready yet. > ;( Fascinating. I wonder why DeDRM is working for me then, on F33, with Python 3 as the system-wide default?
I'm running a fresh install of F33. By any chance your's is an upgrade from a prior version with python2?
Yes, it was. I originally had F29, with Calibre 4 installed through their installer, plus DeDRM. When I upgraded to F32, and Python 3 become the default, I at first thought I should upgrade to Calibre v5. However, doing that broke DeDRM. That got me doing research and, when I tried installing the Fedora Calibre 4.23 package, things "just worked." I didn't touch the DeDRM code plugin during that upgrade process, it remained what it was when I started. I've since upgraded to F33 without any issues.
My "why is it working for me?" question was largely rhetorical, btw. Just to be clear. :-)
I've installed version 5.90 from source. No additional python modules required from what I've ready installed. Also installed DeDRM 7.0.3.
Calibre works great. Unfortunately the current version of DeDRM doesn't remove DRM from epubs for me. I'll keep an eye on https://github.com/apprenticeharper/DeDRM_tools and will try the next version to see if that works.
Patrick O'Callaghan you said DeDRM worked for you. Did that include epubs?
Clifford
On Tue, Jan 12, 2021 at 9:32 AM David King dave@daveking.com wrote:
On 1/12/21 10:00 AM, Clifford Snow wrote:
Dave, > Fedora moved calibre to python3 much sooner than upstream did because > python2 was being phased out in fedora. Unfortunately, we can't upgrade > to 5.x due to some dependencies in other packages not being ready yet. > ;( Fascinating. I wonder why DeDRM is working for me then, on F33, with Python 3 as the system-wide default?
I'm running a fresh install of F33. By any chance your's is an upgrade from a prior version with python2?
Yes, it was. I originally had F29, with Calibre 4 installed through their installer, plus DeDRM. When I upgraded to F32, and Python 3 become the default, I at first thought I should upgrade to Calibre v5. However, doing that broke DeDRM. That got me doing research and, when I tried installing the Fedora Calibre 4.23 package, things "just worked." I didn't touch the DeDRM code plugin during that upgrade process, it remained what it was when I started. I've since upgraded to F33 without any issues.
My "why is it working for me?" question was largely rhetorical, btw. Just to be clear. :-)
-- David King dave at daveking dot com
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
On Sat, 2021-01-09 at 17:05 -0800, Clifford Snow wrote:
I'm wanting to run Calibre with DeDRM. Version 5 of Calibre was written for Python3 while version 4 was written in Python2. DeDRM is only available for Python2. Python3 support is being worked on but is still in development.
Has anyone found a good workaround until DeDRM for Python3 is available?
DeDRM for Python 3 is now available as a beta, and has worked for me with Calibre 5 downloaded directly (not the Fedora packaged version).
poc