Re: [Freevo-users] database disk image is malformed

2010-01-25 Thread Duncan Webb
mclu...@wp.pl wrote:
 Hello
 I have problem during 'freevo cache' executing
 Everything worked fine until whole free space of system partition has 
 been utilized.
 I save partition image and move it to bigger drive (then I had to use 
 fsck to fix free space problem).
From that moment everything seem to work fine, but every time I need to 
 issue cache command, I get this:
 
 creating audio metadata... done
 creating playlist metadata
 bad path: /etc/freevo/webradio.fxddone
 checking database.
 Traceback (most recent call last):
   File /usr/lib/python2.6/dist-packages/freevo/helpers/cache.py, line 
 587, in module
 create_metadata()
   File /usr/lib/python2.6/dist-packages/freevo/helpers/cache.py, line 
 388, in create_metadata
 util.extendedmeta.addPathDB(dir[1], dir[0], verbose=False)
   File /usr/lib/python2.6/dist-packages/freevo/util/extendedmeta.py, 
 line 83, in addPathDB
 for row in db.runQuery('SELECT path, filename FROM music'):
   File /usr/lib/python2.6/dist-packages/freevo/util/dbutil.py, line 94, 
 in runQuery
 self.cursor.execute(query)
   File /usr/lib/python2.6/dist-packages/sqlite/main.py, line 244, in 
 execute
 self.rs = self.con.db.execute(SQL)
 _sqlite.DatabaseError: database disk image is malformed
 
 How can I fix this?

delete the .db file and (/var/cache/freevo/freevo.db*) and during the 
next cache it will be rebuilt. Anything in /var/cache/freevo/ can be 
safely removed.

Duncan

--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users


[Freevo-users] database disk image is malformed

2010-01-22 Thread mclusky
Hello
I have problem during 'freevo cache' executing
Everything worked fine until whole free space of system partition has 
been utilized.
I save partition image and move it to bigger drive (then I had to use 
fsck to fix free space problem).
From that moment everything seem to work fine, but every time I need to 
issue cache command, I get this:

creating audio metadata... done
creating playlist metadata
bad path: /etc/freevo/webradio.fxddone
checking database.
Traceback (most recent call last):
  File /usr/lib/python2.6/dist-packages/freevo/helpers/cache.py, line 
587, in module
create_metadata()
  File /usr/lib/python2.6/dist-packages/freevo/helpers/cache.py, line 
388, in create_metadata
util.extendedmeta.addPathDB(dir[1], dir[0], verbose=False)
  File /usr/lib/python2.6/dist-packages/freevo/util/extendedmeta.py, 
line 83, in addPathDB
for row in db.runQuery('SELECT path, filename FROM music'):
  File /usr/lib/python2.6/dist-packages/freevo/util/dbutil.py, line 94, 
in runQuery
self.cursor.execute(query)
  File /usr/lib/python2.6/dist-packages/sqlite/main.py, line 244, in 
execute
self.rs = self.con.db.execute(SQL)
_sqlite.DatabaseError: database disk image is malformed

How can I fix this?
Regards
Maciej



--
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
___
Freevo-users mailing list
Freevo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freevo-users