Te falta una librería de Python, tengo instalado Calibre en mi openSUSE, mañana te lo miro.
Enviado desde mi SNE-LX1 mediante Tapatalk
Al intentar instalar el plugin DeDRM en calibre, me da el siguiente error de python, alguna idea de cómo arreglarlo:
calibre 4.8 embedded-python: False is64bit: True
Linux-5.4.10-1-default-x86_64-with-glibc2.2.5 Linux ('64bit', '')
('Linux', '5.4.10-1-default', '#1 SMP Thu Jan 9 15:45:45 UTC 2020 (556a6fe)')
Python 3.7.3
Linux: ('', '', '')
Interface language: es
Traceback (most recent call last):
File "/usr/lib64/calibre/calibre/gui2/preferences/plugins.py", line 318, in add_plugin
plugin = add_plugin(path)
File "/usr/lib64/calibre/calibre/customize/ui.py", line 472, in add_plugin
plugin = load_plugin(path_to_zip_file)
File "/usr/lib64/calibre/calibre/customize/ui.py", line 61, in load_plugin
return loader.load(path_to_zip_file)
File "/usr/lib64/calibre/calibre/customize/zipplugin.py", line 202, in load
m = importlib.import_module(plugin_module)
File "/usr/lib64/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
File "/usr/lib64/calibre/calibre/customize/zipplugin.py", line 180, in load_module
import_name), 'exec', dont_inherit=True)
File "calibre_plugins.dedrm.__init__", line 167
print u"{0} v{1}: Copying needed library files from plugin's zip".format(PLUGIN_NAME, PLUGIN_VERSION)
^
SyntaxError: invalid syntax
Te falta una librería de Python, tengo instalado Calibre en mi openSUSE, mañana te lo miro.
Enviado desde mi SNE-LX1 mediante Tapatalk
NORMAS A CUMPLIR EN LOS FOROS (Lectura obligatoria) Lo siento, no contesto privados sobre problemas con GNU/Linux.
Síguenos en TWITTER y en FACEBOOK
Código:Buscador de Alojamiento Alojamiento Otros paquetes: de imágenes: de ficheros: buscadores: Search TinyPic Ifile Wuala Simple y Facil Webpinstant Paste Suse SendSpace TextSnip Cl1p
Acabo de instalar Calibre usando el instalador de la Web y me funciona bien.
Estas son las librerías de Python que tengo instaladas.
Código:zypper se -i python Cargando datos del repositorio... Leyendo los paquetes instalados... E | Nombre | Resumen | Tipo --+--------------------------+-------------------------------------------------------------------------+-------- i | libpython2_7-1_0 | Biblioteca compartida del intérprete Python | paquete i | libpython3_6m1_0 | Biblioteca compartida del intérprete Python | paquete i | libsamba-policy0-python3 | Active Directory Group Policy library | paquete i | python-base | Python Interpreter base package | paquete i | python-rpm-macros | RPM macros for building of Python modules | paquete i | python3 | Python 3 Interpreter | paquete i | python3-apparmor | Interfaz Python 3 para funciones de libapparmor | paquete i | python3-appdirs | A small Python module for determining platform-specific dirs | paquete i | python3-base | Python 3 Interpreter and Stdlib Core | paquete i | python3-bind | A module allowing rndc commands to be sent from Python programs | paquete i | python3-cmdln | An improved cmd.py for Writing Multi-command Scripts and Shells | paquete i | python3-configobj | Config file reading, writing and validation | paquete i | python3-createrepo_c | Python 3 bindings for the createrepo_c library | paquete i | python3-cupshelpers | High-level Python Bindings for CUPS | paquete i | python3-curses | Python Interface to the (N)Curses Library | paquete i | python3-dbm | Python Interface to the GDBM Library | paquete i | python3-dbus-python | Ligaduras Python para D-Bus | paquete i | python3-decorator | Better living through Python with decorators | paquete i | python3-firewall | Python3 bindings for FirewallD | paquete i | python3-gobject | Python bindings for GObject | paquete i | python3-ldb | Python3 bindings for the LDB library | paquete i | python3-linux-procfs | Linux /proc abstraction classes | paquete i | python3-packaging | Core utilities for Python packages | paquete i | python3-pip | Pip installs packages. Python packages. An easy_install replacement | paquete i | python3-ply | Python Lex & Yacc | paquete i | python3-pycups | Python Bindings for CUPS | paquete i | python3-pycurl | PycURL -- cURL library module | paquete i | python3-pyparsing | Grammar Parser Library for Python | paquete i | python3-pyudev | Udev bindings for Python | paquete i | python3-rpm | Python Bindings for Manipulating RPM Packages | paquete i | python3-setuptools | Enhancements to distutils for building and distributing Python packages | paquete i | python3-six | Python 2 and 3 compatibility utilities | paquete i | python3-slip | Miscellaneous convenience, extension and workaround code for Python | paquete i | python3-slip-dbus | Convenience functions for dbus services | paquete i | python3-solv | Python3 bindings for the libsolv library | paquete i | python3-talloc | Python3 bindings for the Talloc library | paquete i | python3-tdb | Python3 bindings for the Tdb library | paquete i | python3-tevent | Python3 bindings for the Tevent library | paquete i | python3-urwid | A full-featured console (xterm et al.) user interface library | paquete i | python3-zypp-plugin | Ayudante que facilita la escritura de complementos de ZYpp | paquete i | samba-libs-python3 | Python3 dependencies of samba-libs | paquete i | samba-python3 | Samba Python3 libraries | paquete i | yast2-python3-bindings | Enlaces Python3 para la plataforma YaST | paquete
NORMAS A CUMPLIR EN LOS FOROS (Lectura obligatoria) Lo siento, no contesto privados sobre problemas con GNU/Linux.
Síguenos en TWITTER y en FACEBOOK
Código:Buscador de Alojamiento Alojamiento Otros paquetes: de imágenes: de ficheros: buscadores: Search TinyPic Ifile Wuala Simple y Facil Webpinstant Paste Suse SendSpace TextSnip Cl1p
Yo tenía errores con el plugins Duplicate en calibre. He desinstalado la versión de los repositorios y he instalado la de la web y el plugins ya funciona correctamente.
Un saludo.
Bueno, finalmente lo he resuelto. El problema está en que uso tumbleweed, que utiliza python 3. Ya la última versión de DeDRM (la 6.7) indica que no se puede instalar con python 3. He instalado calibre mediante flatpack, he instalado los plugins sin problemas, y se quita el drm de kobo y kindle. Ahora bien, el programa funciona bien, pero la instalación debe pesar 10 veces más que la ordinaria. En tumbleweed, las aplicaciones de kindle y kobo para windows funcionan bien con wine, pero hay que evitar las últimas versiones del kindle, quizás mejor dejarla en la 1.17, en todo caso no instalar la 1.25 (no hay forma de quitar el drm, aún)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Marcadores