![]() |
#136 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,304
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I was tempted to do another edit but with 7.26.104 running from source, the error when ejecting a Kobo no longer occurs. Looking at the source for the Kobo driver.py file, it appears to be due to changes in the def device_version_info section now handling None properly.
|
![]() |
![]() |
![]() |
#137 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Mar 2025
Device: Kobo Clara BW
|
Quote:
|
|
![]() |
![]() |
![]() |
#138 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Mar 2025
Device: Kobo Clara BW
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#139 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50
Karma: 6306
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
|
Quote:
I have no idea about the garbage in the config file, please let me know if you find anything reproducible. |
|
![]() |
![]() |
![]() |
#140 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50
Karma: 6306
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
|
Quote:
|
|
![]() |
![]() |
![]() |
#141 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,304
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
I reverted to the saved file with the garbage at the end and it seemed to make no difference to 7.26.104. So ghod alone knows when it was added. As to why it seems to work once when I rebuilt the config file? There are some answers the minds of mere mortals are not meant to know. |
|
![]() |
![]() |
![]() |
#142 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50
Karma: 6306
Join Date: Aug 2023
Location: New Zealand
Device: Kobo Clara HD, Kobo Libra Colour
|
The odd thing is that the plugin wasn't actually passing anything to the function, the function didn't take any parameters until the fix. So wherever the None came from it wasn't the plugin.
|
![]() |
![]() |
![]() |
#143 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 43,304
Karma: 165170674
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Actually, the None did come from the plugin. I lifted the line numbers from the error message and at line 2665 in action.py, the following is seen:
Code:
version_info = None device_version_info = device.device_version_info() if device_version_info is not None: Code:
def device_version_info(self): debug_print('device_version_info - start') if not self._device_version_info: version_file = os.path.join(self._main_prefix, KOBO_ROOT_DIR_NAME, 'version') Code:
def device_version_info(self, reload: bool = False): debug_print('device_version_info - start') if self._device_version_info is None or reload: self._device_version_info = [] version_file = os.path.join(self._main_prefix, KOBO_ROOT_DIR_NAME, 'version') |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Kobo Utilities | davidfor | Plugins | 3216 | 02-08-2025 04:23 AM |
[GUI Plugin] Noosfere_util, a companion plugin to noosfere DB | lrpirlet | Plugins | 2 | 08-18-2022 03:15 PM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
Kobo Utilities Plugin Question | nikev | Kobo Reader | 10 | 09-25-2018 11:55 PM |