Skip to content

OneNote bug? - Exception calling "Publish" with "4" argument(s): "The remote procedure call failed. (Exception from HRESULT: 0x800706BE) #112

@hoodncsu

Description

@hoodncsu

Bug

Process halts and returns error. See: CovertOneNote2MarkDown.error.log

Expectation

Successful export

Discussion

  • Many pages successfully converted before failure
  • Attempting to export manually through the OneNote UI results in an app crash, thus possible OneNote bug
  • Reproduced with two different OneNote pages in different Notebooks
  • Both pages contained only images
  • Dryrun ran successfully
  • Expand all Paragraphs in Notebook.xml ran prior

Environment

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

$dryRun = 1
$notesdestpath = 'c:\temp\work\notes'
$targetNotebook = 'Ryan @ Quantworks'
$usedocx = 1
$keepdocx = 2
$docxNamingConvention = 1
$prefixFolders = 1
$mdFileNameAndFolderNameMaxLength = 128
$medialocation = 1
$conversion = 'markdown-simple_tables-multiline_tables-grid_tables+pipe_tables'
$headerTimestampEnabled = 1
$keepspaces = 1
$keepescape = 1
$newlineCharacter = 1
$exportPdf = 1
Name                           Value
----                           -----
PSVersion                      5.1.19041.1320
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.19041.1320
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Next steps for debugging

  1. Isolate page into separate notebook for testing
  2. Add text to page
  3. Reproduce on another Windows installation

Metadata

Metadata

Assignees

Labels

docsImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions