737 - issue using export to string
What steps will reproduce the problem?
1. make changes for some auras in 1 big WA-group
2. try to export
3. not working
4. delete and Reimport the same WA-Group
5. make the same changes
6. try to Export -> working
What is the expected output? What do you see instead?
Expected would be the WA-String, instead I get this Error:
1x WeakAuras\Transmission.lua:79 attempt to get length of local 'str' (a nil value)
WeakAuras\Transmission.lua:79 in function <WeakAuras\Transmission.lua:74
(tail call): ?
(tail call): ?
WeakAurasOptions\WeakAurasOptions-2.2.1.5.lua:7267 in function `Open'
WeakAurasOptions\WeakAurasOptions-2.2.1.5.lua:8621 in function `ExportToString'
...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:461 in function `func'
FrameXML\UIDropDownMenu.lua:760 in function `UIDropDownMenuButton_OnClick'
[string "*:OnClick"]:1: in function <[string "*:OnClick"]:1>
Locals:
str = nil
B64 = <table> {
}
remainder = 0
remainder_length = 0
encoded_size = 0
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to get length of local 'str' (a nil value)"
encodeB64Table = <table> {
}
bit_lshift = <function> defined =[C]:-1
bytetoB64 = <table> {
1 = "b"
2 = "c"
3 = "d"
4 = "e"
5 = "f"
6 = "g"
7 = "h"
8 = "i"
9 = "j"
10 = "k"
11 = "l"
12 = "m"
13 = "n"
14 = "o"
15 = "p"
16 = "q"
17 = "r"
18 = "s"
19 = "t"
20 = "u"
21 = "v"
22 = "w"
23 = "x"
24 = "y"
25 = "z"
26 = "A"
27 = "B"
28 = "C"
29 = "D"
30 = "E"
31 = "F"
32 = "G"
33 = "H"
34 = "I"
35 = "J"
36 = "K"
37 = "L"
38 = "M"
39 = "N"
40 = "O"
41 = "P"
42 = "Q"
43 = "R"
44 = "S"
45 = "T"
46 = "U"
47 = "V"
48 = "W"
49 = "X"
50 = "Y"
51 = "Z"
52 = "0"
53 = "1"
54 = "2"
55 = "3"
56 = "4"
57 = "5"
58 = "6"
59 = "7"
60 = "8"
61 = "9"
62 = "("
63 = ")"
0 = "a"
}
bit_band = <function> defined =[C]:-1
bit_rshift = <function> defined =[C]:-1
What version of WeakAuras 2 are you using?
2.2.1.5
Do you have an error log of what happened?
Please attach your WeakAuras settings file (WeakAuras.lua found at World of Warcraft\WTF\Account\ACCOUNTNAME\SavedVariables\ to the ticket! It's more likely that we can reproduce the issue with your settings file. Please also tell us the names of the auras that are affected by the issue if you can. If no errors show up, make sure to run "/console scriptErrors 1" to enable them or install a bug capturing addon like https://mods.curse.com/addons/wow/bugsack
Please provide any additional information below.
I have a WA-Group of ~184 Auras right now.
Normally it works fine to Export as a String, but recently it seems to bug.
I make small changes every few days and it seems WeakAuras don't like that with a huge WA-Group.
If I delete and Reimport the WA-Group, make the same changes again and try to Export it's fine.
Export to lua table is working without any Problem so far.
| Name | Description | Size | MD5 |
|---|---|---|---|
| WeakAuras.lua | WA lua | 1.7 MiB | 8a8533954a2d... |
| WeakAuras.lua | &emdash; | 2.7 MiB | 1799a1dd5632... |
| User | When | Change |
|---|---|---|
| InfusOnWow | Oct 11, 2016 at 19:49 UTC | Added attachment WeakAuras.lua |
| mTx | Sep 19, 2016 at 07:12 UTC | Added attachment WeakAuras.lua |
| mTx | Sep 19, 2016 at 07:08 UTC | Create |
- 4 comments
- 4 comments
Facts
- Last updated
- Oct 11, 2016
- Reported
- Sep 19, 2016
- Status
- New - Issue has not had initial review yet.
- Type
- Defect - A shortcoming, fault, or imperfection
- Priority
- Medium - Normal priority.
- Votes
- 1
- Reply
- #4
InfusOnWow Oct 15, 2016 at 16:40 UTC - 0 likesI was now able to reproduce that, and I've found the issue and have a patch which fixes it.
But it's in LibCompress. That means, I'll send the patch to the maintainer of LibCompress and we'll discuss what to do. Since we had previous discussions on a similar issue, I'm confident that he'll fix it, but it'll take a bit longer than us just applying my patch.
- Reply
- #3
InfusOnWow Oct 03, 2016 at 12:03 UTC - 0 likesThere should be no limit, but without a way to reproduce I can't figure out what is happening..
- Reply
- #2
mTx Oct 03, 2016 at 09:56 UTC - 0 likesIt happens quiet often and I can't force the problem to show up. When it happens I have to delete and reimport the whole WeakAura. A /reloadui, relog or delete of cache etc doesn't help.
Maybe I'm hitting any character limit for the encode?
- Reply
- #1
InfusOnWow Oct 02, 2016 at 16:57 UTC - 0 likesI can't reproduce that, and looking at the error message doesn't point to a obvious problem in the code.
So, how often does this happen for you? And if it happens, does reloading wow without doing any changes to the aura fix it? Or do you need to change the auras? Any information on how to reproduce this would be good.