stevencohn / OneMore

A OneNote add-in with simple, yet powerful and useful features
Mozilla Public License 2.0
2.65k stars 223 forks source link

A runtime error occurred during the loading of the COM Add-in #1602

Open R4ygen opened 1 month ago

R4ygen commented 1 month ago

Problem to Solve

Just updated OneMore to the latest version (6.5.2), but it won't load. OneNote reports a runtime error. See screenshot. I then tried to reinstall my old version (5.9.0) but same thing happens. I've tried to install another plugin: Onetastic, it installs and works without issues.

I wanted to update because OneMore was starting to act strangely all of the sudden. When trying to save a new snippet, it kept popping up an error message telling to select something to save, even though items were selected.

Already tried to reboot my PC of course.

To Reproduce

Install OneMore under the KB5043145 update for Windows 11

Screenshots

image

Environment (if applicable)

Additional Context

OneMore.log

R4ygen commented 1 month ago

Alright I've uninstalled the KB5043145 update and it seems to work now. That's definitely the cause of the problem. Probably the same issue as #1601

I'm still having issues about Onemore erroring out telling me to select content though, even if it is selected. And not only for snippets now that I'm doing tests. Welp, one bug at the time. Let's fix this new windows update thing first, maybe it fixes everything.

stevencohn commented 1 month ago

For the continued content selection errors, do you normally run more than one open OneNote window?

R4ygen commented 1 month ago

For the continued content selection errors, do you normally run more than one open OneNote window?

Sometimes yeah, but it makes no difference. Tried to save a snippet after a clean reboot of the system and just one Onenote window open: still the same error.

jfgjfgjfg commented 4 weeks ago

I just updated to 6.5.2 and am running Windows 10. I don't have issues with OneMore loading but I'm also experiencing the Snippets issue:

When I try to save a snippet, I get a pop-up error to select the content for the snippet even though it's already selected.

Here's my log:

01|07:17:01.512| Starting dllhost 9096, 1498 Mhz, 16 MB, en-US/en-US, v6.5.2, OneNote 15.0, Office 16.0, 2024-10-25 19:17 01|07:17:01.512| ..Windows 10 Enterprise, Version 22H2, Build 19041, 64 bit 01|07:17:01.529| ..C:\Program Files\Microsoft Office\root\Office16\ONENOTE.EXE (16.0.18025.20160) 01|07:17:01.544| ..OnConnection(ConnectionMode:ext_cm_Startup,custom[1:Int32]) 01|07:17:01.544| ..OneAddInsUpdate(custom[]) 03|07:17:02.055| ..building ribbon 03|07:17:02.067| ..building ribbon colorizer commands 03|07:17:02.395| ..building ribbon groups 03|07:17:02.397| ..building context menu 03|07:17:02.397| ..cannot add ribExpandSnippetButton command to context menu, element not found 03|07:17:02.397| ..cannot add ribSaveSnippetButton command to context menu, element not found 03|07:17:02.588| ..OnStartupComplete(custom[]) 03|07:17:02.588| ..starting command service 03|07:17:02.588| ..starting reminder service 03|07:17:02.588| ..starting navigation service 03|07:17:03.052| ..starting hashtag service, Ready 03|07:17:03.052| ..ready 10|07:17:03.052| hashtag service waiting, Ready 11|07:17:03.070| Running command UpdateCommand 13|07:17:03.151| ..defined 52 hotkeys for input locale 1033 07|07:17:08.247| hashtag service scanned 1124 pages, updating 0, in 2173ms 11|07:17:09.697| Running command SaveSnippetCommand 04|07:17:24.190| Running command AboutCommand

NoYogurt8380 commented 3 weeks ago

I am very sorry for bothering again, I was the one with the https://github.com/stevencohn/OneMore/issues/1601

I am not that good in computer, so can anyone help me understand, what I should do to make it work?

R4ygen commented 3 weeks ago

I am very sorry for bothering again, I was the one with the #1601

I am not that good in computer, so can anyone help me understand, what I should do to make it work?

Uninstall the update KB5043145. Here's a guide. Install OneMore. Reinstall the update. (Just search for updates in Windows update)

NoYogurt8380 commented 3 weeks ago

Thanks for that guide. I tried my very best but was not able to find the update KB5043145 in my update history.