View Single Post
Old 04-18-2020, 07:34 AM   #2003
Svens
Enthusiast
Svens began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Apr 2019
Device: Кіndlе5,NGL,PB650, KPW3,KPW4,KPW5, Kobo Aura One
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:
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/:
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
Quote:
Originally Posted by davidfor View Post
I'm not surprised that the error also happened when you tried to open the configuration. I was sort of thinking that would happen when I suggested configuring the driver.

I can't think of why this is happening. @PeterT's suggestion about special characters in your username is about the only thing I can think of. But, I also woudn't expect that to be the case for a portable install. But, what directory are you installing calibre to?

I might be able to get a clue from a debug log. Could you run calibre in debug mode, repeat the above and post the log? Debug mode is started by right-clicking on the preferences button and choosing the option. Calibre will restart and display a message about debug mode. Do the above actions and then close calibre. It will then display the debug log. Post that, or PM it to me if your prefer.
Attached Files
File Type: txt tmpm92nig-bug.txt (2.5 KB, 187 views)
File Type: txt tmpenzv48-withOutError.txt (3.2 KB, 196 views)
Svens is offline   Reply With Quote