Forums


WoW Raid Manager :: Forums :: RIM Support Forum
<< Previous thread | Next thread >>   

RIM v0.04007 will not load (Error: Line 750 - Read First!)

Author Post
Pompel
Sat Jul 04 2009, 12:19PM
Registered Member #1142
Joined: Thu Jul 02 2009, 07:23PM
Posts: 21
Hi

After installing the RIM addon i got the chat message :
WRM:RIM>RIM Settings reset!Major Version Change

And when i click on minimap to open UI it says :
Data Updating. Please Wait ....

and it stays at that for 3-4 min and i get the
Your addons are expiriencing a large number of errors..
error message
Interface\addons\RIM\RIM.lua:603 attempt to compare nil with number

Interface\addons\RIM\RIM.lua:750:attempt to index field '?' (a nil value)

When i mouseover the minimap icon the popup says
Data Updated 07/04/2009 15:36

And it doesnt load any characters signed for raids or not signed for raids.

Is this the latest version or have i done something wrong here.

When i installed the addon i extracted it into addons folder with the filestructure that was in the package i downloaded,added the phpRaid_data.lua in addons/Rim folder from the lua output generated from the WRM.
I dont have any names written with special letters,only a-z letters used.And i havent altered any of the files from the download from wowinterface and the Capital letters used is exactly the same as ingame and in WRM.

I am open for any suggestions

phpRaid_Data = {
    ["lua_version"] = "31",
    ["file_stamp"] = "20090704153621",
    ["guild"] = "Sentinels of Shadowsong",
    ["server"] = "Shadowsong",
    ["raid_count"] = "2",
    ["raids"] = {
        [0] = {
            ["location"] = "Naxxramas",
            ["date"] = "07/03/2009",
            ["invite_time"] = "0400",
            ["start_time"] = "0600",
            ["event_type"] = "1",
            ["description"] = "-",
            ["queue_count"] = "0",
            ["deathknights_count"] = "1",
            ["druids_count"] = "0",
            ["hunters_count"] = "0",
            ["mages_count"] = "2",
            ["paladins_count"] = "0",
            ["priests_count"] = "0",
            ["rogues_count"] = "0",
            ["shamans_count"] = "0",
            ["warlocks_count"] = "0",
            ["warriors_count"] = "0",
            ["queue"] = {
            },
            ["warriors"] = {
            },
            ["paladins"] = {
            },
            ["hunters"] = {
            },
            ["rogues"] = {
            },
            ["priests"] = {
            },
            ["deathknights"] = {
                [0] = {
                    ["name"] = "Spookyrider",
                    ["level"] = "80",
                    ["class"] = "Death Knight",
                    ["race"] = "Dwarf",
                    ["team_name"] = "",
                    ["access_type"] = "Admin",
                    ["comment"] = "",
                    ["timestamp"] = "07/03/2009 - 02:01 am",
                },
            },
            ["shamans"] = {
            },
            ["mages"] = {
                [0] = {
                    ["name"] = "Loffern",
                    ["level"] = "80",
                    ["class"] = "Mage",
                    ["race"] = "Human",
                    ["team_name"] = "",
                    ["access_type"] = "User",
                    ["comment"] = "",
                    ["timestamp"] = "07/03/2009 - 02:37 am",
                },
                [1] = {
                    ["name"] = "Mini",
                    ["level"] = "60",
                    ["class"] = "Mage",
                    ["race"] = "Gnome",
                    ["team_name"] = "",
                    ["access_type"] = "User",
                    ["comment"] = "",
                    ["timestamp"] = "07/03/2009 - 02:35 am",
                },
            },
            ["warlocks"] = {
            },
            ["druids"] = {
            },
        },
        [1] = {
            ["location"] = "Naxxramas",
            ["date"] = "07/04/2009",
            ["invite_time"] = "1745",
            ["start_time"] = "1800",
            ["event_type"] = "1",
            ["description"] = "-",
            ["queue_count"] = "0",
            ["deathknights_count"] = "1",
            ["druids_count"] = "0",
            ["hunters_count"] = "0",
            ["mages_count"] = "2",
            ["paladins_count"] = "0",
            ["priests_count"] = "0",
            ["rogues_count"] = "0",
            ["shamans_count"] = "0",
            ["warlocks_count"] = "0",
            ["warriors_count"] = "0",
            ["queue"] = {
            },
            ["warriors"] = {
            },
            ["paladins"] = {
            },
            ["hunters"] = {
            },
            ["rogues"] = {
            },
            ["priests"] = {
            },
            ["deathknights"] = {
                [0] = {
                    ["name"] = "Spookyrider",
                    ["level"] = "80",
                    ["class"] = "Death Knight",
                    ["race"] = "Dwarf",
                    ["team_name"] = "",
                    ["access_type"] = "Admin",
                    ["comment"] = "",
                    ["timestamp"] = "07/04/2009 - 05:35 pm",
                },
            },
            ["shamans"] = {
            },
            ["mages"] = {
                [0] = {
                    ["name"] = "Loffern",
                    ["level"] = "80",
                    ["class"] = "Mage",
                    ["race"] = "Human",
                    ["team_name"] = "",
                    ["access_type"] = "User",
                    ["comment"] = "",
                    ["timestamp"] = "07/04/2009 - 05:36 pm",
                },
                [1] = {
                    ["name"] = "Mini",
                    ["level"] = "60",
                    ["class"] = "Mage",
                    ["race"] = "Gnome",
                    ["team_name"] = "",
                    ["access_type"] = "User",
                    ["comment"] = "",
                    ["timestamp"] = "07/04/2009 - 05:35 pm",
                },
            },
            ["warlocks"] = {
            },
            ["druids"] = {
            },
        },
    }
}


