-
-
Notifications
You must be signed in to change notification settings - Fork 215
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
6.0.1 cause onenote crush!!! #1268
Comments
@Test-Acount what are you doing in OneNote / OneMore when it crashes? |
@jasonjac2 The error code is a generic COM exception that I've seen when the OneNote Interop API is overloaded. That's really hard to track exactly where without having hands-on. As for the performance of the Hashtag scanner, the quick fix I've made currently is to simply slow it down, adding a small delay in between each page scan. As I mentioned above, I have some ideas how to decouple it and avoid the problem altogether. |
@jasonjac2 @stevencohn im doing nothing, just open onenote, and wait and it crush like the screenshot. |
|
@Test-Acount It looks like it's failing almost immediately. Please if you could answer this, have you used OneMore in the past and has it worked in the past? Have other commands worked? Of course, OneMore should not fail catastrophically like this but I'm wondering, if this is a new installation and you are a new OneMore user. If so, I suspect there is a problem with your OneNote installation. Have you tried a OneNote repair instlal? You could check this by disabling the Hashtag service. This can be done in the settings. But if OneNote is crashing before it lets you get there, you can also disable it by adding the <HashtagSheet>
<disabled>true</disabled>
</HashtagSheet> If there are other items in the HashtagSheet entry, don't worry, just leave them. Start up OneNote and try to use other OneMore commands. If they work, then it's a problem with the Hashtag service. If they do not, then it's likely a problem with your OneNote installation. That you very much for providing the additional information. I really do want to make this a great experience for everyone. |
@stevencohn it's not a new-installed OneNote and onemore. i use the 5.9v onemore before, and it totally worked very well. yesterday i updated onemore to 6.0.1v (cover install). and crushed... I'll test the Hashtag service laster. laptop not here. PS I'm using surface pro x. maybe this is about the ARMx64 OneNote? |
Seeing the extended exception details that you posted, I was able to track down one spot where OneMore was not recognizing a null value. While I'm not sure why it can't load any specific page, it will at least ignore the exception and should keep going. This fix will be in the next release, this weekend. |
Looking forward to the new version. I'll keep feed back. Thanks. |
I disabled the Hashtag service, other function of onemore works fine. no crush any more. |
@stevencohn I installed the new version 6.1.0. but sitll crush. same as 6.0.1.
|
And there was no warning during the installation about your OneNote configuration? I'm worried there might be something wrong with your section data, /LAB. It skipped the first page, which means the new code is working, but the exception is fatal which causes all subsequent calls to fail. The next exceptions are from a different location but it's impossible to recover at that point anyway giving the RPC server is down. So for now, you can still use OneMore but will need to disable the Hashtag service.
<HashtagSheet>
<interval>2</interval>
<styleIndex>0</styleIndex>
<styleName>None</styleName>
<disabled>true</disabled>
</HashtagSheet>
I will try to investigate but without being able to repro the issue, this is a hard one. |
i think my OneNote data is all good. i use several devices. all notes are good. I'm gonna disabled the service and try the next version... |
@stevencohn I'm trying to look at this issue. there is no section id {C9717EE7-E7FC-0721-367C-D555766F37E2} in my notebook /LAB section. Is there a way to find the section and page based on the id in the log? |
@stevencohn thanks. I disabled the Hashtag service. and I tried to lookup the id in log ( |
To be honest, I've no idea. Never seen this before. Maybe you can try to verify the page this way. Since it's reporting in the log that the suspect page is coming from the LAB section:
If it exists then there's something wrong with the storage of that page that the Interop API cannot handle (maybe OneNote itself can read it fine but its API used by OneMore cannot.) If it does not exist then there's something wrong with the storage of the section index. Again, something that the API perhaps cannot handle well. Either way, I'm adding extra logging and exception handling to OneMore to try to catch odd cases like this so hopefully I can understand it better in the future. Thank you for your help! |
@stevencohn finally. I got something. I locate the page( |
The OneMore Navigator service is trying to pick it up and running into the same problem. Does the page have sensitive content? If not, would you mind sharing it? Could you please Export the page as If it is sensitive, but you'd be OK sharing just with me, let me know and we can connect via email. I really want to solve this! |
This note contains a lot of content, and it also has a lot of different formats, such as pictures, formulas, tables, marks, etc. I'll try to split this page to determine what the problem is. I'll share it with you if it's sure. Maybe I'll try it tomorrow. |
I analyzed the content of the wrong page. The problem is in the formula part. This formula is a comment section that I accidentally copied in, and this section is hyperlinked. If you create a separate formula, you are not allowed to create a hyperlink, but you can copy one into the formula. That's the problem. If you copy a page contains a formula with a hyperlink, OneNote will sometimes crash, but not 100%. This operation has nothing to do with other plugins, which is the reason for OneNote itself. But the wrong page was created about two years ago, and there was no problem with previous access, so it may be caused by some updates of OneNote. Back to this test page (attachment), if you enable OneMore (not about the Hashtag service) and then open this page, it will crash 100%. About the Hashtag service, I deleted the hyperlink in the formula of that wrong page, and the Hashtag service scanned it again, there was no problem at all, everything back to normal. |
That's great detective work and I'm very glad it's working back to normal for you now. |
Problem to Solve
since install 6.0.1, open onenote, about 5m later, onenote crush.
To Reproduce
Steps to reproduce the behavior:
open and crush. open and crush...
Expected Behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (if applicable)
→log↓
Additional Context
01| Starting dllhost 3408, 2995 Mhz, 8 MB, en-US/en-US, v6.0.1, OneNote 15.0, Office 16.0, 2024-01-19 15:46
01| ..Windows 11 Core, Version 22H2, Build 23619, 64 bit
01| ..C:\Program Files\Microsoft Office\Root\Office16\ONENOTE.EXE (16.0.17315.20000)
01| ..OnConnection(ConnectionMode:ext_cm_Startup,custom[1:Int32])
01| ..OneAddInsUpdate(custom[])
01| ..building ribbon
01| ..building ribbon colorizer commands
01| ..building ribbon language proofing commands
01| ..building context menu
01| ..OnStartupComplete(custom[])
01| ..starting command service
01| ..starting reminder service
01| ..starting navigation service
01| ..starting hashtag service
01| ..ready
03| defined 47 hotkeys for input locale 1033
08| building hashtag database
08| hashtag database done
08| updating tags on page /LAB/Market/
08| error getting page {C9717EE7-E7FC-0721-367C-D555766F37E2}{1}{E19475391419883260861520128866108150188179351}
08| System.Runtime.InteropServices.COMException
Message: The remote procedure call failed. (Exception from HRESULT: 0x800706BE)
Description: Unrecognized error code 0x800706BE
ErrorCode: 0x800706BE (-2147023170)
HResult: 0x800706BE (-2147023170)
Source: Microsoft.Office.Interop.OneNote
StackTrace: at Microsoft.Office.Interop.OneNote.ApplicationClassCOM.GetPageContent(String bstrPageID, String& pbstrPageXmlOut, PageInfo pageInfoToExport, XMLSchema xsSchema)
at River.OneMoreAddIn.OneNote.GetPage(String pageId, PageDetail detail)
TargetSite: [Microsoft.Office.Interop.OneNote] Microsoft.Office.Interop.OneNote.ApplicationClassCOM::GetPageContent()
The text was updated successfully, but these errors were encountered: