PDA

View Full Version : Error when quitting



ROTOR
09-01-2017, 06:04 AM
I've been getting this error since yesterday after my mac froze on me and I had to power it off to reboot. The game/scripts all still seem to function as normal, but would be nice to remove the error.

This is what I'm seeing when I type 'quit':

--- Lich: error: database disk image is malformed
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `step'
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `block in each'
--- Lich: error: database disk image is malformed
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `step'
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `block in each'
--- Lich: error: database disk image is malformed
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `step'
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `block in each'
--- Lich: UberBarWiz has exited.
--- Lich: error: database disk image is malformed
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `step'
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `block in each'

Any idea how to fix it? It took a lot of work (and outside help) to get lich working on my mac, so am hesitant to start uninstalling/re-installing stuff without making sure it's the right thing.

Thanks in advance.

ROTOR
09-01-2017, 06:10 AM
Actually getting the same error logging on as well, but as I said, gameplay doesn't seem to be effected so far.

ROTOR
09-01-2017, 06:34 AM
Looks like one or more of my scripts is causing the problem.... maybe info isn't being saved/recalled properly.

arallax
06-08-2022, 08:59 PM
I've been getting this error since yesterday after my mac froze on me and I had to power it off to reboot. The game/scripts all still seem to function as normal, but would be nice to remove the error.

This is what I'm seeing when I type 'quit':

--- Lich: error: database disk image is malformed
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `step'
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `block in each'
--- Lich: error: database disk image is malformed
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `step'
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `block in each'
--- Lich: error: database disk image is malformed
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `step'
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `block in each'
--- Lich: UberBarWiz has exited.
--- Lich: error: database disk image is malformed
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `step'
/Users/danbw/.rbenv/versions/2.2.5/lib/ruby/gems/2.2.0/gems/sqlite3-1.3.13/lib/sqlite3/statement.rb:108:in `block in each'

Any idea how to fix it? It took a lot of work (and outside help) to get lich working on my mac, so am hesitant to start uninstalling/re-installing stuff without making sure it's the right thing.

Thanks in advance.

Anyone figure out a solution on this? Having the same problem after my laptop died earlier.

arallax
06-08-2022, 11:45 PM
Problem solved! Need to rename lich3.db and log all characters. Once you bring another character on everything seems to work. Sucks that you have to reset everything, but at least lich works....