View Single Post
Old 02-28-2025, 03:48 PM   #245
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,238
Karma: 148951761
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Cancel the deletion. I downloaded the latest source, stuffed it into the calibre source directory and calibre doesn't run.

Code:
C:\Users\user>calibre-debug --gui
calibre 7.26.101*  embedded-python: True
Windows-10-10.0.26100-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.26100')
Python 3.11.5
Windows: ('10', '10.0.26100', 'SP0', 'Multiprocessor Free')
Interface language: None
EXE path: C:\Program Files\Calibre2\calibre-debug.exe
Traceback (most recent call last):
  File "runpy.py", line 198, in _run_module_as_main
  File "runpy.py", line 88, in _run_code
  File "site.py", line 83, in <module>
  File "site.py", line 78, in main
  File "site.py", line 50, in run_entry_point
  File "d:\calibre\calibre-master\src\calibre\debug.py", line 241, in main
    calibre(['calibre'] + args[1:])
  File "d:\calibre\calibre-master\src\calibre\gui_launch.py", line 69, in calibre
    print_basic_debug_info()
  File "d:\calibre\calibre-master\src\calibre\debug.py", line 184, in print_basic_debug_info
    from calibre.customize.ui import has_external_plugins, initialized_plugins
  File "d:\calibre\calibre-master\src\calibre\customize\ui.py", line 840, in <module>
    initialize_plugins()
  File "d:\calibre\calibre-master\src\calibre\customize\ui.py", line 786, in initialize_plugins
    if 'KoboTouchExtended' in external_plugins and is_disabled('KoboTouch') and not is_disabled('KoboTouchExtended'):
                                                   ^^^^^^^^^^^^^^^^^^^^^^^^
  File "d:\calibre\calibre-master\src\calibre\customize\ui.py", line 137, in is_disabled
    if plugin.name in config['enabled_plugins']:
       ^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'name'
If I disable run from source, 7.26.101 works happily.
If the code I am using for deciding to make KePub or not is invalid, what code would be valid?
JSWolf is offline   Reply With Quote