Frontend Tech + >> MAMEUI & IV/Play
View all threads Index   Threaded Mode Threaded  

Pages: 1

lore
MAME Fan
Reged: 03/18/18
Posts: 10
Send PM


LUA ERRROR
#374837 - 03/18/18 02:31 AM




...any idea?

Thanks in advance

ps. v0.195



RobbbertModerator
Sir
Reged: 08/21/04
Posts: 3203
Loc: A long way from you
Send PM


Re: LUA ERRROR new [Re: lore]
#374948 - 03/20/18 02:06 PM


>



AntoPISA
MAME Snapper
Reged: 09/15/08
Posts: 2906
Loc: Pisa, Italy
Send PM


Re: LUA ERRROR new [Re: lore]
#374950 - 03/20/18 03:16 PM


Try deleting history.db and restart your MAMEUI.



Site: https://www.progettosnaps.net/
Board: progetto-SNAPS Official Board
Twitter: @progettosnaps



lore
MAME Fan
Reged: 03/18/18
Posts: 10
Send PM


Re: LUA ERRROR new [Re: AntoPISA]
#374966 - 03/20/18 09:04 PM


> Try deleting history.db and restart your MAMEUI.

thanks for helping me.

Already tried, same error...



lore
MAME Fan
Reged: 03/18/18
Posts: 10
Send PM


Re: LUA ERRROR new [Re: Robbbert]
#374967 - 03/20/18 09:14 PM


> > ...any idea?
> >
> > Thanks in advance
> >
> > ps. v0.195
>
> Unable to open history.db

I tried to extract it again form the MAMEUI 0.195 but nothing...is the file only 12 KB...is the file itself the problem?

Thanks



Bad A Billy
Oop Ack!
Reged: 12/27/07
Posts: 1077
Loc: Outland
Send PM


Re: LUA ERRROR new [Re: lore]
#374979 - 03/21/18 04:00 AM Attachment: history.7z 8196 KB (3 downloads)


>>> ...is the file only 12 KB...is the file itself the problem?

I'd say yes. It should be ~51k. Try this one.



Pessimist: Oh, this can't get any worse!
Optimist: Yes, it can!



lore
MAME Fan
Reged: 03/18/18
Posts: 10
Send PM


Re: LUA ERRROR new [Re: Bad A Billy]
#374991 - 03/21/18 04:55 PM


> >>> ...is the file only 12 KB...is the file itself the problem?
>
> I'd say yes. It should be ~51k. Try this one.

thanks...I downloaded and extract the file in "DATs" directory but still the same error when I load a rom...



AntoPISA
MAME Snapper
Reged: 09/15/08
Posts: 2906
Loc: Pisa, Italy
Send PM


Re: LUA ERRROR new [Re: lore]
#374993 - 03/21/18 06:10 PM


Just to do an experiment: delete from that folder both "history.db" and "mameinfo.dat" and restart your MAMEUI.

Here, with the UI 0.195 version, history.dat no longer creates the .db file.



Site: https://www.progettosnaps.net/
Board: progetto-SNAPS Official Board
Twitter: @progettosnaps



lore
MAME Fan
Reged: 03/18/18
Posts: 10
Send PM


Re: LUA ERRROR new [Re: AntoPISA]
#374995 - 03/21/18 08:20 PM


> Just to do an experiment: delete from that folder both "history.db" and
> "mameinfo.dat" and restart your MAMEUI.
>
> Here, with the UI 0.195 version, history.dat no longer creates the .db file.

thanks...no way...still same error...



lore
MAME Fan
Reged: 03/18/18
Posts: 10
Send PM


Re: LUA ERRROR new [Re: lore]
#375200 - 03/29/18 05:40 PM


new version of MAMEUI (0.196) and new error:




crazyc
MAME Fan
Reged: 06/23/16
Posts: 62
Send PM


Re: LUA ERRROR new [Re: lore]
#375207 - 03/29/18 10:03 PM


Replace plugins/data/database.lua with this.



lore
MAME Fan
Reged: 03/18/18
Posts: 10
Send PM


Re: LUA ERRROR new [Re: crazyc]
#375214 - 03/30/18 12:23 AM


> Replace plugins/data/database.lua with this.

thanks! I tried...but the error this time is:

"Unable to create history.db"



crazyc
MAME Fan
Reged: 06/23/16
Posts: 62
Send PM


Re: LUA ERRROR new [Re: lore]
#375225 - 03/30/18 02:55 PM


That's the real error. You need to either find out why history.db isn't be opened properly (maybe something wrong with historypath) or disable the data plugin in your plugins.ini.



lore
MAME Fan
Reged: 03/18/18
Posts: 10
Send PM


Re: LUA ERRROR new [Re: crazyc]
#375231 - 03/30/18 03:43 PM


>That's the real error. You need to either find out why >history.db isn't be opened
>properly (maybe something wrong with historypath) or >disable the data plugin in your
>plugins.ini.


a very bid "dilemma"...
I can not found any "plugins.ini" in my MAMAEUI dir...
I put all dats files in MAMEUI/DATs
My "data_history.lua" is this:

local dat = {}
local ver, info
local datread = require("data/load_dat")
datread, ver = datread.open("history.dat", "## REVISION:")

function dat.check(set, softlist)
if not datread then
return nil
end
local status
status, info = pcall(datread, "bio", softlist or "info", set)
if not status or not info then
return nil
end
return _("History")
end

function dat.get()
return info
end

function dat.ver()
return ver
end

return dat


Pages: 1

Frontend Tech + >> MAMEUI & IV/Play
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  John IV, Robbbert 
0 registered and 5 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2971