ivaneye / obsidian-files-cooker

An obsidian plugin for moving search files to target folder
Apache License 2.0
45 stars 1 forks source link

Only the last file is moved/copied from a list of files copied from Obsidian Search Result #11

Open renatomen opened 1 year ago

renatomen commented 1 year ago

Hi @ivaneye

I have the same problem.

Steps to reproduce:

  1. Search notes using obsidian standard search
  2. Copy search results to clipboard (including path).
  3. Open the command Palette and select "File Cooker: Move files to..."

Unexpected results:

image image

Expected results

Additional comments:

Given the fact that the plugin was working before and also the fact that no other plugin could be interfering with it, I wonder if the unexpected behaviour is related to recent Obsidian App Updates.

ivaneye commented 1 year ago

I'm using Obsidian v1.1.9 now and the Cooker plugin works fine. Disable and enable the Cooker plugin, then try again~ And you can update to v1.7.0+, it supports to add notes to target canvas

renatomen commented 1 year ago

Thanks. Unfortunately it doesn't work.

What I tried.

1) Updated the Plugin to 1.7.1 2) Update Dataview to v0.5.54 3) Disabled FileCooker plugin. 4) Reenabled FileCooker plugin. 5) Closed Obsidian 6) Reopened Obsidian.

I used the same test vault shared earlier with you.

below is the Debug INfo:

SYSTEM INFO:

Obsidian version: v1.1.12 Installer version: v1.1.9 Operating system: Windows 10 Home 10.0.22621 Login status: logged in Catalyst license: insider Insider build toggle: on Live preview: on Legacy editor: off Base theme: light Community theme: none Snippets enabled: 0 Restricted mode: off Plugins installed: 3 Plugins enabled: 3 1: MetaEdit v1.7.2 2: Dataview v0.5.54 3: File Cooker v1.7.1

RECOMMENDATIONS: Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

On Thu, 19 Jan 2023 at 14:16, 架构思维 @.***> wrote:

I'm using Obsidian v1.1.9 now and the Cooker plugin works fine. Disable and enable the Cooker plugin, then try again~ And you can update to v1.7.0+, it supports to add notes to target canvas

— Reply to this email directly, view it on GitHub https://github.com/ivaneye/obsidian-files-cooker/issues/11#issuecomment-1396317703, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVO5UTDJJK7EBLRNJLA2DLWTCIYJANCNFSM6AAAAAATMTPYBY . You are receiving this because you authored the thread.Message ID: @.***>

ivaneye commented 1 year ago
image image

I use your vault and invoke "Move file..." command, it works fine~

obsidian-file-cooker.zip

renatomen commented 1 year ago

Hi Ivaneye,

I've done what you suggested.

The console logs shows filenames with an extra ".md" appended to them.

Below is what I pasted from the clipboard:

1-Source/Another note.md 1-Source/new 1.md 1-Source/new 2.md 1-Source/new 3.md

Here's the console log (saved using "save as") in the console: obsidian.md-1674170169071.log

And here's an image showing the console log image

renatomen commented 1 year ago

@ivaneye

I tested on a different laptop and got the same issue. OS in both laptops is Windows 11

ivaneye commented 1 year ago

Hi Ivaneye,

I've done what you suggested.

The console logs shows filenames with an extra ".md" appended to them.

Below is what I pasted from the clipboard:

1-Source/Another note.md 1-Source/new 1.md 1-Source/new 2.md 1-Source/new 3.md

Here's the console log (saved using "save as") in the console: obsidian.md-1674170169071.log

And here's an image showing the console log image

I think I have fixed this bug. try v1.7.3

ivaneye commented 1 year ago

Hi Ivaneye,

I've done what you suggested.

The console logs shows filenames with an extra ".md" appended to them.

Below is what I pasted from the clipboard:

1-Source/Another note.md 1-Source/new 1.md 1-Source/new 2.md 1-Source/new 3.md

Here's the console log (saved using "save as") in the console: obsidian.md-1674170169071.log

And here's an image showing the console log image

I think I have fixed this bug. try v1.7.3