You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "C:\Users\Server\Downloads_Headphones\lib/cherrypy_cprequest.py", line 656, in respond
response.body = self.handler()
File "C:\Users\Server\Downloads_Headphones\lib/cherrypy\lib\encoding.py", line 188, in call
self.body = self.oldhandler(_args, *_kwargs)
File "C:\Users\Server\Downloads_Headphones\lib/cherrypy_cpdispatch.py", line 34, in call
return self.callable(_self.args, *_self.kwargs)
File "C:\Users\Server\Downloads_Headphones\headphones\webserve.py", line 399, in upcoming
upcoming = myDB.select("SELECT * from albums WHERE ReleaseDate > date('now') order by ReleaseDate ASC")
File "C:\Users\Server\Downloads_Headphones\headphones\db.py", line 90, in select
sqlResults = self.action(query, args).fetchall()
File "C:\Users\Server\Downloads_Headphones\headphones\db.py", line 68, in action
sqlResult = self.connection.execute(query)
DatabaseError: database disk image is malformed
Possible fix:
install sqlite3 if not already installed.
cd into your headphonesdirectory
Run the command CODE: SELECT ALL
mv headphones.db headphones.db.bak
Run the command CODE: SELECT ALL
sqlite3 headphones.db.bak .dump | sqlite3 headphones.db
Win7 x64 Python27
Error: "Fatal Error executing UPDATE descriptions SET Content = ?, LastUpdated = ?, Summary = ? WHERE ArtistID = ? :: database disk image is malformed"
The text was updated successfully, but these errors were encountered: