[Image] could not be found for an existing image with autogenerated name

Steps to reproduce

  • Create an image.
  • Name it “Google Chrome 89768 Settings by XXX · Pull Request #123334 · dfsfsdfsd 2024 01 005093@2x 1”
  • Try to load it into a Canvas
  • It should error by saying: “Google Chrome 89768 Settings by XXX · Pull Request #123334 · dfsfsdfsd 2024 01 005093@2x 1” could not be found.

Note that the image is still added locally to the correct location, it just doesn’t load in the canvas. This name was autogenerated by CleanShotX.

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

I expected the image to load.

Actual result

The imaged didn’t load with error “could not be found.”

Environment

SYSTEM INFO:
Obsidian version: v1.5.3
Installer version: v1.5.3
Operating system: Darwin Kernel Version 22.4.0: Mon Mar 6 20:59:28 PST 2023; root:xnu-8796.101.5~3/RELEASE_ARM64_T6000 22.4.0
Login status: not logged in
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information

It seems like a title parsing issue.

Does it show if you remove the #? Obsidian doesn’t allow those in filenames. (Obviously an error message that says that would help.)

2 Likes

There is an error pop-up if you try to add one of these characters to a note name manually. I’m curious as well if removing the # sorts it out.

Screenshot 2024-01-18 151704

Oh, yeah, it could be allowed in non-note filenames.

I got pulled into something earlier. I see the warning with images and PDFs as well if I try to add a # in the file name text field.


The cats#.png image dragged/dropped and pasted from clipboard:

Screenshot 2024-01-18 at 16.46.13

shows me this in a note:

and this in a canvas:

Can you please open a FR to track this.
I think there may still be problems for pdfs.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.