View Single Post
Old 07-14-2022, 02:39 AM   #7311
culytera
Zealot
culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.culytera ought to be getting tired of karma fortunes by now.
 
Posts: 131
Karma: 295674
Join Date: Jul 2021
Device: iPhone
After updating Calibre to 6.0, my add_to_output_css doesn't work. If I downgrade Calibre back to 5 it works again. I didn't change anything prior to upgrading Calibre.

Code:
add_to_output_css:
 body { font-family: "Segoe UI Variable Small", "Roboto", sans-serif; text-align: left; }
 .tag-summary-content p { margin: 0 0 0.75em 0; }
 .tag-summary-content a { text-decoration: none; color: white; }
 .tags {
  display: block;
  padding: 0;
  margin: 0.175em 0;
 }
 .tag-label {
  display: block;
  margin: 0;
 }
 dd { margin-left: 0.75em; }
 dl, dt { margin: 0; }
 hr { display: block; height: 1px;
  border: 0; border-top: 1px solid;
  margin: 1em auto; padding: 0; width: 75%%;
 }
 body.fff_titlepage {
  background-color: #980101;
  color: white;
 }
 .fff_titlepage .title h1,
 .fff_titlepage .title h2 {
  font-size: 2.5vmax;
 }
 .fff_titlepage .title h1,
 .fff_titlepage .title h2,
 .fff_titlepage .title a {
  margin: 0;
  color: white;
 }
 .fff_titlepage .title a, .fff_titlepage .series a { text-decoration: none; color: white; }
 .stats { font-size: 2.5vmax; margin-top: 0.5em; }
Also there's an error when using the find bar when editing the personal.ini or viewing plugin-defaults.ini.
Code:
calibre, version 6.0.0
ERROR: Unhandled exception: <b>AttributeError</b>:'QTextCursor' object has no attribute 'Right'

calibre 6.0  embedded-python: True
Windows-10-10.0.22000 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.22000')
Python 3.10.1
Windows: ('10', '10.0.22000', '', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: FanFicFare (4, 14, 0) && Generate Cover (2, 1, 0) && Job Spy (1, 0, 192)
Traceback (most recent call last):
  File "calibre_plugins.fanficfare_plugin.dialogs", line 1453, in find
  File "calibre_plugins.fanficfare_plugin.dialogs", line 1469, in moveCursor
AttributeError: 'QTextCursor' object has no attribute 'Right'
culytera is offline   Reply With Quote