-
Notifications
You must be signed in to change notification settings - Fork 71
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
OneNote bug? - Exception calling "Publish" with "4" argument(s): "The remote procedure call failed. (Exception from HRESULT: 0x800706BE) #112
Comments
Interesting findings with additional testing:
I can only assume that there is something corrupt in the section that is not visible in the UI. tl;dr Create a new section, copy pages into it, run the script again. |
thanks for the hint on how to fix this issue (tl;dr) ... ! |
Even I am getting the same error. Seeing the tl;dr, I created a dummy onenote doc called
|
I am recieving the exact same error as @kishorekumarxyz, with the error occurring at the exact place. EDIT: I just fixed the issue by making sure Microsoft Word was installed and opened as adminsitrator. This worked for me. |
I had a similar error (but with code 0x80042006). The cause was I was using a relative path for my $notesdestpath. Changed from '.\notes' to the full path and it worked. |
I'm getting the "Exception calling "Publish" with "4" argument(s): "Class not registered"" error. Have got OneNote and Office both opened as admin, with a Word window open, and am opening Powershell as admin too. Have tried creating a whole new test section and even that's not getting through. |
@eGregiousGames yours doesn't seem related to this issue, see #101 (comment) and #101 (comment) which may help. |
I know this is closed, but for future readers, I succeded to resolve this just by changing the order of pages in the section in question (i moved the first page down) ! |
Bug
Process halts and returns error. See: CovertOneNote2MarkDown.error.log
Expectation
Successful export
Discussion
Expand all Paragraphs in Notebook.xml
ran priorEnvironment
Fairly recent re-install of Windows 10 Pro, Office installed with 365 license and unused prior to conversion effort.
Windows 10 Pro Version 21H1 (OS Build 19043.1348)
OneNote for Microsoft 365 MSO (Version 2111 Build 16.0.14701.20206) 64-bit
Next steps for debugging
The text was updated successfully, but these errors were encountered: