Bug 431717 - File could not be saved in C: / Users /.../ AppData / Local / Temp / okular.uuqUnF '. Try to save it to another location.
Summary: File could not be saved in C: / Users /.../ AppData / Local / Temp / okular.u...
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
: 431654 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-17 07:07 UTC by Artem
Modified: 2022-05-31 18:22 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artem 2021-01-17 07:07:15 UTC
The functions of adding annotations (some stickers, stamps, etc.) do not work at all.

I click "Save", then: "Save as ocular document archive" - I save.

"After saving, the current document format requires the file to be reloaded. Your undo / redo history will be lost. Do you want to continue?" I choose "Yes". And then: "File could not be saved in C: / Users /.../ AppData / Local / Temp / okular.uuqUnF '. Try to save it to another location."

What can be done? How do I change the save path for this file?
Comment 1 DjViewer 2021-01-17 16:46:00 UTC
I have the same bug: 431654
Comment 2 josu.013 2021-09-13 08:38:42 UTC
Same bug in Windows 10, Okular V20.12.2
Comment 3 Dawid Wróbel 2021-09-13 14:49:29 UTC
I have a similar issue with KMyMoney on macOS:
https://bugs.kde.org/show_bug.cgi?id=441909
Comment 4 kongmuqiuren 2021-12-16 03:50:00 UTC
same bug in manjaro kde21. Error: 'Cannot copy file from /tmp/okular.ronEoF to /Desktop/prompt/ Fantastically and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivity.pdf.part. (Errno: 18)'. Try to save it to another location.
Comment 5 K.J. Petrie 2022-01-20 22:58:07 UTC
I have moved this to frameworks-kio as it's an IO issue not specifically an Okular one.

I believe https://www.pclinuxos.com/forum/index.php/topic,156613.msg1346749.html#msg1346749 is relevant as it describes the same behaviour which has appeared in Linux using an older kernel. The package version, 5.88.0 doesn't match those offered above so I can't Identify the actual version where this began at present. I also do not have easy access to an older kernel for testing.

It looks as if there could be a regression in frameworks-kio which is masked by newer Linux kernels but prevents proper moving of files across file systems with older Linux kernels, as well as Windows and Mac ones. Hope this moves the search on a bit in identifying the problem.
Comment 6 K.J. Petrie 2022-01-20 22:59:43 UTC
Please ignore my comment about package version. I didn't realise the ones listed were still for Okular.
Comment 7 Albert Astals Cid 2022-01-20 23:16:38 UTC
I doubt it's a KIO bug, bringing back to Okular.
Comment 8 Bug Janitor Service 2022-01-21 12:54:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/546
Comment 9 Albert Astals Cid 2022-01-21 13:28:18 UTC
*** Bug 431654 has been marked as a duplicate of this bug. ***
Comment 10 Albert Astals Cid 2022-01-24 00:31:27 UTC
Git commit 3e919b42873081574e3a095349b736f47675eae1 by Albert Astals Cid.
Committed on 23/01/2022 at 22:20.
Pushed by aacid into branch 'release/21.12'.

Fix saving to okular archive on Windows

M  +10   -6    part/part.cpp

https://invent.kde.org/graphics/okular/commit/3e919b42873081574e3a095349b736f47675eae1
Comment 11 Michael Freeman 2022-05-31 18:06:49 UTC
I'm still getting this in 21.12.3 in Kubuntu jammy 22.04. In which release is this fixed ?
Comment 12 Albert Astals Cid 2022-05-31 18:17:25 UTC
This was never an issue in Linux, so you're not getting this issue.

Please create a new one, also maybe you can try okular from flathub to see if the issue you're having anyway has been fixed since your old version https://flathub.org/apps/details/org.kde.okular
Comment 13 Michael Freeman 2022-05-31 18:22:35 UTC
(In reply to Albert Astals Cid from comment #12)
> This was never an issue in Linux, so you're not getting this issue.
> 
> Please create a new one, also maybe you can try okular from flathub to see
> if the issue you're having anyway has been fixed since your old version
> https://flathub.org/apps/details/org.kde.okular

OK. It is an issue on Linux because I just got it. I'll create a new issue if necessary when I try your snap suggestion. Cheers.