[ Edited Thu Jul 16 2009, 10:08PM ]
Back to top
Elayne
Sat Jul 04 2009, 09:02PM
Joined: Tue Mar 18 2008, 10:52AM
Posts: 278
Line 603 is dying because either your server name is coming back nil or your guild name....


The whole guild name thing is becoming a royal pain in the ... (no, no, let me go ahead and censor it myself, forums!) as[censored]s....


I believe I'm going to scrap the current "next version" and look into rebuilding something else to replace server/guild name ....


In the mean time, you can find out which by adding the following after line 571:

RIM.Print("echo", nil, RIM_myServer);
RIM.Print("echo", nil, RIM_myGuild);


In theory, this should print out "Shadowsong" and "Sentinels of Shadowsong" respectively.... If one of them comes back with a "No message to print" ... then that's the one that's failing.


If you can let me know which, that might help in building another ... validation method. Thanks :)

Hi, my name is Elayne, and I ... am a UI addict.

http://elayneff.wowinterface.com - The Exclusive Home of RIM!
Back to top
Pompel
Sun Jul 05 2009, 05:38AM
Registered Member #1142
Joined: Thu Jul 02 2009, 07:23PM
Posts: 21
Thanks for looking into it.

After adding
RIM.Print("echo", nil, RIM_myServer);
RIM.Print("echo", nil, RIM_myGuild);
after line 571 i got some new errors.
But it still does not load the characters

When i login now i get
WRM:RIM>RIM Shadowsong
WRM:RIM>RIM Sentinels of Shadowsong


And the errors
at login
Interface\addons\RIM\RIM.lua:605 attempt to compare nil with number

When opening the UI window
Interface\addons\RIM\RIM.lua:752:attempt to index field '?' (a nil value)

When the chatmessage
WRM:RIM>:New phpLeader : Charactername

then it pops the error
Interface\addons\RIM\RIM.lua:1297:attempt to index field '?' (a nil value)

When i hit the preinvite message i get
Interface\addons\RIM\RIM.lua:860:attempt to index field '?' (a nil value)



Back to top
Naturewhisp
Sun Jul 05 2009, 04:42PM
Registered Member #1045
Joined: Fri May 15 2009, 09:50AM
Posts: 7
Pompel wrote ...

When the chatmessage
WRM:RIM>:New phpLeader : Charactername

then it pops the error
Interface\addons\RIM\RIM.lua:1297:attempt to index field '?' (a nil value)



