2014-10-14, 17:46
(2014-10-14, 16:19)Crispybishop Wrote: Hey Luna, possible bug (that you may be aware of). When autotuning, if a plugin fails (script failure), it messes up the pluginwalk process. For this example, Say I have folders A, B, & C. Folder A has 3 "more" links within it, so it parses recursively down 3 layers/pages. When it reaches the end of that one, it starts on folder B. Folder B has 3 "more" links within it, also. But in one of my plugins, the 2nd "more" link results in a script failure on the plugin's side (not PTVL's end). So when the pluginwalk tries to go down one page, the video plugin hits an error and, instead of moving on to folder C, the pluginwalk process starts back at the beginning. Infinite loop.
In my *particular* instance, the walk goes as such:
Folder A
-Subfolder A START PARSING HERE, GOES DOWN 3 PAGES
-Subfolder B CONTINUES PARSING HERE
-Subfolder C FAILURE WITHIN THIS SUBFOLDER...SENDING THE PROCESS ALL THE WAY UP TO FOLDER A
Folder B
-Subfolder A
-Subfolder B
-Subfolder C
So it starts in a subfolder (as it should), but when it hits the error, it goes back to the primary folder. It's weird. I can shoot you the exact plugin and whatnot if you'd like more details.
Pm me with the exact plugin and configuration that results in a loop. I'll check it out.
Also you should know... As mentioned in my direct plugin guide. This wasn't designed to parse a entire plugin. It sounds like you are staring to low.
Change your configuration to a more specific directory higher up the directory chain.