View Single Post
Old Yesterday, 08:45 AM   #77
Lavender
Zealot
Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.Lavender ought to be getting tired of karma fortunes by now.
 
Lavender's Avatar
 
Posts: 102
Karma: 514138
Join Date: Jan 2025
Device: Kobo Clara BW
Quote:
Originally Posted by dunhill View Post
Hi Lavender, thank you for the feedback. It seems Kubuntu is closing the terminal session as soon as calibre exits (the 'parent' process killing the 'child').

I've prepared v1.2.4 with two specific fixes for KDE:
Process Detachment: Added a 'setpgrp' flag so the terminal becomes independent of calibre.
Konsole Persistence: Added the --noclose flag which is sometimes required in newer KDE versions to keep the window visible.
If this still doesn't show the terminal, could you please try running calibre from a terminal yourself, try to update, and copy here any error message that appears in the background? That would be incredibly helpful!
Uninstalled the old, and installed the 1.2.4 plugin. This time I get a second error window after clicking "yes" in the updater plugin's dialogue window, which states:

calibre, version 9.5.0
ERROR: Error: No compatible terminal found.

Running Calibre from the terminal shows only the following output. No further output prints to terminal when I try the updater plugin.

Code:
zachary@AmazingDay:~$ Traceback (most recent call last):
  File "calibre/gui2/ui.py", line 134, in __init__
  File "calibre/gui2/ui.py", line 152, in init_iaction
  File "calibre/customize/__init__.py", line 678, in load_actual_plugin
  File "importlib/__init__.py", line 88, in import_module
  File "<frozen importlib._bootstrap>", line 1398, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1371, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1342, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 938, in _load_unlocked
  File "calibre/customize/zipplugin.py", line 219, in exec_module
  File "calibre_plugins.annotations.action", line 11, in <module>
    import imp, inspect, os, re, sys, tempfile, threading, types
ModuleNotFoundError: No module named 'imp'
calibre_plugins.obok_dedrm.obok.obok:432: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
calibre_plugins.obok_dedrm.obok.obok:432: SyntaxWarning: "\-" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\-"? A raw string is also an option.
calibre_plugins.obok_dedrm.obok.obok:432: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
calibre_plugins.obok_dedrm.obok.obok:446: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
calibre_plugins.obok_dedrm.obok.obok:446: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
calibre_plugins.obok_dedrm.obok.obok:456: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
calibre_plugins.obok_dedrm.obok.obok:456: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
calibre_plugins.obok_dedrm.obok.obok:463: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
calibre_plugins.obok_dedrm.obok.obok:463: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.
calibre_plugins.obok_dedrm.obok.obok:662: SyntaxWarning: "\s" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\s"? A raw string is also an option.

Last edited by Lavender; Yesterday at 08:49 AM. Reason: Clarification
Lavender is offline   Reply With Quote