GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

[BUG] ViewFrame would cause Compile Template Frame to be in wrong place.

Comicus opened this issue Β· 9 comments

commented

πŸ”΅ Describe the bug:
A clear and concise description of what the bug is.
after looking at Raw Edit (and making no changes), I then attempt to look at Compiles Template and I get an error.

πŸ”΅ To reproduce: (Steps to reproduce the behavior)

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

πŸ”΅ The error:
Paste the error message in this blockquote.

5x GSE_GUI\MacroPreview.lua:43: attempt to call method 'GetWidth' (a nil value)
[string "@GSE_GUI\MacroPreview.lua"]:43: in function `GUIShowCompiledMacroGui'
[string "@GSE_GUI\Editor.lua"]:1188: in function <GSE_GUI\Editor.lua:1186>
[string "=[C]"]: ?
[string "@Atlas\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:72: in function <Atlas\Libs\AceGUI-3.0\AceGUI-3.0.lua:70>
[string "@Atlas\Libs\AceGUI-3.0\AceGUI-3.0-41.lua"]:306: in function `Fire'
[string "@Altoholic\libs\AceGUI-3.0-41\widgets\AceGUIWidget-Button.lua"]:22: in function <...olic\libs\AceGUI-3.0\widgets\AceGUIWidget-Button.lua:19>
[GSE.lua.txt](https://github.com/TimothyLuke/GSE-Advanced-Macro-Compiler/files/6904864/GSE.lua.txt)

πŸ”΅ Screenshots:
If applicable, add screenshots to help explain your problem.

πŸ”΅ Expected behavior:
A clear and concise description of what you expected to happen.

πŸ”΅ GSE.lua file:
Please provide your GSE.lua file or the export string for the specific macro that is causing an issue.

  • To find the GSE.lua file:
  1. First, make sure you have enabled the "File Name Extensions" checkbox in Explorer (View tab)
  2. Browse to C:\path\to\wow\_retail_\WTF\Account\YourAccountName\SavedVariables\ or /path/to/WoW/_retail_/WTF/Account/YourAccountName/SavedVariables
  3. Copy the GSE.lua file to your Desktop
  4. Rename this copy to GSA.lua.txt
  5. Then just drag it here in your message
    GSE.lua.txt
  • Note: If you do not include your GSE.lua file you are wasting your time and mine. 90% of the time, the first thing I will ask for is "Can you please upload your GSE.lua file?". This file is needed with the error to work out Why that error occured for you.

πŸ”΅ Desktop (please complete the following information):

  • OS: Windows 10 64bit
  • Game Version BCC

πŸ”΅ GSE Version:

πŸ”΅ Additional context:
Add any other context about the problem here.

commented

I tried it without Atlas and no change same error, I then tried it without Altoholic and the error did not occur.

I did notice when I looked at Edit Raw the page generated would show up and also the Sequence Menu would open at same time.

I think I can create the error every time if I do a save after opening and closing the Raw Edit then attempting to open Compiled Template...

commented
commented

Also which GSE windows are open when this happens?

commented

Which macro/class - and are you able to make it happen repeatedly? and if so does it still happen with 3.0.40?

If i perform the steps you are describing ("after looking at Raw Edit (and making no changes), I then attempt to look at Compiles Template and I get an error.") I do not get the same error.

commented

AWESOME

commented

Setting it to force initialise GSEOptions.menuWidth in case it hasn't been initialised

commented

Seems not quite right...

WoWScrnShot_073121_170731

commented

I started getting same error again with 3.0.42.

I think it has something to do with Altoholic, I disabled Atlas and Altoholic and got no errors. When I enabled Altoholic is when I started getting errors again.

commented

I will look at this but if it’s a problem with Altoholic it’s a problem with Altoholic.