Skip to content

Errors and only getting word files (no md) #17

@Harkens

Description

@Harkens

I have no idea what I'm doing wrong (it's the first I've used Onetastic and Pandoc, and probably the first time I've run a script like this on Powershell) but I followed the instructions (including opening both powershell and OneNote on administrator and running the security bypass) and tried it a few times and the results are the same. I have almost no coding knowledge and googling what might work to fix it hasn't worked out (I initially had spaces in one of the folders and did both CD "" and just straight up removing the spaces in the folder name to navigate to the proper folders, but beyond that I couldn't figure out what still needed to be done).

Below is an example of the error I got (it seems to have happened with every OneNote page):

REDACTED Troubleshooting OneNote to Obsidian conversion 1

REDACTED Troubleshooting OneNote to Obsidian conversion 2

Not sure what information would be relevant but I have the copy of this repository saved in Desktop\ProgramsAndOtherInstalls and the folder I wanted the .md files to go to is Documents\OneNoteExport2Obsidian. Within the later folder the script made a folder for each notebook I had on OneNote (the page "Prologue" is from my OneNote notebook "recover") and within those are three folders: "docx" where the .docx files of all my OneNote pages were stored, and two folders named after the main sections I have in my "recover" notebook. Those two sections have folders that correspond to their subsections but all the folders are empty except for one document I had saved into one of my OneNote pages.

Just in case this was important, the options I chose were the following:
REDACTED Troubleshooting OneNote to Obsidian conversion 3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions