-
Notifications
You must be signed in to change notification settings - Fork 4
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
Hotfolder is importing and feleting files before file content is written (zero KB) #38
Comments
Please set the |
Thanks Jack, The program creating the .md file is Windows Subsystem Linux (WSL) on Win 11. This is running a Python version of Fabric (https://github.com/danielmiessler/fabric) Essentially text is piped out from Fabric, inside WSL (running Debian Image) to that file on Windows. Log is as follows, set to verbose, there's not a lot of detail sorry. I ran it ,multiple times, seems to overwrite.
|
Could you try the following build and uploade the complete log file. |
I think I had the same issue with html files in hotfolder, that had not yet finished downloading. |
Working well in this build, thank your for your efforts.
|
I also had this issue, but on Windows 10, the provided build in this issue resolved the issue for me. It would happen when Joplin was closed when files were put into the import folder, and when Joplin was opened, everything in there would import as blank. |
Great plugin, appreciate the work you've put in and sharing it with the community.
Issue
When other applications create the initial file to write text into, Hotfolder imports the file into a note before the before the file contents is complete.
The note in Joplin appears immediately on file creation, even with File Ready & Polling options set.
This results in an empty note, and the file being deleted before the content is imported.
Expected Result
File Ready setting ensures file is not 0KB, if it is, it waits for the next poll.
If after (insert # cycles), the file is still not ready, exit/error.
Environment
Windows 11
Plugin Settings
File Ready set to 120
Polling is Checked
Polling Interval is set to 120
Could be related to a difference in how Windows 11 reports files in Explorer as opposed to how Python sees it?
Appreciate your time & consideration of the issue.
The text was updated successfully, but these errors were encountered: