View Single Post
Old 01-22-2015, 07:20 PM   #162
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by eschwartz View Post
When using kterm
Code:
cd /mnt/us/librariansync/
./generate_collections.py -export > export.log 2>&1
It builds a partial list in /mnt/us/extensions/exported_collections.json and then conks out with the following export.log:

Code:
Traceback (most recent call last):
  File "./generate_collections.py", line 323, in <module>
    export_existing_collections(c)
  File "./generate_collections.py", line 242, in export_existing_collections
    export.update(collection.to_calibre_plugin_json())
  File "/mnt/us/extensions/librariansync/kindle_contents.py", line 113, in to_calibre_plugin_json
    "items": self.build_legacy_hashes_list(),
  File "/mnt/us/extensions/librariansync/kindle_contents.py", line 98, in build_legacy_hashes_list
    if e.cdekey.startswith('*'):
AttributeError: 'NoneType' object has no attribute 'startswith'
Kindle Touch 5.3.7
librariansync = Update_librariansync_1.6_kindle5.bin
python snapshot = kindle-python-0.10.N-r10933.tar.xz
Quote:
Originally Posted by NiLuJe View Post
@eschwartz: Hmm, could you PM me a copy of your /var/local/cc.db?

(It looks like there's a book entry without a cdeKey set, which shouldn't happen, so I simply assumed it would always exist, an assumption which obviously blows up in our face in this case).
Quote:
Originally Posted by eschwartz View Post
Sorry. I will remember next time (if there is one) to backup the db before I export with CM and reregister and rebuild the db with librariansync -- which worked beautifully.
Well, I got it again.

This time I copied cc.db

Attached is my cc.db, I am PMing you and barsanuphe the password. (can't attach stuff to a PM, and I am too lazy to outsource to Dropbox/etc.)
Attached Files
File Type: zip ls-errors_cc.db.zip (903.4 KB, 236 views)
eschwartz is offline   Reply With Quote