Skip to content
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

Couldn`t write changelog: check the file path #6

Closed
dy-sh opened this issue Mar 9, 2021 · 14 comments
Closed

Couldn`t write changelog: check the file path #6

dy-sh opened this issue Mar 9, 2021 · 14 comments

Comments

@dy-sh
Copy link

dy-sh commented Mar 9, 2021

Error message: Couldn`t write changelog: check the file path

Tried different file paths, nothing helps.

@badrbouslikhin
Copy link
Collaborator

Are you using an absolute file path?
Could you share a screenshot of your vault file tree and the path you're setting?

@patowod
Copy link

patowod commented Mar 20, 2021

Love the idea! Unfortunately I encounter the same message as @derwish-pro. I'm on Mac OS Catalina and I have my vault within the iCloud. This works fine for everything. I programatically tested the following path and probably most derivations:

/Users/User/Library/Mobile Documents/26N4YFUEA42~pro~writer/Documents/changelog.md

Any ideas appreciated.

@Priyank-Vaghela
Copy link
Contributor

Priyank-Vaghela commented Mar 24, 2021

I faced the same issue. Here's a quick solution for #6:

  1. Create a new file, for example - Misc/changelog
  2. Go to Settings -> Plugin Option -> Vault Changelog
  3. Enter path in Changelog note location - Misc/changelog.md
  4. Restart Obsidian

Notes:

  • Make sure to keep a proper file path and a name, like the one I have used.
  • If you are creating a new file with Obsidian, then don't put a (.md) extension.

@patowod
Copy link

patowod commented Mar 24, 2021

Thanks a lot for your comment @Priyank-Vaghela. I gave it another go and I found that restarting Obsidian was key to my setup / issue. So, having my "changelog.md" in my notes root the "changelog.md" is the only part that is needed in the plugin settings. Key is then to restart Obsidian. Now it works like a charm!

@badrbouslikhin
Copy link
Collaborator

I cannot reproduce this issue. Glad you found a workaround.
@Priyank-Vaghela I see that you forked the repo, any idea what's going on here?

@Priyank-Vaghela
Copy link
Contributor

I cannot reproduce this issue. Glad you found a workaround.
@Priyank-Vaghela I see that you forked the repo, any idea what's going on here?

Hi @MrZeroo00, I faced few issues while setting up the plugin with Obsidian. However, the solution was quite simple; therefore, I thought of updating the documentation by forking and then requesting a PR merge. Thank you. I hope you are doing well.

@dy-sh
Copy link
Author

dy-sh commented Apr 5, 2021

I faced the same issue. Here's a quick solution for #6:

  1. Create a new file, for example - Misc/changelog
  2. Go to Settings -> Plugin Option -> Vault Changelog
  3. Enter path in Changelog note location - Misc/changelog.md
  4. Restart Obsidian

Notes:

  • Make sure to keep a proper file path and a name, like the one I have used.
  • If you are creating a new file with Obsidian, then don't put a (.md) extension.

It works for me. Thank you.

@dy-sh
Copy link
Author

dy-sh commented Apr 5, 2021

Are you using an absolute file path?
Could you share a screenshot of your vault file tree and the path you're setting?

I tried to use relative path (filename without folders).
My vault path: C:\Users\Derwish\Documents\MY NOTES\obsidian-notes

@jorgb
Copy link

jorgb commented Aug 9, 2021

Obsidian 0.12.13

This does not work intuitively.

It is finicky about \ or / as a slash for path demarkation while Obsidian is not so picky. But after trying the solution above I got it to work.

@osaze-nosaze
Copy link

Hi, everyone.
The Vault Changelog plugin sounds very useful to me. I thank the maker. However, I cannot get it to work, no matter what I try. The issue is the one under discussion here: "Could not write the changelog. Check the file path." I have followed the instructions on how to solve it but every effort has failed so far.

I use a Linux system and the absolute path to my notes is: /media/imose/Repository/Notes. I have the changelog.md file in the Notes folder; so for "Changelog note location" in the plugin settings, I put in: /media/imose/Repository/Notes/changelog.md. I restarted Obsidian after this, waited about half a minute and restarted it. The plugin gave me the error message.

I have re-tried this process numerous times, after changing one element or another, but I get the same result every time. For instance, I have removed the / before "media" in the filepath, removed everything before "Repository" in the path, and even used only "Notes/changelog.md" -- as I understood derwish-pros' solution above to mean-- hoping it would work since the changelog file is in the vault root. Nothing has worked. I am sure I am doing something wrong or missing something.

I would appreciate anyone's help, preferably in language fit for computer dummies like me.

Thanks in advance

@ramification
Copy link

then don't put a (.md) extension.

NOW I understand why it wasn't working ! Thank you !

@badrbouslikhin
Copy link
Collaborator

I've created a new branch that should address the onboarding experience issue (#13).

If you encounter any problems, please feel free to reopen this issue and provide additional details.

@FetchFast
Copy link

Thanks for the workaround of making a file for the plugin because it can't do it itself. I hope this function can be introduced in a new version

@merlinuwe
Copy link

merlinuwe commented May 26, 2024

For me, this is correct:

Meta/Allgemeines/change_log_Uwe_PC_SSD.md

image

It seems to be, that the plugin has problems with "-" in the filename: Meta/Allgemeines/change_log_Uwe-PC-SSD.md

Perhaps it makes sense to make the input field a little wider so that the (correct) content is easier to read.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants