aux

aux

1M Downloads

attempt to perform arithmetic on field `time' (a nil value)

Opened this issue ยท 5 comments

commented

When trying to do a full auction scan. I often, but not always, get this error during the scan (around page 12-20 over 170-210):

Interface\AddOns\Aux-AddOn\history.lua:76: attempt to perform arithmetic on field `time' (a nil value)

If I click Okay, it is followed by this error:

Interface\AddOns\Aux-AddOn\control.lua:30: attempt to call local `k' (a nil value)

I can click Okay at this message but it will always come back, so I have to close the auction window.

I am not versed at all in Lua and AddOn programming, so didn't take a look at the code. So I am totally unsure about what causes this. But since it doesn't always happen, it might be related to a specific auction listing causing it?

commented

Hello, I'm having the same issue InfoDav was having.

ss 2016-12-14 at 06 53 39

I have tried the commands you recommended, but maybe "/aux clear history" has been removed in later versions? I also tried "/aux clear item cache", but I don't know if that is a similar function.

I also deleted the aux-addon.lua in my SavedVariables, but that didn't fix it. This problem started happening after I updated my version of aux, so its probably the same issue but I don't know how to fix it.

commented

You need to delete the account-wide savedvariable file (and delete it while logged out)

commented

That fixed it, didn't notice there was an account wide file. Thank you very much for the instant response.

commented

Sounds like you updated from an old version that didn't save the timestamps without clearing the database at some point. Try /aux clear history + /reload.

commented

You were right. Everything is working perfectly fine now.