Hi. I was wondering if anyone could help. Broom worked like a charm for a couple of weeks on a heavy Skyrim load order that I've been slowly building (Skyrim 1.5.97). It's been an invaluable tool. Unfortunately, it ceased working all of a sudden. Now, even with old .broom instructions that it worked with before, it hangs after launch and eventually yields the following error message:
Cannot read properties of undefined (reading 'installationPath') at BroomDialog.<anonymous> (C:\Users\[my user directory]\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Broom - The Loose File Sweeper v1.10\index.js:312:61) at Generator.next (<anonymous>) at fulfilled (C:\Users\[my user directory]\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Broom - The Loose File Sweeper v1.10\index.js:228:58) at tryCatcher (C:\Games\Vortex\resources\app.asar\node_modles\bluebird\js\release\util.js:16:23)
Then it goes on to list a file path similar to the last one above respectively for atPromise._settlePromiseFromHandler, at Promise._settlePromise, at Promise._settlePromise0, at Promisse._settlePromises, at_drainQueueStep, at_drainQueue, at Async._drainQueues and at Async.drainQueues.
I tried removing and reinstalling Broom and that did not help. All folders and executables that are at least easy to find and evident that relate to Vortex and Skyrim are excluded from anti-virus.
This problem emerged concurrently with a couple of times that Vortex as a whole notified an error along the lines of not having an authorization, which error went away after the second time that I logged out and back in.
I would very much appreciate some guidance to resolve this.
Step 1: Hide all files in conflict window (that you want to delete, anyway) step 2: open up the mod in explorer step 3: Click+CTRL+A, then Copy as Path step 5: paste -> Replace ' " ' & "D:/drive/folder/to/mods/[NOT the mod's name]" & ".mohidden" step 6: Right Click mod -> Unhide all hidden files, then refresh step 7: run broom Useful for large lists, but it works. I set broom to delete files, because im crazy and backup my mods also! :P
Thank you for providing a use case scenario on your mod's description page. As someone who is new to modding, I find that immensely useful in determining what to incorporate in my workflow. Currently I am passing up on almost every MO2 plug-in because I am having a hard time evaluating the native MO2 features against the plug-in features.
MO2 hasn't seen a new version in a while so there's no reason for this plugin to malfunction. Is MO2 working fine for you without this tool? Where do you have it installed?
Having the settings such as "unhider" and "delete mode" being options in the plugin window itself - or even as separate functions in a dropdown menu instead of in the settings would greatly improve the ease of access and prevent mistakes such as unhiding or worse deleting files you didn't mean to unhide/delete.
Additionally, it'd be helpful if there was some way to edit the config in MO2 itself instead of having to open the file in a text editor. Again, this is an "improve ease of access" thing.
I tried doing it myself but I've never touched python. Got close though, but I don't know how to handle calling variables, so self.__unhideOption and self.__deleteOption in the run function ended up being undefined...
35 comments
Cannot read properties of undefined (reading 'installationPath') at BroomDialog.<anonymous> (C:\Users\[my user directory]\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Broom - The Loose File Sweeper v1.10\index.js:312:61)
at Generator.next (<anonymous>) at fulfilled (C:\Users\[my user directory]\AppData\Roaming\Vortex\plugins\Vortex Extension Update - Broom - The Loose File Sweeper v1.10\index.js:228:58)
at tryCatcher
(C:\Games\Vortex\resources\app.asar\node_modles\bluebird\js\release\util.js:16:23)
Then it goes on to list a file path similar to the last one above respectively for atPromise._settlePromiseFromHandler, at Promise._settlePromise, at Promise._settlePromise0, at Promisse._settlePromises, at_drainQueueStep, at_drainQueue, at Async._drainQueues and at Async.drainQueues.
I tried removing and reinstalling Broom and that did not help. All folders and executables that are at least easy to find and evident that relate to Vortex and Skyrim are excluded from anti-virus.
This problem emerged concurrently with a couple of times that Vortex as a whole notified an error along the lines of not having an authorization, which error went away after the second time that I logged out and back in.
I would very much appreciate some guidance to resolve this.
Many thanks!
1. Go to your Vortex Extensions Install directory [typically %APPDATA%\Vortex\plugins\Vortex Extension Update - Broom - The Loose File Sweeper v1.1.0]
2. Open index.js file
3. Search string
enabledMods: Object.keys(profileMods).filter(m => profileMods[m].enabled).map(x => mods[x]),
4. Replace with
enabledMods: Object.keys(profileMods).filter(m => profileMods[m].enabled).filter(m => mods[m] != undefined).map(x => mods[x]),
5. Restart Vortex6. Report your success here https://github.com/mihaifm/broom/pull/5
step 2: open up the mod in explorer
step 3: Click+CTRL+A, then Copy as Path
step 5: paste -> Replace ' " ' & "D:/drive/folder/to/mods/[NOT the mod's name]" & ".mohidden"
step 6: Right Click mod -> Unhide all hidden files, then refresh
step 7: run broom
Useful for large lists, but it works. I set broom to delete files, because im crazy and backup my mods also! :P
BTW if someone want updated LOOT Config Loader for Mod Organizer: https://pastebin.com/aYQErCcx
Having the settings such as "unhider" and "delete mode" being options in the plugin window itself - or even as separate functions in a dropdown menu instead of in the settings would greatly improve the ease of access and prevent mistakes such as unhiding or worse deleting files you didn't mean to unhide/delete.
Additionally, it'd be helpful if there was some way to edit the config in MO2 itself instead of having to open the file in a text editor. Again, this is an "improve ease of access" thing.