Routes

Routes

3M Downloads

[ISSUE] - Cluster button does nothing?

Jeconti90 opened this issue ยท 3 comments

commented

Description

When I press the cluster button, my screen freezes for a few seconds (expected) but there is no chat log message regarding clustering starting. And when it unfreezes, no text chat log output of completion or failure. When I run cluster (in background) I see the chat log message for "Routers: Now running route clustering in the background..." and it is still going, been about five minutes now. This is specifically for isle of dorn mining.

Routes Version

1.8.3

World of Warcraft Version

Retail (Default)

Testing Isolation

  • No
  • Yes, without any related optional dependencies.
  • Yes, with related optional dependencies.

Lua Error(s)

No lua errors

Reproduction Steps

Open routes with /routes
go to the route I want to cluster
click cluster in background

Last Known Good Version

n/a

Screenshots

No response

Additional Information

I changed the cluster radius to 80 to try and help, but the cluster button does nothing and cluster in background has been running forever.
commented

Sorry, I had bugsack/buggrabber still on, disabled those and got this error when running 'cluster'

Message: Interface/AddOns/Routes/TSP.lua:1021: script ran too long
Time: Sat Sep 28 16:59:57 2024
Count: 1
Stack: Interface/AddOns/Routes/TSP.lua:1021: script ran too long
[string "@Interface/AddOns/GatherMate2/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@Interface/AddOns/GatherMate2/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua"]:22: in function <...ate2/Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>

Locals: self =

{
type = "Button"
AceGUIWidgetVersion = 24
parent =
{
}
disabled = false
autoWidth = false
userdata =
{
}
text = AceGUI30Button1Text {
}
events =
{
}
frame = AceGUI30Button1 {
}
base =
{
}
}
name = "OnClick"

commented

Even when setting the cluster to 200 it still times out, and background still seems to just run forever. Over 10 minutes so far right now with my current try.

commented

I'm running into a similar problem. Here are all the lua errors when I press Cluster

1x Routes/TSP.lua:185: attempt to index field 'L' (a nil value)
[string "@Routes/TSP.lua"]:185: in function <Routes/TSP.lua:166>

Locals:
self = Frame {
 running = false
}
elapsed = 0.012000
status = false
nodes = "cannot resume dead coroutine"
metadata = nil
pathLength = nil
(*temporary) = <table> {
 TSP = <table> {
 }
 modules = <table> {
 }
 baseName = "Routes"
 DataProvider = <table> {
 }
 defaultModuleState = true
 hooks = <table> {
 }
 db = <table> {
 }
 enabledState = true
 routekeys = <table> {
 }
 plugins = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 KeybindHelper = <table> {
 }
 name = "Routes"
 options = <table> {
 }
 orderedModules = <table> {
 }
 BattleFieldDataProvider = <table> {
 }
 LZName = <table> {
 }
 Dragons = <table> {
 }
 tabookeys = <table> {
 }
 G = <table> {
 }
}
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field 'L' (a nil value)"
coroutine = <table> {
}
Routes = <table> {
 TSP = <table> {
 }
 modules = <table> {
 }
 baseName = "Routes"
 DataProvider = <table> {
 }
 defaultModuleState = true
 hooks = <table> {
 }
 db = <table> {
 }
 enabledState = true
 routekeys = <table> {
 }
 plugins = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 KeybindHelper = <table> {
 }
 name = "Routes"
 options = <table> {
 }
 orderedModules = <table> {
 }
 BattleFieldDataProvider = <table> {
 }
 LZName = <table> {
 }
 Dragons = <table> {
 }
 tabookeys = <table> {
 }
 G = <table> {
 }
}
1x ...ancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua:66: script ran too long
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...ancedInterfaceOptions/libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/widgets/AceGUIWidget-Button.lua"]:22: in function <...ions/libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>

