View Single Post
Old 02-09-2022, 05:57 AM   #161
lomkiri
Groupie
lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.lomkiri ought to be getting tired of karma fortunes by now.
 
lomkiri's Avatar
 
Posts: 170
Karma: 1497966
Join Date: Jul 2021
Device: N/A
Thank you.

But running from source (downloaded today) with "calibre-debug -t" gives this error:
Spoiler:
Code:
 % calibre-debug -t
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 93.6046065259117 x 93.62457337883959
Using calibre Qt style: True
Traceback (most recent call last):
  File "runpy.py", line 194, in _run_module_as_main
  File "runpy.py", line 87, in _run_code
  File "site.py", line 45, in <module>
  File "site.py", line 41, in main
  File "/data/opt/calibre-source/last/src/calibre/debug.py", line 288, in main
    ebook_edit(['ebook-edit'] + args[1:])
  File "/data/opt/calibre-source/last/src/calibre/gui_launch.py", line 104, in ebook_edit
    main(args)
  File "/data/opt/calibre-source/last/src/calibre/gui2/tweak_book/main.py", line 99, in main
    _run(args)
  File "/data/opt/calibre-source/last/src/calibre/gui2/tweak_book/main.py", line 77, in _run
    main = Main(opts, notify=notify)
  File "/data/opt/calibre-source/last/src/calibre/gui2/tweak_book/ui.py", line 348, in __init__
    self.central = Central(self)
  File "/data/opt/calibre-source/last/src/calibre/gui2/tweak_book/ui.py", line 97, in __init__
    self.search_panel = SearchPanel(self)
  File "/data/opt/calibre-source/last/src/calibre/gui2/tweak_book/search.py", line 480, in __init__
    self.widget = SearchWidget(self)
  File "/data/opt/calibre-source/last/src/calibre/gui2/tweak_book/search.py", line 255, in __init__
    self.find_text = ft = HistoryBox(self, _('Clear search &history'))
  File "/data/opt/calibre-source/last/src/calibre/gui2/tweak_book/search.py", line 96, in __init__
    HistoryComboBox.__init__(self, parent, strip_completion_entries=False)
  File "/data/opt/calibre-source/last/src/calibre/gui2/widgets2.py", line 83, in __init__
    EditWithComplete.__init__(self, parent, sort_func=lambda x:b'', strip_completion_entries=strip_completion_entries)
  File "/data/opt/calibre-source/last/src/calibre/gui2/complete2.py", line 451, in __init__
    self.setLineEdit(LineEdit(
  File "/data/opt/calibre-source/last/src/calibre/gui2/complete2.py", line 312, in __init__
    self.mcompleter = Completer(completer_widget, sort_func=sort_func, strip_completion_entries=strip_completion_entries)
  File "/data/opt/calibre-source/last/src/calibre/gui2/complete2.py", line 105, in __init__
    self.tab_accepts_uncompleted_text = (tweaks['tab_accepts_uncompleted_text'] and
KeyError: 'tab_accepts_uncompleted_text'

If I run the same command with the source of the 5.99.4 (or 5.99.3, I don't remember, but the changelog date is 2022-01-21), then I get no error.
lomkiri is offline   Reply With Quote