3) If updating from a previous version, delete the [MO2 Install folder]/plugins/crashlogtools/Skyrim Special Edition and [MO2 Install folder]/plugins/crashlogtools/__pycache__ folders before starting MO2
That indicates that something probably deleted more of the cache folder than needed, or something else may have happened. Assuming you installed mo2 in portable mode, download the version of mo2 you were using and overwrite. If you're using an unmodified Wabbajack list, you can reinstall that list on top using the version of the Wabbajack file you downloaded at installation time. It should be in your downloaded_mod_lists folder.
If all these instructions are confusing, I recommend looking at some YouTubers like Gopher to understand better.
Note that this thread should be pinned, as the post solves the most common problem.
my game keeps crashing and i get no logs. you are supposed to get an unhandled exception notification. i need a way to fix it. im only posting this here because its been a duplicate on the bugs section. i want to figure out what mod is crashing my game, but cant with no logs.
Not a good sign, but I can't even figure out how to download the thing... I've tried manual, but cannot drag anything into the plugins section of MO2, and I cannot locate a file/folder anywhere on the computer that has anything to do with MO2 plugins; I've tried Mod Manager download, but MO2 says "the content of <data> does not look valid" every time. I am trying to get into modding Skyrim on PC, and I recognize I know nothing; but I need a way to figure out CTDs. What am I missing or doing wrong?
I don't know if you ever figured this out, but you're in the entirely wrong space. This is a plugin for MO2 itself, not something MO2 installs. This is used in conjunction with CrashLogger (which is a regular mod) and it goes in the Plugins folder of your MO2 install (versus the Mods folder, where MO2 installs your mods). There's an updated version to work with newer releases of MO2 here: Crash Log Tools for MO2 - Updated I use a Portable instance of MO2 and it's something like this: Drive*:/*/*/MO2/Plugins/crashlogtools. Global instances are somewhere in AppData/Local I think? Unsure. I'm sure you or whoever sees this can find it though. EDIT: There's actually a way to get to it in MO2. The folder icon above the left pane has a dropdown selection for "Open MO2 Plugins folder". Navigate that way then close out MO2 while installing.
Another alternative that could future proof and further changes: just copy and paste the raw python code into ChatGPT, tell it the error MO2 throws every time you open it, and let ChatGPT figure it out. Was able to work through it in a few minutes.
Can I get a step by step guide of where to install it and how? I am confused on file paths, and can't seem to find what is listed in the mod description section.
I don´t know what happened, I installed as explained on the instructions and my laptop went insane when I moved the folder to the MO2 directory, it freezed and restarted and now everything works at 20FPS
Was able to get this to run for anyone who is interested. You have to edit two of the python files that are part of this plugin.
First, in crashloglabeler.py, change the PyQt5 on line 5 to PyQt6
All the rest of the changes are in crashlogviewer.py:
on lines 4,5, and 6 change the PyQt5 text to PyQt6.
change line 67 to: proxy_model.sort(0, Qt.SortOrder.DescendingOrder)
I deleted line 76, the list.setSelectionMode method. Couldn't find the Qt6 equivalent and I don't think it's absolutely necessary
since we removed a line, the following line numbers may be off, but just look above or below my line number
line 104, change the text to list.setContextMenuPolicy(Qt.ContextMenuPolicy.ActionsContextMenu)
line 108, change the text to button_box.setOrientation(Qt.Orientation.Horizontal)
line 109, change the text to button_box.setStandardButtons(QDialogButtonBox.StandardButton.Close)
line 111, change the text to button_box.button(QDialogButtonBox.StandardButton.Close).setAutoDefault(False)
and that should be it. just save those two files with the changes and things should run fine. i was able to use the plugin as normal after this. hope this helps someone.
I'm not sure if it has to do with the new version of MO2, or what the cause is, exactly; but I tried your fix, and my MO2 won't open. Removing the plugin allows it to open, at least; but I followed your instructions to the letter (literally copy/pasted line for line), to no avail.
works perfectly! thanks, and yes, each line is off by one after the deleted line. i commented it out instead of deleting it. use lines 105,109,110, 112.
Running v2.5.0 of MO2. Getting several errors about py modules not existing after installing this mod. Will give this fix a try. Thanks, Cardician77...
This is not working for me. Just updated to MO2 v2.5.0, edited these lines, but nope. Error says it can't find the plugins. Also used Zazzar's scripts, but the error persists. Not sure what happened but it's completely borked for me, used both the latest and the pre-release.
Hi, I had the same problem (errors at the start of MO2 even so I had modified files) but after a while I realised that I put this mod in the wrong place... Files like crashloglabeler.py crashlogviewer.py, __init_, lib folder etc... it should all be in the MO2/Plugins/crashlogtools folder, but I for some reason thought that it should be MO2/Plugins directly.... When I put everything in right folder (and used zip from GitHub) everything worked~ Maybe there's other not-s-smart people like me and it will be helpfull.
Sadly it didn't do anything. Now I'm getting a new error message: Plugin "Crash Log Viewer" failed: AttributeError: 'CrashLogViewer' object has no attribute 'dialog' At: (...) crashlogviewer.py(51): display
Plugin "Crash Log Viewer" failed: AttributeError: 'CrashLogViewer' object has no attribute 'dialog' At: (...) crashlogviewer.py(51): display here too :(
mine opened with no errors. thanks, anyone else having a problem probably didnt edit their file correctly, idk if you can do it on notepad i do it on Atom, i did make some indentation errors on a few lines but fixed it.
107 comments
Edit: i used this and seems to be working now Crash Log Tools for MO2 - Updated at Skyrim Special Edition Nexus - Mods and Community, just delete the previous crashlogtools folder in <MO2 DIR>\plugins\crashlogtools and install this one
1) Extract downloaded file here to your [MO2 Install folder]/plugins folder
2) Download and extract updated python script files from https://github.com/Exit-9B/ModOrganizer-CrashLogTools/issues/2 to [MO2 Install folder]/plugins/crashlogtools and overwrite files from previous step
3) If updating from a previous version, delete the [MO2 Install folder]/plugins/crashlogtools/Skyrim Special Edition and [MO2 Install folder]/plugins/crashlogtools/__pycache__ folders before starting MO2
If all these instructions are confusing, I recommend looking at some YouTubers like Gopher to understand better.
Note that this thread should be pinned, as the post solves the most common problem.
I use a Portable instance of MO2 and it's something like this: Drive*:/*/*/MO2/Plugins/crashlogtools. Global instances are somewhere in AppData/Local I think? Unsure. I'm sure you or whoever sees this can find it though.
EDIT: There's actually a way to get to it in MO2. The folder icon above the left pane has a dropdown selection for "Open MO2 Plugins folder". Navigate that way then close out MO2 while installing.
Use https://www.nexusmods.com/skyrimspecialedition/mods/59818 instead
First, in crashloglabeler.py, change the PyQt5 on line 5 to PyQt6
All the rest of the changes are in crashlogviewer.py:
on lines 4,5, and 6 change the PyQt5 text to PyQt6.
and that should be it. just save those two files with the changes and things should run fine. i was able to use the plugin as normal after this. hope this helps someone.
Edit: I'm dumb, don't be like me. it works fine.
use lines 105,109,110, 112.
In case of lazy peepz passing by, here the updated scripts :
crashlogtools
😁
"list.setSelectionMode(QAbstractItemView.SelectionMode.ExtendedSelection)"
Not sure if it matters much, tho. I think it enables multi-selection in the GUI.
Maybe there's other not-s-smart people like me and it will be helpfull.
At: (...) crashlogviewer.py(51): display
MO2 error log:
---------------------------
Error
---------------------------
an error occurred: KeyError: b'HEAD'
At:
M:\Mod Organizer 2-5\plugins\crashlogtools\lib\dulwich\refs.py(324): __getitem__
M:\Mod Organizer 2-5\plugins\crashlogtools\lib\dulwich\porcelain.py(1142): pull
M:\Mod Organizer 2-5/plugins\crashlogtools\crashlogutil.py(34): update_database
M:\Mod Organizer 2-5/plugins\crashlogtools\crashloglabeler.py(75): onUserInterfaceInitializedCallback
---------------------------
OK
---------------------------
---------------------------
Error
---------------------------
Plugin "Crash Log Viewer" failed: AttributeError: 'CrashLogViewer' object has no attribute 'dialog'
At:
M:\Mod Organizer 2-5/plugins\crashlogtools\crashlogviewer.py(51): display
---------------------------
OK
---------------------------
I click on Tools > Tool Plugins > Crash Log Viewer and a tiny blank window pops up with no crashlogs.
EDIT: in some other responses I found how to change it so it sees *.log .... however, it still doesn't open the log files into that GUI
Plugin "Crash Log Viewer" failed: AttributeError: 'CrashLogViewer' object has no attribute 'dialog'
At: (...) crashlogviewer.py(51): display
here too :(