-
Notifications
You must be signed in to change notification settings - Fork 66
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
ErrorPreventToCommunicateWithOneNote #86
Comments
Hey @jimbobshazham , this error seams to be raised on computers with a broken office installation. Can you try to launch the office repair tool, or uninstall and reinstall office. Alternatively, you can transfer your notebooks (export/import) on an other computer and run the OneNodeMdExporter on it. Hope it will help. |
I've not owned or ever had office on this computer?
…On Fri, 2 Jun 2023, 06:08 alxnbl, ***@***.***> wrote:
Hey @jimbobshazham <https://github.com/jimbobshazham> , this error seams
to be raised on computers with a broken office installation. Can you try to
launch the office repair tool, or uninstall and reinstall office.
Alternatively, you can transfer your notebooks (export/import) on an other
computer and run the OneNodeMdExporter on it. Hope it will help.
—
Reply to this email directly, view it on GitHub
<#86 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNBZJFDMFWW3OTG5OZ72B3XJFYMNANCNFSM6AAAAAAYXRRIWQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
An office installation is mandatory to run the tool. |
I have since figured it out thanks. I do wonder how many times a "corrupt
office install" is trotted out to cover the fact this tool prints no useful
information.
…On Sat, 3 Jun 2023, 15:19 alxnbl, ***@***.***> wrote:
An office installation is mandatory to run the tool.
—
Reply to this email directly, view it on GitHub
<#86 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNBZJGV6CMWMNOKC64YFULXJNBYLANCNFSM6AAAAAAYXRRIWQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
During startup, the tool display the requirement and specifically the office requirement. So it expects people has read it and do not run the export without Office. But I agree with you that I could update the error message in a future version. |
The text posted in the original message is all I saw when I ran it Had it
displayed what you are suggesting I wouldn't have posted here? It looks
like it failed from the outset and I'm curious what is was doing on a
totally different drive than it was run on.
…On Sat, 3 Jun 2023, 16:04 alxnbl, ***@***.***> wrote:
During startup, the tool display the requirement and specifically the
office requirement. So it expects people has read it and do not run the
export without Office. But I agree with you that I could update the error
message in a future version.
—
Reply to this email directly, view it on GitHub
<#86 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABNBZJDSKVB6UOGVWWEPXXTXJNHAFANCNFSM6AAAAAAYXRRIWQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hmm understood ! |
This may help - you need to run both tool console and OneNote as Administrator - this helped to me. To the author - elevated mode for the OneNoteExplorer only doesn't help, so it make sense to handle the error code "cannot run" and suggest to "Run OneNote as Administrator and press ENTER" |
Actually, the recommandation is to run both the tool and OneNote without admin privilege. |
Describe the bug
A clear and concise description of what the bug is.
The program exits with the following
ErrorPreventToCommunicateWithOneNote
Press [Enter] to continue...
The program then spits the following out:
Unhandled exception. System.Runtime.InteropServices.COMException (0x80040154): Class not registered (0x80040154 (REGDB_E_CLASSNOTREG))
b__2_0(Options options) in D:\Alex\Code\onenote-md-exporter\src\OneNoteMdExporter\Program.cs:line 54at System.RuntimeTypeHandle.AllocateComObject(Void* pClassFactory)
at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions)
at System.Activator.CreateInstance(Type type)
at alxnbl.OneNoteMdExporter.Program.RunOptions(Options opts) in D:\Alex\Code\onenote-md-exporter\src\OneNoteMdExporter\Program.cs:line 66
at alxnbl.OneNoteMdExporter.Program.<>c.
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult
1 result, Action
1 action)at alxnbl.OneNoteMdExporter.Program.Main(String[] args) in D:\Alex\Code\onenote-md-exporter\src\OneNoteMdExporter\Program.cs:line 47
I suspect something has gone wrong when building the latest release as I don't reckonise the path mentioned in that blurb
The text was updated successfully, but these errors were encountered: