Page 1 of 1

Ver 0.3.0 - bad argument #1 to 'ipairs'

PostPosted: 28 Mar 2011, 21:55
by Venn
I get this from the Ubuntu PPA and the git repo. Any ideas on this one? Planning on giving the new version a capture.

{l Code}: {l Select All Code}
venn@venn-M61PME-S2P:/media/storage/linuxgamecast/video/lipsofsuna$ ./lipsofsunaINFO: Loading client scripts.
ERROR: SQL prepare: database disk image is malformed
ERROR: SQL prepare: database disk image is malformed
ERROR: SQL prepare: database disk image is malformed
ERROR: SQL prepare: database disk image is malformed
ERROR: SQL prepare: database disk image is malformed
ERROR: SQL prepare: database disk image is malformed
ERROR: ...ofsuna/data/lipsofsuna/scripts/client/quickslots.lua:117: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
   [C]: in function 'ipairs'
   ...ofsuna/data/lipsofsuna/scripts/client/quickslots.lua:117: in function 'load'
   ...ofsuna/data/lipsofsuna/scripts/client/quickslots.lua:25: in function 'init'
   ...ofsuna/data/lipsofsuna/scripts/client/quickslots.lua:140: in main chunk
   [C]: in function 'require'
   ...o/lipsofsuna/data/lipsofsuna/scripts/client/main.lua:51: in main chunk
   [C]: in function 'require'
   ...st/video/lipsofsuna/data/lipsofsuna/scripts/main.lua:96: in main chunk


Cheers,
Venn

P.S.
Is there a way to set this critter in 1280x768 windowed?

Re: Ver 0.3.0 - bad argument #1 to 'ipairs'

PostPosted: 29 Mar 2011, 05:50
by amuzen
It sounds like your save files could be corrupted. Try to remove them with:

rm ~/.local/share/lipsofsuna/save/lipsofsuna/*

You can resize the game window to any size in the windowed mode. If you want to set a specific size without manually resizing the window to it, the only way currently (apart from manually editing options.sqlite) is to switch to a fullscreen mode of the wanted size and then back to windowed.

Re: Ver 0.3.0 - bad argument #1 to 'ipairs'

PostPosted: 31 Mar 2011, 04:34
by Venn

Re: Ver 0.3.0 - bad argument #1 to 'ipairs'

PostPosted: 31 Mar 2011, 09:18
by TheAncientGoat
Awesome, some Linux gaming royalty in here :D. Venn, you and Qubodup should team up, he makes a crudload of Linux gaming videos as well, but doesn't want to narrate it, which I think adds a lot of value to your vids