Grand Sorcerer
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Originally Posted by Svens
I solved а problem I had with Kobo Touch Extended 3.2.2 add-on.
I've included the "Beta: Use Unicode UTF-8 for wordwide language support" option in "Language for non-Unicode programs" and everything works now.
First, I tried to choose English in "Regional settings" in "Non-Unicode programs", but that didn't work.
In general, if the Windows Display language is EN, there seems to be no problem.
However, I wonder why the problem occurred with the new version, while with version 3.1.5 there were no problems.
Thanks to all of you who engaged in my problem. I also hope my decision would help those of you who are dealing with the same issue.
|
Sorry, I didn't notice this earlier when I posted my request for the debug log.
A lot has changed between calibre 3.1 and 4.13. The version of Qt has been updated and there are a lot of changes to prepare for moving to Python 3. Somewhere in that is probably what is happening. As the error is related to unicode, that it works when that option is on makes sense.
This probably means that one of the options in the driver is not correctly initialised for unicode. I'll have to work out which, as while you are seeing this in extended driver, it might be in the built-in KoboTouch driver.
Quote:
Originally Posted by Svens
Calibre folder is "D:\Calibre"
The debug log when the "Use Unicode UTF-8 for wordwide language support" setting is switched off. This text "calibre ����� ��������" was readable in the log, when the beta setting was switched off and it looked like this: "calibre Дебъг регистър", but at the moment, while i am posting this, I have already switched on the option, that's why it is not readable. Looks like a plug-in's problem:
Spoiler:
Code:
calibre ����� ��������
calibre 4.13 Portable embedded-python: True is64bit: False
Windows-10-10.0.18362-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: bg
Successfully initialized third party plugins: KindleXRay (0, 0, 3) && KoboTouchExtended (3, 2, 2) && Quality Check (1, 9, 11)
calibre 4.13 Portable embedded-python: True is64bit: False
Windows-10-10.0.18362-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: bg
Successfully initialized third party plugins: KindleXRay (0, 0, 3) && KoboTouchExtended (3, 2, 2) && Quality Check (1, 9, 11)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 94.0740740741 x 94.0740740741
Using calibre Qt style: False
[0.00] Starting up...
[0.00] Showing splash screen...
[0.58] splash screen shown
[0.58] Initializing db...
[5.00] db initialized
[5.00] Constructing main UI...
[11.72] main UI initialized...
[11.72] Hiding splash screen
[20.66] splash screen hidden
[20.66] Started up in 20.66 seconds with 41812 books
calibre 4.13 Portable embedded-python: True is64bit: False
Windows-10-10.0.18362-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: bg
Successfully initialized third party plugins: KindleXRay (0, 0, 3) && KoboTouchExtended (3, 2, 2) && Quality Check (1, 9, 11)
Traceback (most recent call last):
File "site-packages\calibre\gui2\preferences\plugins.py", line 292, in double_clicked
File "site-packages\calibre\gui2\preferences\plugins.py", line 373, in modify_plugin
File "site-packages\calibre\customize\__init__.py", line 157, in do_user_config
File "calibre_plugins.kobotouch_extended.device.driver", line 128, in config_widget
File "site-packages\calibre\devices\kobo\driver.py", line 3251, in config_widget
File "calibre_plugins.kobotouch_extended.device.driver", line 113, in settings
File "calibre_plugins.kobotouch_extended.common", line 90, in print_formatted_log
File "calibre_plugins.kobotouch_extended.common", line 79, in _tag_args
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd4 in position 20: invalid continuation byte
The debug log without an error/with the "Use Unicode UTF-8 for wordwide language support" beta setting switched on /without error/:
Spoiler:
Code:
calibre Дебъг регистър
calibre 4.13 Portable embedded-python: True is64bit: False
Windows-10-10.0.18362-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: bg
Successfully initialized third party plugins: KoboTouchExtended (3, 2, 2) && KindleXRay (0, 0, 3) && Quality Check (1, 9, 11)
calibre 4.13 Portable embedded-python: True is64bit: False
Windows-10-10.0.18362-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.18362')
Python 2.7.16+
Windows: ('10', '10.0.18362', 'SP0', u'Multiprocessor Free')
Interface language: bg
Successfully initialized third party plugins: KoboTouchExtended (3, 2, 2) && KindleXRay (0, 0, 3) && Quality Check (1, 9, 11)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 94.0740740741 x 94.0740740741
Using calibre Qt style: False
[0.00] Starting up...
[0.00] Showing splash screen...
[0.50] splash screen shown
[0.50] Initializing db...
[4.08] db initialized
[4.09] Constructing main UI...
[9.59] main UI initialized...
[9.59] Hiding splash screen
[19.23] splash screen hidden
[19.23] Started up in 19.23 seconds with 41812 books
2020-04-18 14:02:20 Финландия - лятно часово време [DEBUG] KoboTouchExtended:settings: settings= 2020-04-18 14:02:20 Финландия - лятно часово време [DEBUG] <calibre.utils.config_base.OptionValues object at 0x197E6710>
DEBUG: 0.0 ExtraCustomization.__init__ - extra_customization_message= []
DEBUG: 0.0 ExtraCustomization.__init__ - extra_customization_choices= None
DEBUG: 0.0 ExtraCustomization.__init__ - device_settings.extra_customization= []
DEBUG: 0.0 ExtraCustomization.__init__ - device_settings= <calibre.utils.config_base.OptionValues object at 0x197E6710>
DEBUG: 0.0 ExtraCustomization::has_extra_customizations - self.extra_customization_message []
2020-04-18 14:02:20 Финландия - лятно часово време [INFO] KoboTouchExtended:config_widget: Have new style config.
2020-04-18 14:02:20 Финландия - лятно часово време [DEBUG] KoboTouchExtended:settings: settings= 2020-04-18 14:02:20 Финландия - лятно часово време [DEBUG] <calibre.utils.config_base.OptionValues object at 0x197E6E10>
DEBUG: 0.0 ExtraCustomization.__init__ - extra_customization_message= []
DEBUG: 0.0 ExtraCustomization.__init__ - extra_customization_choices= None
DEBUG: 0.0 ExtraCustomization.__init__ - device_settings.extra_customization= []
DEBUG: 0.0 ExtraCustomization.__init__ - device_settings= <calibre.utils.config_base.OptionValues object at 0x197E6E10>
DEBUG: 0.0 ExtraCustomization::has_extra_customizations - self.extra_customization_message []
2020-04-18 14:02:28 Финландия - лятно часово време [INFO] KoboTouchExtended:save_settings: Have new style config.
2020-04-18 14:02:28 Финландия - лятно часово време [DEBUG] KOBOTOUCHEXTENDEDConfig::commit: start
DEBUG: 8.0 KOBOTOUCHConfig::commit: start
DEBUG: 8.0 TabbedDeviceConfig::commit: start
|
Unfortunately, that doesn't help me work out which option is at fault. Could you try again with the unicode option off, but this time connect the device? That goes through more of my code and shows more details. Hopefully it will help.
|