Hello guys.
I am trying to use a dark theme for the editor. I've chosen "solarized-dark". But I would like to change a few things, so I tried to edit the theme. When I click the button to create/edit personalized color scheme, Calibre throws an error msg. This is the msg:
Code:
calibre, version 3.34.0
ERRO: Exceção sem tratamento: <b>ValueError</b>:cannot switch from automatic field numbering to manual field specification
calibre 3.34 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.17763-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17763')
Python 2.7.12+
Windows: ('10', '10.0.17763', 'SP0', u'Multiprocessor Free')
Interface language: pt_BR
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 10, 0) && DeDRM (6, 6, 1) && Package KFX (from KFX Input) (1, 10, 0) && KindleUnpack - The Plugin (0, 81, 5) && EpubMerge (2, 4, 0) && Set KFX metadata (from KFX Output) (1, 24, 0) && KFX Output (1, 24, 0) && ScrambleEbook (0, 0, 5) && Diaps Editing Toolbag (0, 3, 5) && KFX metadata reader (from KFX Input) (1, 10, 0) && KFX Input (1, 10, 0) && EpubSplit (2, 5, 0) && EpubCheck (0, 1, 3) && TTS to MP3 (0, 1, 3)
Traceback (most recent call last):
File "site-packages\calibre\gui2\tweak_book\preferences.py", line 259, in custom_theme
File "site-packages\calibre\gui2\tweak_book\editor\themes.py", line 554, in __init__
File "site-packages\calibre\gui2\tweak_book\widgets.py", line 48, in __init__
File "site-packages\calibre\gui2\widgets2.py", line 171, in __init__
File "site-packages\calibre\gui2\tweak_book\editor\themes.py", line 595, in setup_ui
ValueError: cannot switch from automatic field numbering to manual field specification
Righ now I don't know what I will find inside this option, because it fails to activate. Is it possible to choose a color for the selected line, just like on the default theme? All the other themes besides default lacks this functionality. When using "Solarized dark", it does change the color of the element you are inside (for instance, it will change the color o the <p> tag when you click that paragraph). But, the actual line is not highlighted like on the default theme.