You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
An error occurs when trying to "Slurp" to a custom path in the app. The first attempt to create the folder works, but subsequent attempts result in an "Uncaught (in promise) Error: Folder already exists." error.
Operating System:
Windows
Steps to Reproduce:
Open Obsidian and Slurp settings.
Set Default Saved Location to "/Inbox/Slurped".
'Slurp' a website.
Confirm that the folder and markdown file are created successfully.
Attempt to do another 'slurp'.
The error message appears.
Or
Create the directory set in Default Saved Location manually.
Try a 'slurp'.
The error message appears.
Expected Behavior:
The application should add the second slurped webpage to the already existing path.
Error Message:
app.js:1 Uncaught (in promise) Error: Folder already exists.
at t. (app.js:1:736472)
at app.js:1:237056
at Object.next (app.js:1:237161)
at a (app.js:1:235879)
The text was updated successfully, but these errors were encountered:
hey thanks for the report! that's an odd one. i'm able to reproduce it on my end. looks like when getFolderByPath gets called that second time, Obsidian returns null instead of the directory.
it works for me after removing the leading slash (ie: Inbox/Slurped) though. can you give that a try and let me know if it works for you too?
it's just a workaround ofc, slurp shouldn't barf silently at the first sign of trouble, but it should get you back up and running while i put together a permanent fix.
Description
An error occurs when trying to "Slurp" to a custom path in the app. The first attempt to create the folder works, but subsequent attempts result in an "Uncaught (in promise) Error: Folder already exists." error.
Operating System:
Windows
Steps to Reproduce:
Or
Expected Behavior:
The application should add the second slurped webpage to the already existing path.
Error Message:
app.js:1 Uncaught (in promise) Error: Folder already exists.
at t. (app.js:1:736472)
at app.js:1:237056
at Object.next (app.js:1:237161)
at a (app.js:1:235879)
The text was updated successfully, but these errors were encountered: