Syzgyn's Avatar
Files 8
Downloads 108,023
Favorites 756
My AddOns
View Bug Report
Error blocking all use.
Bug #: 5815
File: Urban Achiever
Date: 05-11-09 05:03 AM
By: Kerecha
Status: Awaiting Feedback
Started getting 2 errors yesterday that blocks all ise of UA.

First one pops when klicking the achievement button:

Code:
[2009/05/11 01:56:43-3568-x1]: UrbanAchiever\Main.lua:469: attempt to index field 'frame' (a nil value)
UrbanAchiever\Main.lua:347: in function <Interface\AddOns\UrbanAchiever\Main.lua:346>

  ---
The error pops and nothing more happends.

Second one pops seemingly random in conection to questing, has happened both when completing and abanding quests:

Code:
[2009/05/11 12:58:58-3571-x1]: UrbanAchiever\Main.lua:1565: attempt to index field 'frame' (a nil value)
UrbanAchiever\Main.lua:242: in function <Interface\AddOns\UrbanAchiever\Main.lua:241>
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0-3 (Ace3):91: in function `Fire'
AceEvent-3.0-3 (Ace3):119: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:118>

  ---

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Syzgyn - 05-11-09 05:51 PM
Do you get the same error with no other addons on?
By: Kerecha - 05-12-09 03:12 PM
I haven't gotten the error for a while now so it might have sorted itself.
By: Kerecha - 05-12-09 04:58 PM
[2009/05/13 00:55:19-3598-x3]: UrbanAchiever\Main.lua:1565: attempt to index field 'frame' (a nil value)
UrbanAchiever\Main.lua:242: in function <Interface\AddOns\UrbanAchiever\Main.lua:241>
<string>:"safecall Dispatcher[1]":4: in function <[string "safecall Dispatcher[1]"]:4>
<in C code>: ?
<string>:"safecall Dispatcher[1]":13: in function `?'
CallbackHandler-1.0-3 (Ace3):91: in function `Fire'
AceEvent-3.0-3 (Ace3):119: in function <Interface\AddOns\Ace3\AceEvent-3.0\AceEvent-3.0.lua:118>

---


Still pops at random, this time when looting a fish. Can't figure any way to test for it without other addons short of raiding and playing hours at end with default UI, and at that expence, well, i rather just delete the addon cos i can't stand the default UI at all
By: Jncl - 12-16-09 01:59 PM
Hi Syzgyn,

I think the problem is caused by the fact that if UrbanAchiever is the last Addon loaded the Initialize code doesn't get run.

If you change the name of the function to OnInitialize, this is an AceAddon feature, then it will get run, and the code for ADDON_LOADED isn't needed anymore.

HTH

Jncl
By: Tomate - 09-16-10 07:38 AM
Should be fix now (for a while).
Please post the error log if that is still happens.