Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

Running Obsidian Notes plugin returns error

Open fedderw opened this issue 1 year ago • 5 comments

Please open new issue in: https://github.com/Flow-Launcher/Flow.Launcher/issues/new

  1. upload log file: C:\Users\fedde\AppData\Roaming\FlowLauncher\Logs\1.9.4\2022-09-01.txt
  2. copy below exception message

Flow Launcher version: 1.9.4 OS Version: Microsoft Windows NT 10.0.19044.0 IntPtr Length: 8 x64: True

Python Path: C:\Users\fedde\AppData\Roaming\FlowLauncher\PythonEmbeddable\pythonw.exe Date: 09/01/2022 16:36:43 Exception: System.IO.InvalidDataException: Obsidian Notes|Exception ignored in: <function Launcher.del at 0x000001CF713C6F70> Traceback (most recent call last): File "C:\Users\fedde\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.3\lib\flox\launcher.py", line 59, in del self.call() File "C:\Users\fedde\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.3\lib\flox_init_.py", line 96, in call return super().call() File "C:\Users\fedde\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.3\lib\flox\launcher.py", line 41, in call results = request_method(*request_parameters) File "C:\Users\fedde\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.3\lib\flox_init_.py", line 127, in _query self.query(query) File "C:\Users\fedde\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.3\plugin\main.py", line 38, in query context=[vault.id, str(note.path), note.checklists()] File "C:\Users\fedde\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.3\plugin\obsidian.py", line 106, in checklists for line in self.content().splitlines(): File "C:\Users\fedde\AppData\Roaming\FlowLauncher\Plugins\Obsidian Notes-1.1.3\plugin\obsidian.py", line 85, in content with open(self.path, 'r', encoding='utf-8', errors='replace') as f: FileNotFoundError: [Errno 2] No such file or directory: "C:\Users\fedde\OneDrive\Documents\2020-06-01-ObsidianWorkflows\Workflows\02 PARA_Starter_Kit_v2\2. Areas\Personal Development\A spellbinding reading of Hermann Hesse's 100-year-old love letter to trees, a Chilean picture-book about life and death, an ode to love beyond labels.md"

at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 288 at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 302 at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 322 at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<<QueryForPluginAsync>b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 192 --- End of stack trace from previous location --- at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34 at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 191 at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass137_0.<<QueryResults>g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 613 --- End of stack trace from previous location --- at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 587 at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__140_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

fedderw avatar Sep 01 '22 20:09 fedderw

I'm not sure why but it seems the plugin can no longer access the file

C:\Users\fedde\OneDrive\Documents\2020-06-01-ObsidianWorkflows\Workflows\02 PARA_Starter_Kit_v2\2. Areas\Personal Development\A spellbinding reading of Hermann Hesse's 100-year-old love letter to trees, a Chilean picture-book about life and death, an ode to love beyond labels.md

Was it moved or deleted?

Garulf avatar Sep 05 '22 22:09 Garulf

No, it hasn't been deleted. Why would that matter? Why would it try to access a deleted file?

On Mon, Sep 5, 2022 at 6:26 PM Garulf @.***> wrote:

I'm not sure why but it seems the plugin can no longer access the file

C:\Users\fedde\OneDrive\Documents\2020-06-01-ObsidianWorkflows\Workflows\02 PARA_Starter_Kit_v2\2. Areas\Personal Development\A spellbinding reading of Hermann Hesse's 100-year-old love letter to trees, a Chilean picture-book about life and death, an ode to love beyond labels.md

Was it moved or deleted?

— Reply to this email directly, view it on GitHub https://github.com/Flow-Launcher/Flow.Launcher/issues/1359#issuecomment-1237502331, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5C7FCXHFQED3EKTIFICQ3V4ZXQFANCNFSM6AAAAAAQCWNLYM . You are receiving this because you authored the thread.Message ID: @.***>

fedderw avatar Sep 05 '22 23:09 fedderw

Not sure but according to the error log it can no longer access that file. Is the file in some sort of cloud drive folder and maybe it was temporarily unavailable?

Garulf avatar Sep 06 '22 00:09 Garulf

I think so. Is it possible to exclude this? This was just an example vault, it's not the vault that I want to search.

On Mon, Sep 5, 2022 at 8:50 PM Garulf @.***> wrote:

Not sure but according to the error log it can no longer access that file. Is the file in some sort of cloud drive folder and maybe it was temporarily unavailable?

— Reply to this email directly, view it on GitHub https://github.com/Flow-Launcher/Flow.Launcher/issues/1359#issuecomment-1237552983, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD5C7FBPBY257QRJ3YU2QY3V42IN5ANCNFSM6AAAAAAQCWNLYM . You are receiving this because you authored the thread.Message ID: @.***>

fedderw avatar Sep 06 '22 00:09 fedderw

Currently the Obsidian plugin searches all vaults that Obsidian knows about. This could possibly be added in future versions.

Garulf avatar Sep 06 '22 05:09 Garulf

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Oct 22 '22 02:10 github-actions[bot]

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.

github-actions[bot] avatar Oct 30 '22 02:10 github-actions[bot]