Think i get the same error:
Date: 2009-07-05 21:27:58
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\RIM\RIM.lua line 1295:
attempt to index field '?' (a nil value)
Debug:
[C]: ?
RIM\RIM.lua:1295: SendBroadcast()
RIM\RIM.lua:1175: ParseIncomingData()
[string "*:OnEvent"]:6:
[string "*:OnEvent"]:1


only difference in line number, but that's because of 2 debug lines added by you i suppose...
Back to top
Illydth
Mon Jul 06 2009, 10:49AM

Joined: Mon Sep 24 2007, 02:51PM
Posts: 1886
Elayne, are you tracking this to anything I've done?

- Douglas Wagner -
Site Admin
Back to top
Elayne
Mon Jul 06 2009, 04:34PM
Joined: Tue Mar 18 2008, 10:52AM
Posts: 278
Given the other thread ... I'm going to update to 4.0.3 locally and see what comes of it.

The Lua file pasted originally LOOKS clean, but obviously there's something going on here.

Side note, I'm assuming our guild site is running the same version that the above users are likely using?


(And to Naturewhisp: Yes, they are the same errors, thanks for confirming that it's happening for more than just the original poster.)

Hi, my name is Elayne, and I ... am a UI addict.

http://elayneff.wowinterface.com - The Exclusive Home of RIM!
Back to top
Elayne
Mon Jul 06 2009, 04:38PM
Joined: Tue Mar 18 2008, 10:52AM
Posts: 278
Illydth, also ...

Our guild site is showing the guild name in the Title bar as:
Cór
instead of the proper o in the middle. I'm assuming this comes from not having re-entered the Guild name (which I can't "fix" because you took my admin privs, meanie!) ;)


Given this ... plus the fact that the Lua file comes out showing the same thing in the guild name ... I'm assuming something is a bit off. Going to try to look further, but if you could fix our guild name, that might help reproduce?

Hi, my name is Elayne, and I ... am a UI addict.

http://elayneff.wowinterface.com - The Exclusive Home of RIM!
Back to top
Illydth
Tue Jul 07 2009, 10:22AM

Joined: Mon Sep 24 2007, 02:51PM
Posts: 1886
Will do, and yes, we're running 4.0.3.

- Douglas Wagner -
Site Admin
Back to top
Illydth
Tue Jul 07 2009, 10:24AM

Joined: Mon Sep 24 2007, 02:51PM
Posts: 1886
Guild site updated...It'll be interesting to see if our next download actually works or not.  LOLOL It's a raid night also, if not and Beli has to invite by hand he's going to kill me.  *ROFL*

I ought to break this consistantly just to [censored] him off. :)

--Illydth

[ Edited Tue Jul 07 2009, 10:24AM ]

- Douglas Wagner -
Site Admin
Back to top
Elayne
Tue Jul 07 2009, 10:41AM
Joined: Tue Mar 18 2008, 10:52AM
Posts: 278
Illydth wrote ...

Guild site updated...It'll be interesting to see if our next download actually works or not.  LOLOL It's a raid night also, if not and Beli has to invite by hand he's going to kill me.  *ROFL*

I ought to break this consistantly just to [censored] him off. :)

--Illydth

lmao...

I thought of this right after I hit submit on the request. I almost edited it to say "ehhh forget it" but I thought better of it. :)


Besides, with someone in-game bitching every raid night and giving me [censored], it'll probably get fixed a little bit quicker. :P

Hi, my name is Elayne, and I ... am a UI addict.

http://elayneff.wowinterface.com - The Exclusive Home of RIM!
Back to top
Elayne
Tue Jul 07 2009, 03:50PM
Joined: Tue Mar 18 2008, 10:52AM
Posts: 278
Solution has been found.

Thanks, Illydth, for screwing up my software YET AGAIN. ;)


Step 1:
edit RIM.lua, line 493.... Change:
                "shaman",

To:
                "shamans",


(Yes, just add a lowercase "s" to the end of the word Shaman.... No, I don't think it's technically correct grammar, but we've known for quite some time that Illydth's grammar and spelling sucks.)


Step 2:
Log in game and type:
/script wipe(phpRaidSave); ReloadUI();



Problems should be solved, all should be well.


