View Single Post
Old 04-13-2023, 02:11 PM   #331
DaltonST
Deviser
DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.DaltonST ought to be getting tired of karma fortunes by now.
 
DaltonST's Avatar
 
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
Quote:
Originally Posted by isarl View Post
If my comment came across as entitled, or as anything other than an attempt to provide helpful information to lessen your own work in creating a plugin whose utility I have already effusively praised in my comments in this thread, then I apologize. I have no interest in demanding anything of you; as I've said before, I greatly appreciate all the work you've already put into this plugin, whatever becomes of its future.

On that note, I hope the following bug reports are helpful. I have noticed that, while FAST tags with a comma in them (e.g. “Short stories, American”) used to have the comma replaced with a semicolon, this is not happening anymore, and as a result, instead of one tag like “Short stories; American”, the tag is split on the comma. I can't recall if this was something I had configured for myself or if it was something Library Codes was doing for me, because I don't see any relevant configuration options in the configuration dialogue accessed from the context menu -> “Configuration & ToolTip-Instructions” and if I try to configure the plugin from Preferences -> Plugins -> Library Codes -> Customize plugin, then I get the second issue I've noticed, which is the following error:

Code:
calibre, version 6.15.1
ERROR: Unhandled exception: <b>TypeError</b>:setTextFormat(self, a0: Qt.TextFormat): argument 1 has unexpected type 'int'

calibre 6.15.1  embedded-python: False
Linux-6.1.23-1-lts-x86_64-with-glibc2.37 Linux ('64bit', 'ELF')
('Linux', '6.1.23-1-lts', '#1 SMP PREEMPT_DYNAMIC Thu, 06 Apr 2023 10:56:12 +0000')
Python 3.10.10
Interface language: None
Successfully initialized third party plugins: [...snip...] && Library Codes (1, 0, 61) && [...snip...]
Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/gui2/preferences/plugins.py", line 301, in customize_plugin
    self.modify_plugin(op='customize')
  File "/usr/lib/calibre/calibre/gui2/preferences/plugins.py", line 378, in modify_plugin
    if plugin.do_user_config(self.gui):
  File "/usr/lib/calibre/calibre/customize/__init__.py", line 156, in do_user_config
    config_widget = self.config_widget()
  File "calibre_plugins.library_codes.__init__", line 30, in config_widget
    return ConfigWidget()
  File "calibre_plugins.library_codes.config", line 62, in __init__
    self.label1.setTextFormat(1)
TypeError: setTextFormat(self, a0: Qt.TextFormat): argument 1 has unexpected type 'int'
I hope this bug report is helpful; if you need any more information then I'm happy to provide what I can.

On it. Thanks.


DaltonST
DaltonST is offline   Reply With Quote