I ran positron config, configured a sync point, and a (place to download
recordings), then ran positron sync, just to see that it seemed to work, before
getting down to installing some music. Both configured directories were empty,
and the Neuros player was fresh out of the box.
The error message that printed out was:
boojum:~> positron sync
Synchronizing Neuros music database.
Checking for new music... None.
Checking for new recordings... None.
Traceback (most recent call last):
File "/usr/bin/positron", line 175, in ?
main(sys.argv)
File "/usr/bin/positron", line 157, in main
cmd.run(config, myNeuros, remaining[1:])
File
"/home/jack/src/positron/dist/positron-1.0/debian/positron/usr/lib/python2.2/site-packages/positron/cmd_sync.py",
line 165, in run
File
"/home/jack/src/positron/dist/positron-1.0/debian/positron/usr/lib/python2.2/site-packages/positron/db/WOID.py",
line 327, in count_deleted
File
"/home/jack/src/positron/dist/positron-1.0/debian/positron/usr/lib/python2.2/site-packages/positron/db/MDB.py",
line 294, in count_deleted
File
"/home/jack/src/positron/dist/positron-1.0/debian/positron/usr/lib/python2.2/site-packages/positron/db/MDB.py",
line 189, in read_record_at
File
"/home/jack/src/positron/dist/positron-1.0/debian/positron/usr/lib/python2.2/site-packages/positron/db/util.py",
line 74, in fread_wordstruct.error: unpack str size does not match format
The workaround was to add a single mp3 file to the configured sync directory and
sync again. After that, everything was ok, even after I deleted the mp3 and
re-ran sync. So, not a big deal, which is why I marked as minor, but not totally
trivial IMHO, because, well, crashes are bad. :^)
Sorry my Python skills aren't up to fixing this myself yet; hope this bug report
has enough info to reproduce and fix.