Expect the "s" change in step one to be added to the next release.... However, the "wipe()" command will need to be done manually and should only need done on multi-byte guild names (I think!) ... so I won't be hard coding this one in as it's only a one-time thing in relation to the v4.0.3WRM changes.



(P.S., Illydth ... Beli is still gonna have a cow. It'll be awesome! Try to log in early to see the fireworks! ;) But I will have my version corrected and data updated so he can still invite properly. lol)

[ Edited Thu Jul 16 2009, 10:09PM ]

Hi, my name is Elayne, and I ... am a UI addict.

http://elayneff.wowinterface.com - The Exclusive Home of RIM!
Back to top
Pompel
Tue Jul 07 2009, 04:31PM
Registered Member #1142
Joined: Thu Jul 02 2009, 07:23PM
Posts: 21
Thanks for the fix.Works like a charm now :)

Was about to say that it didnt work but after a 3-4 relogs it worked,the error was probably stored in the cache file in the game or something.

Back to top
Elayne
Tue Jul 07 2009, 07:39PM
Joined: Tue Mar 18 2008, 10:52AM
Posts: 278
Excellent, glad to hear it! :)

Anyone else good or still erroring? :)

Hi, my name is Elayne, and I ... am a UI addict.

http://elayneff.wowinterface.com - The Exclusive Home of RIM!
Back to top
Illydth
Wed Jul 08 2009, 12:52PM

Joined: Mon Sep 24 2007, 02:51PM
Posts: 1886
*/bow* Thank you thank you thank you, I'm here till Tuesday.

Anything I can do to screw up your software, please don't hesitate to let me know, I'm a professional afterall.. :)

In my defense on the "shamans" thing, yes I know the plural of Shaman is not Shamans...however you have to understand how the code works. To keep the software from doing exactly what it did I didn't make it "warrior, death knight, rogue" etc. I kept the "s" on the end like it has always been (warriors, rogues, death knights, etc.). The problem is now that the classes are being pulled from the database (single form, not plural) and not hard coded into the application if I have to add an "s" it becomes "shamans"...*shrug* if it matters that much to you, I've got a quarter for you to call someone who really cares. :)

--Illydth

- Douglas Wagner -
Site Admin
Back to top
Cogline
Sat Jul 18 2009, 06:19PM
Registered Member #1165
Joined: Sat Jul 18 2009, 06:10PM
Posts: 2
Hello guys,
I'm still having some issues with RIM after doing the fix:

Date: 2009-07-19 10:07:21
ID: 1
Error occured in: Global
Count: 1
Message: ..\AddOns\RIM\RIM.lua line 750:
attempt to index field '?' (a nil value)
Debug:
(tail call): ?
[C]: ?
RIM\RIM.lua:750: DisplayRaiders()
RIM\RIM.lua:1479: TimerTick()
[string "*:OnUpdate"]:1:
[string "*:OnUpdate"]:1


Now i'm not sure whether it could be because one of my raiders is named "Håkan". Would that character in this name "å" be causing the issue?
Or do i still just need to keep trying the script to reload the UI?


EDIT: I got it to load up ok after running the script reload

[ Edited Sat Jul 18 2009, 06:30PM ]
Back to top
Elayne
Sat Jul 18 2009, 08:30PM
Joined: Tue Mar 18 2008, 10:52AM
Posts: 278
Cogline wrote ...

EDIT: I got it to load up ok after running the script reload

Glad to hear it.

There's just something about the multi-byte characters that have really messed things up....

Seems that the script above will eventually get it fixed, but some people have noted needing to run it a few times. I'm not overly sure why that is, but if I was to guess, I'd say it's because the sync was in process at the time and tried to save some of the data after the wipe ... during the reload process.


Anyway, it seems to work well once the script manages to do its job, so there's not much more to say but "if all else fails, try the script again" :)

Hi, my name is Elayne, and I ... am a UI addict.

http://elayneff.wowinterface.com - The Exclusive Home of RIM!
Back to top
badette
Fri Jul 02 2010, 04:14AM
Registered Member #1755
Joined: Fri Jul 02 2010, 04:11AM
Posts: 1
finally the answer for my problem is all here. Thanks!

life isn't easy, if you have full of essays in mind.
Back to top
Moderators: Elayne

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System