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

does not seem to use settings #40

Open
asmrtfm opened this issue Jan 5, 2025 · 1 comment
Open

does not seem to use settings #40

asmrtfm opened this issue Jan 5, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@asmrtfm
Copy link

asmrtfm commented Jan 5, 2025

I have a notebook: "My Notebook"
Inside there is a sub-notebook called "docs"

There are 12 markdown files in the directory I pointed it to.
It correctly imports them all to the right sub-notebook.

I change the name of the notebook to "My-Notebook"
Before I can open the settings to adjust the name in Hotfolder's options, an error repeatedly pops up commanding focus to tell me that the notebook can not be found.

After quickly, between errors, opening the options screen, I change the notebook name to the new name and apply settings.

The error continues to popup.

I restart joplin, they continue to popup.
I uninstall and then reinstall the plugin (not activate/deactivate, I did a full reinstall)
Add the correct notebook name to Hotfolder settings... the error starts popping up after applying.

Reluctantly disabling plugin... ):


(possibly related to an interaction with another tag-based plugin, and so didn't feel it was appropriate to make separate issue):
I also experienced strange behavior where, after I added "My Notebook/docs" to hotfolder and included the tag "docs"

5 instances of the "docs" tag now appear under tags (despite 12 markdown files being imported)
4 of them point to a single note, and another points to 2.

All 12 notes have the "docs" tag.

Expected behavior: a single appearance of "docs" under tags which when clicked shows all notes with that tag.

@JackGruber
Copy link
Owner

Tag issue:
If the tag that was entered does not yet exist and several files in a hotfolder are finished writing almost simultaneously, they are processed in parallel.
As a result, when checking whether a tag already exists, several processes may create a tag with the same name via Joplin API.

I cannot reproduce the first case described.
If the folder is renamed, the message appears at the first note import and every time you start Joplin and then again at the first note.
The translation text was missing in the error message, this has been fixed in 8170f61.

@JackGruber JackGruber added the bug Something isn't working label Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants