View Single Post
Old 02-11-2023, 04:11 AM   #21
wold
Zealot
wold knows better than to ask about the Gravitic Imploder Lance.wold knows better than to ask about the Gravitic Imploder Lance.wold knows better than to ask about the Gravitic Imploder Lance.wold knows better than to ask about the Gravitic Imploder Lance.wold knows better than to ask about the Gravitic Imploder Lance.wold knows better than to ask about the Gravitic Imploder Lance.wold knows better than to ask about the Gravitic Imploder Lance.wold knows better than to ask about the Gravitic Imploder Lance.wold knows better than to ask about the Gravitic Imploder Lance.wold knows better than to ask about the Gravitic Imploder Lance.wold knows better than to ask about the Gravitic Imploder Lance.
 
Posts: 129
Karma: 87012
Join Date: Apr 2021
Device: Lux 5, Libra 2, PRS-T2N
Quote:
Originally Posted by EricTyson View Post
Hi There,

I am currently trying to figure out how to get annotations from my PB700 (Era) to my computer. Thus I installed the PB-tools and ran the "fetch / merge annotations" command. Unfortunately I got this response, any idea / tip what I am overseeing?

Code:
calibre, version 6.12.0
ERROR: Unhandled exception: <b>NameError</b>:name 'db' is not defined

calibre 6.12  embedded-python: True
macOS-12.3.1-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '21.4.0', 'Darwin Kernel Version 21.4.0: Fri Mar 18 00:45:05 PDT 2022; root:xnu-8020.101.4~15/RELEASE_X86_64')
Python 3.10.1
OSX: ('12.3.1', ('', '', ''), 'x86_64')
Interface language: None
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Annotations (1, 17, 13) && Obok DeDRM (10, 0, 3) && Pocketbook Tools (0, 9, 6)
Traceback (most recent call last):
  File "calibre_plugins.pocketbook_tools.ui", line 488, in show_mergefix_annotations
    report += 'Nothing found to fix for %s<br />.' % db
NameError: name 'db' is not defined
I am using Calibre 6.12.0 and my PB700 runs on U700.6.7.1555.
Hi, use the "Export Highlights to HTML" option instead. But it will likely report the same error, as the database can't be found. Odd. My PB is now also at firmware 6.7, and works OK with Calibre 5 and the plugin. It is possible the highlighting database has been relocated, at least for a new stock Era reader.

Could you try these things:
1) locate the "books.db" file on your Era, and provide its exact path? (that should be system/config/books.db). If that fails, try and find any file with a .db extension (should be 5-6 at most, pick the most likely ones except the explorer.db).

2) enable debug messaging for the plugin via "Customize plugin" > bottom most option, and provide a log with more details.
wold is offline   Reply With Quote