DatabaseError

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
ugokanain
Release Testers
Release Testers
Posts: 89
Joined: March 19th, 2008, 6:45 pm

DatabaseError

Post by ugokanain »

I been getting a few errors:

Code: Select all

Traceback (most recent call last):
  File "sabnzbd/database.pyc", line 104, in execute
DatabaseError: database disk image is malformed
2014-03-28 19:00:22,936::ERROR::[database:111] SQL Command Failed, see log
2014-03-28 19:00:22,936::DEBUG::[database:112] SQL: select count(*) from History WHERE name LIKE ?
2014-03-28 19:00:22,936::INFO::[database:113] Traceback: 
Traceback (most recent call last):
  File "sabnzbd/database.pyc", line 104, in execute
DatabaseError: database disk image is malformed
2014-03-28 19:00:22,936::ERROR::[database:111] SQL Command Failed, see log
2014-03-28 19:00:22,936::DEBUG::[database:112] SQL: SELECT * FROM history WHERE name LIKE ? ORDER BY completed desc LIMIT ?, ?
2014-03-28 19:00:22,937::INFO::[database:113] Traceback: 
Restarted Sab, even stopped all dls, but still get this error

Just got a new error
2014-03-28 19:21:44,333::DEBUG::[database:112] SQL: INSERT INTO history (completed, name, nzb_name, category, pp, script, report,
url, status, nzo_id, storage, path, script_log, script_line, download_time, postproc_time, stage_log,
downloaded, completeness, fail_message, url_info, bytes)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
2014-03-28 19:21:44,334::INFO::[database:113] Traceback:
Traceback (most recent call last):
File "sabnzbd/database.pyc", line 104, in execute
DatabaseError: database disk image is malformed
ugokanain
Release Testers
Release Testers
Posts: 89
Joined: March 19th, 2008, 6:45 pm

Re: DatabaseError

Post by ugokanain »

Deleted history1.db and it seems to work fine now
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: DatabaseError

Post by shypike »

Any file on a disk system can get corrupted.
SABnzbd could handle this a bit more gracefully.
ugokanain
Release Testers
Release Testers
Posts: 89
Joined: March 19th, 2008, 6:45 pm

Re: DatabaseError

Post by ugokanain »

bite your tongue ;)

hope you are doing well
Post Reply