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

Linux: Bulk Export PDF Dialog Without Permissions #10828

Closed
conglinyizhi opened this issue Aug 5, 2024 · 4 comments · Fixed by #10839
Closed

Linux: Bulk Export PDF Dialog Without Permissions #10828

conglinyizhi opened this issue Aug 5, 2024 · 4 comments · Fixed by #10839
Labels
bug It's a bug

Comments

@conglinyizhi
Copy link
Contributor

Operating system

Linux

Joplin version

3.0.13

Desktop version info

Joplin 3.0.13 (prod, linux)

客户端 ID: fbc564639de9413998f0449ecaf31d0e
同步版本:3
配置文件版本:47
支持的密钥链:否

修订:599cf5b

Backup: 1.4.1

Current behaviour

Image
Image
Image
Image

  1. Use Ctrl to select multiple notes, then click the export button in the updated interface on the right
  2. Select PDF Export
  3. Do not select any location, just click cancel (the position where the dialog opens does not affect the reappearance of this bug)
  4. Multiple dialogs without root directory read permissions will appear, and they will repeat based on the number of selected documents.

Expected behaviour

Expected Joplin to stop exporting after I deselected the location, instead of continuing to attempt exporting after the path was deselected

Logs

MainScreen.tsx:466 Error: Error: EACCES: permission denied, open '/2024***1.pdf'. Path: /2024******1.pdf
    at FsDriverNode.fsErrorToJsError_ (/tmp/.mount_Joplin3NwXBi/resources/app.asar/node_modules/@joplin/lib/fs-driver-node.js:23:24)
    at FsDriverNode.<anonymous> (/tmp/.mount_Joplin3NwXBi/resources/app.asar/node_modules/@joplin/lib/fs-driver-node.js:52:28)
    at Generator.throw (<anonymous>)
    at rejected (/tmp/.mount_Joplin3NwXBi/resources/app.asar/node_modules/@joplin/lib/fs-driver-node.js:6:65)

图片

@conglinyizhi conglinyizhi added the bug It's a bug label Aug 5, 2024
@laurent22
Copy link
Owner

Thank you for the detailed bug report but how did you install the app?

@conglinyizhi
Copy link
Contributor Author

Thank you for the detailed bug report but how did you install the app?

Thank you for your reply. I installed it through the installation instructions provided on the official website.

wget -O - https://raw.githubusercontent.com/laurent22/joplin/dev/Joplin_install_and_update.sh | bash

@personalizedrefrigerator
Copy link
Collaborator

On Ubuntu 24.04 (a development build of Joplin), I've managed to reproduce this issue once, though have also been able to export multiple notes as PDF successfully.

When it failed, Joplin seemed to try to write to the root directory of my computer (e.g. /this_is_a_test.pdf), which it doesn't have access to.

@conglinyizhi
Copy link
Contributor Author

On Ubuntu 24.04 (a development build of Joplin), I've managed to reproduce this issue once, though have also been able to export multiple notes as PDF successfully.

When it failed, Joplin seemed to try to write to the root directory of my computer (e.g. /this_is_a_test.pdf), which it doesn't have access to.

Yes, the dialog box it pops up indicates that it's writing to the / directory, but normally, after clicking cancel, it should stop exporting the PDF file, rather than continuing the export.

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

Successfully merging a pull request may close this issue.

3 participants