promisedplanet
Member
Coder_TimT said:Promised Planet said:I narrowed the number of MP3 files in my music folder to four, with no parent folders. I then attempted to update the DB in ommpc but again got the pickle launcher menu. I took a look at the config, as you suggested ...
There is no .mpderror file.
The .mpdlog file contains the following:
Oct 16 10:48 : state_file: failed to open /mnt/sd/apps/ommpc/.mpdstate: No such file or directory
Oct 16 10:48 : unable to read oss volume
Oct 16 10:48 : unable to set oss volume
The script already directs output to an ommpc_run.log file, which appears to contain normal info (as I remember it from the Wiz), but also contains the following info at the bottom of the log:
finished updating mpd db
updating song db
sql error: no such table: songs
unable to delesql error: no such table: songs
terminate called after throwing an instance of 'std::runtime_error'
what(): sql error: no such table: songs
Aborted
=======> no PickleLauncher
=======> But a MPD, starting the launcher
Cool, I think that might be helpful. The song information is stored in a sqlite database file named songdb. It looks like something is wrong with that. I made the (probably poor) decision to not actually create the database structure in code and instead provide a default songdb file that contains the correct database structure but no data. So it appears that file doesn't contain the database structures it's expected. I would try the default one from a fresh download and see if that gets you anywhere...
I actually did get a fresh download from the Caanoo file archive: http://dl.openhandhelds.org/cgi-bin/caanoo.cgi?0,0,0,0,6,749
The songdb file contained within the archive is zero bytes in size.
Last edited by a moderator: