Quote:
Originally Posted by gol8erl8
(Downloading plugins from a forum  )
Thanks for taking the time to review the code, though I regret that I have a similar--if not an identical--error message:
Spoiler:
Code:
Modify ePubs
Traceback (most recent call last):
File "/usr/bin/calibre-parallel", line 20, in <module>
sys.exit(main())
File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 208, in main
result = func(*args, **kwargs)
File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 142, in arbitrary_n
module = importlib.import_module(module_name)
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 184, in load_module
exec(compiled, mod.__dict__)
File "calibre_plugins.modify_epub.jobs", line 14, in <module>
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.modify_epub.modify", line 532
if re.search(r'<pre\s*([^>]*?)>', html_text, re.I):
^
TabError: inconsistent use of tabs and spaces in indentation
If I can offer more about the system that would cause such a headache, feel free to ask. And shoutouts to Python :/
|
No that's another bug in the code, but it's not obvious to me what it is.
What options did you check in Modify - did you check Deindent? if so try unchecking it and we might dodge that bullet for now
BTW all the plugins you can install from Preferences plugins originate from here.
BR