Ver 0.3.0 - bad argument #1 to 'ipairs'

Ver 0.3.0 - bad argument #1 to 'ipairs'

Postby Venn » 28 Mar 2011, 21:55

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?
Venn
 
Posts: 11
Joined: 27 Jan 2011, 01:50

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

Postby amuzen » 29 Mar 2011, 05:50

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.
User avatar
amuzen
LoS Moderator
 
Posts: 327
Joined: 05 Dec 2009, 02:49

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

Postby Venn » 31 Mar 2011, 04:34

Venn
 
Posts: 11
Joined: 27 Jan 2011, 01:50

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

Postby TheAncientGoat » 31 Mar 2011, 09:18

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
User avatar
TheAncientGoat
Community Moderator
 
Posts: 518
Joined: 27 Dec 2009, 19:06

Who is online

Users browsing this forum: No registered users and 1 guest