Locals:
(*temporary) = false
(*temporary) = nil
(*temporary) = "script ran too long"
1x ...nfig-3.0/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua:45: script ran too long
[string "@AdvancedInterfaceOptions/libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[string "@AdvancedInterfaceOptions/libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:834: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:661>
[string "=[C]"]: ?
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...ancedInterfaceOptions/libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/widgets/AceGUIWidget-Button.lua"]:22: in function <...ions/libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>

Locals:
(*temporary) = false
(*temporary) = nil
(*temporary) = "script ran too long"
1x Routes/TSP.lua:1067: script ran too long
[string "@Routes/TSP.lua"]:1067: in function `ClusterRouteBackground'
[string "@Routes/Routes.lua"]:1769: in function <Routes/Routes.lua:1746>
[string "=[C]"]: ?
[string "@AdvancedInterfaceOptions/libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:45: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:43>
[string "@AdvancedInterfaceOptions/libs/AceConfig-3.0-3/AceConfigDialog-3.0-87/AceConfigDialog-3.0.lua"]:834: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:661>
[string "=[C]"]: ?
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:66: in function <...ancedInterfaceOptions/libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@AdvancedInterfaceOptions/libs/AceGUI-3.0-41/widgets/AceGUIWidget-Button.lua"]:22: in function <...ions/libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua:19>

Locals:
self = <table> {
}
nodes = <table> {
 1 = 26004620
 2 = 26004620
 3 = 26004620
 4 = 26004620
 5 = 26104620
 6 = 26104620
 7 = 32804620
 8 = 32804620
 9 = 32804620
 10 = 32804620
 11 = 32804620
 12 = 26004610
 13 = 44804620
 14 = 44804620
 15 = 34604610
 16 = 26004600
 17 = 34604600
 18 = 34704600
 19 = 34704600
 20 = 34704600
 21 = 34704600
 22 = 34704600
 23 = 34704600
 24 = 34704600
 25 = 34704600
 26 = 44804610
 27 = 24804570
 28 = 24804570
 29 = 21204560
 30 = 31204580
 31 = 31304580
 32 = 31304580
 33 = 31304580
 34 = 24804560
 35 = 26504560
 36 = 31304570
 37 = 31304570
 38 = 24304550
 39 = 24404540
 40 = 23804530
 41 = 23804530
 42 = 24504530
 43 = 26204530
 44 = 23804520
 45 = 27104530
 46 = 27204530
 47 = 27204530
 48 = 38504570
 49 = 33604550
 50 = 33604550
 51 = 33604550
 52 = 26304520
 53 = 26304520
 54 = 26304520
 55 = 26304520
 56 = 29904530
 57 = 29904530
 58 = 30004530
 59 = 30004530
 60 = 33504540
 61 = 43794583
 62 = 33604540
 63 = 33604540
 64 = 33604540
 65 = 33604540
 66 = 33604540
 67 = 33704540
 68 = 33704540
 69 = 38504560
 70 = 38604560
 71 = 38604560
 72 = 38604560
 73 = 38604560
 74 = 43804580
 75 = 43804580
 76 = 43804580
 77 = 43804580
 78 = 43804580
 79 = 43804580
 80 = 43804580
 81 = 35104540
 82 = 28504510
 83 = 35204540
 84 = 33604530
 85 = 29604510
 86 = 29704510
 87 = 29704510
 88 = 29704510
 89 = 29704510
 90 = 29704510
 91 = 38404550
 92 = 38404550
 93 = 38404550
 94 = 38404550
 95 = 38604550
 96 = 38604550
 97 = 38604550
 98 = 38604550
 99 = 38604550
 100 = 24404480
 101 = 40704560
 102 = 40704560
 103 = 28704500
 104 = 28704500
 105 = 28704500
 106 = 28704500
 107 = 40804560
 108 = 40804560
 109 = 19204450
 110 = 24394472
 111 = 24404470
 112 = 24404470
 113 = 33404510
 114 = 33404510
 115 = 33404510
 116 = 33404510
 117 = 33404510
 118 = 33404510
 119 = 40704550
 120 = 40804550
 121 = 33444506
 122 = 29704480
 123 = 41904550
 124 = 41904550
 125 = 42004550
 126 = 29704470
 127 = 29704470
 128 = 29704470
 129 = 29704470
 130 = 29704470
 131 = 29704470
 132 = 29704470
 133 = 27704450
 134 = 27704450
 135 = 21804410
 136 = 33904490
 137 = 44504560
 138 = 44504560
 139 = 27704440
 140 = 27704440
 141 = 41904540
 142 = 41904540
 143 = 41904540
 144 = 41904540
 145 = 41904540
 146 = 41904540
 147 = 41904540
 148 = 41904540
 149 = 41904540
 150 = 25404420
 151 = 28204440
 152 = 28204440
 153 = 33904480
 154 = 33904480
 155 = 33904480
 156 = 33904480
 157 = 33904480
 158 = 34004480
 159 = 38504510
 160 = 38504510
 161 = 38504510
 162 = 38504510
 163 = 38504510
 164 = 26504420
 165 = 26504420
 166 = 26504420
 167 = 26504420
 168 = 26504420
 169 = 25404410
 170 = 25404410
 171 = 28104430
 172 = 25504410
 173 = 25504410
 174 = 28204430
 175 = 28204430
 176 = 25904410
 177 = 26004410
 178 = 46904570
 179 = 46904570
 180 = 46904570
 181 = 41904530
 182 = 41904530
 183 = 41904530
 184 = 41904530
 185 = 41904530
 186 = 25504400
 187 = 28104420
 188 = 28104420
 189 = 28104420
 190 = 28104420
 191 = 26004400
 192 = 21104360
 193 = 38604500
 194 = 38604500
 195 = 40004510
 196 = 40004510
 197 = 40004510
 198 = 40004510
 199 = 40004510
 200 = 24104370
 201 = 29004410
 202 = 29004400
 203 = 29004400
 204 = 29004400
 205 = 29004400
 206 = 29024397
 207 = 46904560
 208 = 29004390
 209 = 29004390
 210 = 29204380
 211 = 29304380
 212 = 29304380
 213 = 29304380
 214 = 29304380
 215 = 37604460
 216 = 29004370
 217 = 21004280
 218 = 41104490
 219 = 41104490
 220 = 41104490
 221 = 28904360
 222 = 28904360
 223 = 29004360
 224 = 37504450
 225 = 37504450
 226 = 37604450
 227 = 37604450
 228 = 37604450
 229 = 37604450
 230 = 37604450
 231 = 21004270
 232 = 28904350
 233 = 29004350
 234 = 29004350
 235 = 29004350
 236 = 37504440
 237 = 37504440
 238 = 37504440
 239 = 41104480
 240 = 41104480
 241 = 37604440
 242 = 41204480
 243 = 26604310
 244 = 26604310
 245 = 26604300
 246 = 41104470
 247 = 24004260
 248 = 29004320
 249 = 29104320
 250 = 50404580
 251 = 50404580
 252 = 50404580
 253 = 21904220
 254 = 28524303
 255 = 22004220
 256 = 22904230
 257 = 26104270
 258 = 26104270
 259 = 23004230
 260 = 28504300
 261 =

Edit: Issue is in the shear number of nodes that exist. If you drop this down to reasonable levels it works fine. I wish there was a way to run this out of the game and import in a clustered & optimized route.