For anyone who got the error with crashlogutil.py, here is the answer: Go to "{BASE_FOLDER}/plugins/crashlogtools/crashlogutil.py" in line 126 change with open(path, "r") as f: to with open(path, "r", encoding='UTF-8') as f:
plugin "Crash Log Viewer" failed: AttributeError: 'CrashLogViewer' object has no attribute 'dialog' At F:Modding/MO2/plugins\crashlogtools\crashlogviever.py(69): display
Sorry, but it is not clear to me how this is supposed to work. I installed this as instructed in MO2 and ran the game. I did not have any 45-60 pause but let's assume it worked. Where are these new logs that were created and that I'm supposed to be looking found? And how am I supposed to launch the Crashlog viewer? It's not an .exe file, and just clicking on the "crashlogviewer.psy" doesn't do much. I get a popup asking what program to use to open this and choices there don't seem to make much sense. This all seems pretty obtuse to me, but maybe I'm just not getting it.
It's great to have install instructions but there need to be usage instruction also, I think.
Crash logger generates the logs to this directory - C:\Users\(INSERT YOUR ACCOUNT)\Documents\My Games\Skyrim Special Edition\SKSE
Once installed properly, you should be able to start the crash log reader from MO2. Press the Jigsaw puzzle near the top left, click "Crash Log Viewer" and it will show all the logs. Keep in mind if you changed the directory for those crash logs yourself you will also need to change it for this.
If you want to change the Log Reader's directory (as in where it looks for the logs). Go into the crashlogtools folder, open crashlogs.py, and change the lines beneath FINDERS.
You'll want to keep the MY_DOCUMENTS as is because that refers to your documents folder. So if you take the above directory address, you break it down by removing the slashes, Quoting them and adding a comma like "THIS",
It should look like this (MY_DOCUMENTS, "My Games", "Skyrim Special Edition", "SKSE", "INSERT NEW FOLDER HERE"),
Hey there; not sure if this is the right place to put this, but still:
Using the most recent mo2, I get this:
an error occurred: TypeError: object of type 'NoneType' has no len() At: F:\SME\plugins\crashlogtools\lib\dulwich\object_store.py(571):get_raw F:\SME\plugins\crashlogtools\lib\dulwich\object_store.py(154):__getitem__ F:\SME\plugins\crashlogtools\lib\dulwich\graph.py(205):lookup_stamp F:\SME\plugins\crashlogtools\lib\dulwich\graph.py(220):can_fast_forward F:\SME\plugins\crashlogtools\lib\dulwich\porcelain.py(338):check_diverged F:\SME\plugins\crashlogtools\lib\dulwich\porcelain.py(1280):pull F:\SME/plugins\crashlogtools\crashlogutil.py(41): update_database F:\SME/Plugins\crashlogtools\crashloglabeler.py(84):onUserInterfaceInitialisedCallback
I've never used MO2 before, and I did use a wabbajack list to install it (Skyrim Modding Essentials); it was on an older version of mo2, which i've updated to the newest release from - but the issue may be user error, I don't know. Still, as the error said it was in crashlogtools (the version that came with SME was outdated, so I completely removed it and replaced it with this one), I figured I'd mention it here. It's not the end of the world as Mo2 launches just fine - it's just that the plugin doesn't work. Any ideas what might be wrong?
47 comments
Go to "{BASE_FOLDER}/plugins/crashlogtools/crashlogutil.py" in line 126 change
with open(path, "r") as f:
to
with open(path, "r", encoding='UTF-8') as f:
https://www.reddit.com/r/skyrimmods/comments/1g7niud/consistent_error_in_mod_organizer_2/
It's great to have install instructions but there need to be usage instruction also, I think.
Once installed properly, you should be able to start the crash log reader from MO2. Press the Jigsaw puzzle near the top left, click "Crash Log Viewer" and it will show all the logs. Keep in mind if you changed the directory for those crash logs yourself you will also need to change it for this.
If you want to change the Log Reader's directory (as in where it looks for the logs). Go into the crashlogtools folder, open crashlogs.py, and change the lines beneath FINDERS.
You'll want to keep the MY_DOCUMENTS as is because that refers to your documents folder. So if you take the above directory address, you break it down by removing the slashes, Quoting them and adding a comma like "THIS",
It should look like this (MY_DOCUMENTS, "My Games", "Skyrim Special Edition", "SKSE", "INSERT NEW FOLDER HERE"),
"Skyrim Special Edition GOG", where the logs are being created.
---------------------------
错误
---------------------------
出现错误:UnicodeDecodeError: 'gbk' codec can't decode byte 0x88 in position 454: illegal multibyte sequence
At:
D:\mo2 - se/plugins\crashlogtools\crashlogutil.py(119): read_file
D:\mo2 - se/plugins\crashlogtools\crashlogutil.py(98): __init__
D:\mo2 - se/plugins\crashlogtools\crashlogutil.py(41): process_log
D:\mo2 - se/plugins\crashlogtools\crashloglabeler.py(84): onUserInterfaceInitializedCallback
---------------------------
确定
---------------------------
I added the parameter to use utf-8 in read_file and the problem was solved.No, the problem still exists ......
Using the most recent mo2, I get this:
an error occurred: TypeError: object of type 'NoneType' has no len()
At:
F:\SME\plugins\crashlogtools\lib\dulwich\object_store.py(571):get_raw
F:\SME\plugins\crashlogtools\lib\dulwich\object_store.py(154):__getitem__
F:\SME\plugins\crashlogtools\lib\dulwich\graph.py(205):lookup_stamp
F:\SME\plugins\crashlogtools\lib\dulwich\graph.py(220):can_fast_forward
F:\SME\plugins\crashlogtools\lib\dulwich\porcelain.py(338):check_diverged
F:\SME\plugins\crashlogtools\lib\dulwich\porcelain.py(1280):pull
F:\SME/plugins\crashlogtools\crashlogutil.py(41): update_database
F:\SME/Plugins\crashlogtools\crashloglabeler.py(84):onUserInterfaceInitialisedCallback
I've never used MO2 before, and I did use a wabbajack list to install it (Skyrim Modding Essentials); it was on an older version of mo2, which i've updated to the newest release from - but the issue may be user error, I don't know. Still, as the error said it was in crashlogtools (the version that came with SME was outdated, so I completely removed it and replaced it with this one), I figured I'd mention it here. It's not the end of the world as Mo2 launches just fine - it's just that the plugin doesn't work. Any ideas what might be wrong?