SjoerdV / ConvertOneNote2MarkDown

Ready to make the step to Markdown and saying farewell to your OneNote, EverNote or whatever proprietary note taking tool you are using? Nothing beats clear text, right? Read on!
GNU General Public License v3.0
196 stars 113 forks source link

Error when running the script #24

Closed edugodoyo closed 2 years ago

edugodoyo commented 2 years ago

I've followed the instructions but when running the script I[ve got an error (below). Windows 10 Version = 20H2 Build 19042.1288 OneNote version = 1808 (Msft office Professional Plus 2019) Pandoc Version = 2.16.2

Error:

-New-Object : Retrieving the COM class factory for component with CLSID {DC67E480-C3CB-49F8-8232-60B0C2056C8E} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)). At C:\Users\edugoliv\Downloads\ConvertOneNote2MarkDown.ps1:18 char:14

You cannot call a method on a null-valued expression. At C:\Users\edugoliv\Downloads\ConvertOneNote2MarkDown.ps1:21 char:3

Exception calling "ReleaseComObject" with "1" argument(s): "Object reference not set to an instance of an object." At C:\Users\edugoliv\Downloads\ConvertOneNote2MarkDown.ps1:219 char:3

Remove-Variable : Cannot find a variable with the name 'OneNote'. At C:\Users\edugoliv\Downloads\ConvertOneNote2MarkDown.ps1:220 char:3

SjoerdV commented 2 years ago

Please see #11