• Announcements

    • Ouroboros

      Are you protected ?   11/05/18

      Your account security is important, read our guideline here :   
    • Otacon

      International Game Master Recruitment — Sethraliss & Sylvanas & Garrosh and Gul'dan   06/23/19

      Firestorm International is looking for Game Masters for Sethraliss, Sylvanas, Garrosh and Gul'dan. We're currently looking for members from all regions that wish to join our staff team. Each Game Master will be providing assistance to players through Forums, Discord and In-game tickets. Remember that there are requirements for the position. By signing up for the position you will gain experience with working in a team, and much more. Please put an effort into your application as we provide the general format for you and all you do is have to fill it in. Click here to read the requirements and apply!
    • Otacon

      New Graphic Ideas   07/29/19

      If you are a Graphic Designer and want to volunteer to help the International Firestorm Staff with creating contents, make sure to take a look on that topic here.
Gorramm

Twitter LUA Error

12 posts in this topic

First Error 

Quote

Message: Interface\FrameXML\InterfaceOptionsPanels.lua:826: attempt to concatenate local 'screenName' (a nil value)
Time: 05/23/17 19:05:17
Count: 2
Stack: Interface\FrameXML\InterfaceOptionsPanels.lua:826: in function <Interface\FrameXML\InterfaceOptionsPanels.lua:816>

Locals: self = InterfaceOptionsSocialPanel {
 controls = <table> {
 }
 TwitterLoginButton = InterfaceOptionsSocialPanelTwitterLoginButton {
 }
 options = <table> {
 }
 RedockChat = InterfaceOptionsSocialPanelRedockChat {
 }
 refresh = <function> defined @Interface\FrameXML\InterfaceOptionsPanels.lua:108
 EnableTwitter = InterfaceOptionsSocialPanelEnableTwitter {
 }
 name = "Social"
 default = <function> defined @Interface\FrameXML\InterfaceOptionsPanels.lua:94
 cancel = <function> defined @Interface\FrameXML\InterfaceOptionsPanels.lua:85
 okay = <function> defined @Interface\FrameXML\InterfaceOptionsPanels.lua:798
 0 = <userdata>
}
event = "TWITTER_STATUS_UPDATE"
enabled = true
linked = true
screenName = nil
(*temporary) = <table> {
 linked = true
}
(*temporary) = "@"
(*temporary) = nil
(*temporary) = InterfaceOptionsSocialPanel {
 controls = <table> {
 }
 TwitterLoginButton = InterfaceOptionsSocialPanelTwitterLoginButton {
 }
 options = <table> {
 }
 RedockChat = InterfaceOptionsSocialPanelRedockChat {
 }
 refresh = <function> defined @Interface\FrameXML\InterfaceOptionsPanels.lua:108
 EnableTwitter = InterfaceOptionsSocialPanelEnableTwitter {
 }
 name = "Social"
 default = <function> defined @Interface\FrameXML\InterfaceOptionsPanels.lua:94
 cancel = <function> defined @Interface\FrameXML\InterfaceOptionsPanels.lua:85
 okay = <function> defined @Interface\FrameXML\InterfaceOptionsPanels.lua:798
 0 = <userdata>
}
(*temporary) = "TWITTER_STATUS_UPDATE"
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to concatenate local 'screenName' (a nil value)"

Second error

Quote

Message: [string "*:OnShow"]:5: 'end' expected (to close 'function' at line 1) near '<eof>'
Time: 05/23/17 19:05:10
Count: 1
Stack: 
Locals: 

Does anyone know how to fix this?

1 person likes this

Share this post


Link to post
Share on other sites

Edit: I am unable to submit a Tech Support thread which is why it is here.

Share this post


Link to post
Share on other sites

i have the same problem

 

Share this post


Link to post
Share on other sites

BUMP. This error is keeping me from saving my Bartender settings

On 5/23/2017 at 9:55 PM, troncho said:

i have the same problem

 

 

Share this post


Link to post
Share on other sites

PING. Had the same - wtf moment - issue, so looked up this bugger in wow-ui-source, and patched it to ignore nil. Patched file is attached.

Original blizzard file:  https://github.com/tekkub/wow-ui-source/blob/7.1.5/FrameXML/InterfaceOptionsPanels.lua

See the differences with the patched version to check if this file helps or hurts you ;-)

Then put the file into  <YourFirestormWowFolder>\Interface\FrameXML\

The launcher creates this folder, or you can create it.

Dev details:        

    local enabled, linked, screenName = ...;
    if ( event == "TWITTER_STATUS_UPDATE" ) then  ... do a nil-reference ...

Local var screenName == nil, 3rd parameter of the event, would-be your twitter screenName, but is nil, becuse twitter is not configured. This event should not happen, it seems. Patched it, not looking further atm, although I wonder where and why this event is fired.

 

Have a good one,

MissMisty

InterfaceOptionsPanels.lua

1 person likes this

Share this post


Link to post
Share on other sites
On 5/24/2017 at 1:05 AM, Gorramm said:

Message: [string "*:OnShow"]:5: 'end' expected (to close 'function' at line 1) near '<eof>'
Time: 05/23/17 19:05:10
Count: 1
Stack: 
Locals: 

This one is caused by  Interface/FrameXML/HelpFrame.xml  downloaded by the Launcher,  the 'end' of an 'if'  was lost in the void. Patched file attached.

You can compare it to the 'original' Firestorm modded version in  Interface/FrameXML

HelpFrame.xml

Share this post


Link to post
Share on other sites
On 5/25/2017 at 0:19 PM, Ghiling said:

PING. Had the same - wtf moment - issue, so looked up this bugger in wow-ui-source, and patched it to ignore nil. Patched file is attached.

Original blizzard file:  https://github.com/tekkub/wow-ui-source/blob/7.1.5/FrameXML/InterfaceOptionsPanels.lua

See the differences with the patched version to check if this file helps or hurts you ;-)

Then put the file into  <YourFirestormWowFolder>\Interface\FrameXML\

The launcher creates this folder, or you can create it.

Dev details:        

    local enabled, linked, screenName = ...;
    if ( event == "TWITTER_STATUS_UPDATE" ) then  ... do a nil-reference ...

Local var screenName == nil, 3rd parameter of the event, would-be your twitter screenName, but is nil, becuse twitter is not configured. This event should not happen, it seems. Patched it, not looking further atm, although I wonder where and why this event is fired.

 

Have a good one,

MissMisty

InterfaceOptionsPanels.lua

hi there

thanks for this diagnostic, but TBH i have no clue what it means

do i have to open the lua file and look for this event? and then do what?

Share this post


Link to post
Share on other sites

To get rid of the twitter error: download the InterfaceOptionsPanels.lua
To get rid of the OnShow: 'end' expected  bug report: download HelpFrame.xml

Copy these files to   YourGameFolder/Interface/FrameXML  folder,  overwrite HelpFrame.xml

Restart the game, and tell us if this fixed the weird lua errors.

Fyi. It is possible that the Launcher will restore the original HelpFrame.xml when updating.

Edited by Dallaryen
cleanup

Share this post


Link to post
Share on other sites

OMG!

it seems to have worked!! thank you so much <3

would it be too much to ask to look into this weird garrison bug?

only if you have time, it'd be aweome

its this garrison error that keeps popping up every time i go anywhere 

--------------------------------------------------

4x ...\Blizzard_GarrisonUI\Blizzard_GarrisonBuildingUI.lua:1153: attempt to index field 'info' (a nil value)
...\Blizzard_GarrisonUI\Blizzard_GarrisonBuildingUI.lua:1153: in function `GarrisonBuildingList_SelectBuilding'
...\Blizzard_GarrisonUI\Blizzard_GarrisonBuildingUI.lua:242: in function <...\Blizzard_GarrisonUI\Blizzard_GarrisonBuildingUI.lua:193>

Locals:
buildingID = 41
buttons = <table> {
 1 = <unnamed> {
 }
}
(for index) = 1
(for limit) = 1
(for step) = 1
i = 1
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'info' (a nil value)"
 

WoWScrnShot_053117_220058.jpg

Edited by troncho

Share this post


Link to post
Share on other sites

I don't have this error yet.  When does it happen?  When you enter Dalaran?  Or on login?

Is it related to any garrison activity?  I relly don't know how much garrisons work now.

And try logging in with all addons disabled (BugSack and BugGrabber enabled)  just to see if you still get the error.

Share this post


Link to post
Share on other sites

Troncho, please give me some clues to start with...

Share this post


Link to post
Share on other sites

I've put in a simple nil check. It seemed the most reasonable to avoid this half-initialized situation.
Download this gist into  Interface\AddOns\Blizzard_GarrisonUI\  named  Blizzard_GarrisonBuildingUI.lua
https://gist.github.com/anonymous/6729a29f96e622c87e124dd86d527e34

The root cause is the client generating the event GARRISON_BUILDING_PLACED , though you haven't placed a garrison building.
Its similar to the twitter bug where the TWITTER_STATUS_UPDATE event is fired, without any twitter account being configured...
 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.