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

[macOS] Image attachments are not downloaded on click when using Manual attachment download mode #11553

Open
aism opened this issue Dec 22, 2024 · 1 comment
Labels
bug It's a bug

Comments

@aism
Copy link

aism commented Dec 22, 2024

Operating system

macOS

Joplin version

3.1.24

Desktop version info

Joplin 3.1.24 (prod, darwin)

Client ID: 7425d85b87da42fbbfc7a8ce3f884647
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: d581264

Backup: 1.4.2
Inline tags: 1.3.0
Jarvis: 0.9.1
Link Graph UI: 1.5.0
Note Link System: 0.8.0
Note Tabs: 1.4.0
Rich Markdown: 0.15.1
Table Formatter Plugin: 1.2.1

Current behaviour

In an attempt to fix the problem:

  1. Closed Joplin
  2. Deleted the local ~/.config/joplin-desktop profile folder
  3. Moved settings and plugins into a pre-created ~/.config/joplin-desktop folder:
settings.json
plugins/
  1. Started Joplin and Re-configured plugin settings (as they aren't part of Joplin's settings.json)
  2. Enabled sync with Dropbox and entered Master password
  3. Waited for a sync to finish
  4. Images are not loaded (seems expected in Manual mode):
    How it looks like:
SCR-20241222-uczl

Same note from the other machine (where the attachment has been added locally):
PastedGraphic-1

  1. Clicking on the unloaded image attachment in the Markdown editor mode. Getting an error:
SCR-20241222-txvr
  1. Switching to the WYSIWIG. Seeing an error, and cannot get back to the Markdown editor (need to select another note and switch there, and then get back to this note):
SCR-20241222-txyl

The markdown is the same on both machines: ![b7c0e17a2ee3d200b2741b304ee3879f.png](:/ab486816ee5741a2924b7bebfe1d8350).

Searching by this ID in the Tools > Note attachments returns the attachment, but when clicking on the link nothing happens (it does open the image when doing it for the downloaded image):
SCR-20241222-udkf

The log from the debug mode restart is in the attachment.
joplin_dev_console.log

Indeed, it contains the net::ERR_FILE_NOT_FOUND errors and indeed those files aren't downloaded to the profile folder.

P.S.: initially the problem was worded differently as I didn't notice that I have the Attachments synced in Manual mode and was confused by it. However, when troubleshooting it and trying to click around I discovered the behavior described here.

Expected behaviour

Attachments should be loaded on-click and images displayed.

Logs

Attached as a file.

@aism aism added the bug It's a bug label Dec 22, 2024
@aism aism changed the title [macOS] Image attachments are not downloaded when synchronizing [macOS] Image attachments are not downloaded on click when using Manual attachment download mode Dec 22, 2024
@laurent22
Copy link
Owner

Did you recently change your sync target? This problem can happen in this situation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug
Projects
None yet
Development

No branches or pull requests

2 participants