Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Okular is unable to save annotations added to a file
@ 2021-04-28 13:13 nothingnesses
  2021-04-28 20:18 ` Johnnynator
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: nothingnesses @ 2021-04-28 13:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2252 bytes --]

New issue by nothingnesses on void-packages repository

https://github.com/void-linux/void-packages/issues/30560

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  Void 5.11.16_1 x86_64-musl AuthenticAMD notuptodate rrnFF
* package:  
  okular-21.04.0_1

### Expected behavior

Annotations added in Okular is saved.

### Actual behavior

Annotations added in Okular is not saved with error:

```
Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kuiserver was not provided by any .service files")
kf.dbusaddons: Can not find 'kdeinit5' executable at  "/home/a/.cargo/bin:/home/a/.npm-global/bin:/home/a/.idris2/bin:/home/a/.local/bin:/bedrock/cross/pin/bin:/bedrock/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/games:/usr/games:/bedrock/cross/bin" "/usr/bin, /usr/lib/qt5/bin"
kf.kio.slaves.file: copy() QUrl("file:///tmp/okular.sSbPmD") to QUrl("file:///home/a/library/Robert Harper/Practical Foundations for Programming Languages Second Edition (9)/Practical Foundations for Programming Lang - Robert Harper.okular") mode= -1
kf.kio.slaves.file: the file doesn't have any xattr
Lost annotation on document save, something went wrong
```

### Steps to reproduce the behavior

1. Open a PDF.
2. Highlight some text using the highlighter annotation tool (<kbd>F6</kbd>, then click on the highlighter tool at top left, then drag over some text).
3. Save as a file of type "Okular document archive (\*.okular)" (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd>, then select "Okular document archive (*.okular)" in the "Files of type" drop-down selections, then <kbd>↵ Return</kbd>).

### Other info

Installing `kinit` prevents some of the error messages, but the following messages remain:

```
Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kuiserver was not provided by any .service files")
Lost annotation on document save, something went wrong
```


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Okular is unable to save annotations added to a file
  2021-04-28 13:13 [ISSUE] Okular is unable to save annotations added to a file nothingnesses
@ 2021-04-28 20:18 ` Johnnynator
  2021-04-28 20:19 ` Johnnynator
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Johnnynator @ 2021-04-28 20:18 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/30560#issuecomment-828750192

Comment:
These messages (except `Lost annotation on document save, something went wrong`) are just warning, and quite normal if you run okular outside of KDE Plasma. I wasn't able to reproduce the issue so far, does this happen with all PDF's or only with a single particular one.
Furthermore does Okular create a document save without annotations or just nothing?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Okular is unable to save annotations added to a file
  2021-04-28 13:13 [ISSUE] Okular is unable to save annotations added to a file nothingnesses
  2021-04-28 20:18 ` Johnnynator
@ 2021-04-28 20:19 ` Johnnynator
  2021-04-28 21:17 ` nothingnesses
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: Johnnynator @ 2021-04-28 20:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

New comment by Johnnynator on void-packages repository

https://github.com/void-linux/void-packages/issues/30560#issuecomment-828750192

Comment:
These messages (except `Lost annotation on document save, something went wrong`) are just warning, and quite normal if you run okular outside of KDE Plasma. I wasn't able to reproduce the issue so far, does this happen with all PDF's or only with a single particular one.
Furthermore does Okular create a document save without annotations or just nothing?
Also did this work in previous okular versions for you or did you only just started using it on Void?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Okular is unable to save annotations added to a file
  2021-04-28 13:13 [ISSUE] Okular is unable to save annotations added to a file nothingnesses
  2021-04-28 20:18 ` Johnnynator
  2021-04-28 20:19 ` Johnnynator
@ 2021-04-28 21:17 ` nothingnesses
  2021-04-28 21:42 ` nothingnesses
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: nothingnesses @ 2021-04-28 21:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

New comment by nothingnesses on void-packages repository

https://github.com/void-linux/void-packages/issues/30560#issuecomment-828785987

Comment:
Hmm, it seems to happen to some of my PDFs, but not all. I guess it might be an issue with my files instead of with Okular then. Could it maybe have been caused by DRM or some other type of write-protection?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Okular is unable to save annotations added to a file
  2021-04-28 13:13 [ISSUE] Okular is unable to save annotations added to a file nothingnesses
                   ` (2 preceding siblings ...)
  2021-04-28 21:17 ` nothingnesses
@ 2021-04-28 21:42 ` nothingnesses
  2021-04-30 11:48 ` nothingnesses
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: nothingnesses @ 2021-04-28 21:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 965 bytes --]

New comment by nothingnesses on void-packages repository

https://github.com/void-linux/void-packages/issues/30560#issuecomment-828785987

Comment:
> does this happen with all PDF's or only with a single particular one.

Hmm, it seems to happen to some of my PDFs, but not all. I guess it might be an issue with my files instead of with Okular then. Could it maybe have been caused by DRM or some other type of write-protection?

> Furthermore does Okular create a document save without annotations or just nothing?

It creates a new .okular file (seems like a copy of the original), but any annotations added weren't saved.

> Also did this work in previous okular versions for you or did you only just started using it on Void?

I used older versions of Okular on older versions of Void a long time ago and seem to remember the annotation feature was also spotty and didn't get saved, but I don't remember which files and versions of Okular I had used.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Okular is unable to save annotations added to a file
  2021-04-28 13:13 [ISSUE] Okular is unable to save annotations added to a file nothingnesses
                   ` (3 preceding siblings ...)
  2021-04-28 21:42 ` nothingnesses
@ 2021-04-30 11:48 ` nothingnesses
  2022-05-18  2:09 ` github-actions
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: nothingnesses @ 2021-04-30 11:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

New comment by nothingnesses on void-packages repository

https://github.com/void-linux/void-packages/issues/30560#issuecomment-830039108

Comment:
I tried using the glibc build of Okular (also from Void repo) which seems to be able to save the files with annotations added that couldn't be saved with the musl build. Maybe this is a libc-related issue?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Okular is unable to save annotations added to a file
  2021-04-28 13:13 [ISSUE] Okular is unable to save annotations added to a file nothingnesses
                   ` (4 preceding siblings ...)
  2021-04-30 11:48 ` nothingnesses
@ 2022-05-18  2:09 ` github-actions
  2022-06-01  2:14 ` [ISSUE] [CLOSED] " github-actions
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2022-05-18  2:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 293 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/issues/30560#issuecomment-1129493111

Comment:
Issues become stale 90 days after last activity and are closed 14 days after that.  If this issue is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [ISSUE] [CLOSED] Okular is unable to save annotations added to a file
  2021-04-28 13:13 [ISSUE] Okular is unable to save annotations added to a file nothingnesses
                   ` (5 preceding siblings ...)
  2022-05-18  2:09 ` github-actions
@ 2022-06-01  2:14 ` github-actions
  2024-01-08  9:16 ` ragnarov
  2024-01-08  9:24 ` ragnarov
  8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2022-06-01  2:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2281 bytes --]

Closed issue by nothingnesses on void-packages repository

https://github.com/void-linux/void-packages/issues/30560

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  Void 5.11.16_1 x86_64-musl AuthenticAMD notuptodate rrnFF
* package:  
  okular-21.04.0_1

### Expected behavior

Annotations added in Okular is saved.

### Actual behavior

Annotations added in Okular is not saved and the following error is outputted:

```
Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kuiserver was not provided by any .service files")
kf.dbusaddons: Can not find 'kdeinit5' executable at  "/home/a/.cargo/bin:/home/a/.npm-global/bin:/home/a/.idris2/bin:/home/a/.local/bin:/bedrock/cross/pin/bin:/bedrock/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/local/games:/usr/games:/bedrock/cross/bin" "/usr/bin, /usr/lib/qt5/bin"
kf.kio.slaves.file: copy() QUrl("file:///tmp/okular.sSbPmD") to QUrl("file:///home/a/library/Robert Harper/Practical Foundations for Programming Languages Second Edition (9)/Practical Foundations for Programming Lang - Robert Harper.okular") mode= -1
kf.kio.slaves.file: the file doesn't have any xattr
Lost annotation on document save, something went wrong
```

### Steps to reproduce the behavior

1. Open a PDF.
2. Highlight some text using the highlighter annotation tool (<kbd>F6</kbd>, then click on the highlighter tool at top left, then drag over some text).
3. Save as a file of type "Okular document archive (\*.okular)" (<kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>S</kbd>, then select "Okular document archive (*.okular)" in the "Files of type" drop-down selections, then <kbd>↵ Return</kbd>).

### Other info

Installing `kinit` prevents some of the error messages, but the following messages remain:

```
Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kuiserver was not provided by any .service files")
Lost annotation on document save, something went wrong
```


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Okular is unable to save annotations added to a file
  2021-04-28 13:13 [ISSUE] Okular is unable to save annotations added to a file nothingnesses
                   ` (6 preceding siblings ...)
  2022-06-01  2:14 ` [ISSUE] [CLOSED] " github-actions
@ 2024-01-08  9:16 ` ragnarov
  2024-01-08  9:24 ` ragnarov
  8 siblings, 0 replies; 10+ messages in thread
From: ragnarov @ 2024-01-08  9:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 324 bytes --]

New comment by ragnarov on void-packages repository

https://github.com/void-linux/void-packages/issues/30560#issuecomment-1880625621

Comment:
Sorry, but this is happening again.
`Linux 6.6.9_1 #1 SMP PREEMPT_DYNAMIC Mon Jan  1 22:51:51 UTC 2024 x86_64 GNU/Linux`
`okular 23.08.4`
Not all files are affected, only some.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Okular is unable to save annotations added to a file
  2021-04-28 13:13 [ISSUE] Okular is unable to save annotations added to a file nothingnesses
                   ` (7 preceding siblings ...)
  2024-01-08  9:16 ` ragnarov
@ 2024-01-08  9:24 ` ragnarov
  8 siblings, 0 replies; 10+ messages in thread
From: ragnarov @ 2024-01-08  9:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 404 bytes --]

New comment by ragnarov on void-packages repository

https://github.com/void-linux/void-packages/issues/30560#issuecomment-1880625621

Comment:
Sorry, but this is happening again.
`Linux 6.6.9_1 #1 SMP PREEMPT_DYNAMIC Mon Jan  1 22:51:51 UTC 2024 x86_64 GNU/Linux`
`okular 23.08.4`
Not all files are affected, only some.
[Here](https://app.box.com/s/pxli2uy820gwosw7l4aj12ji8l4n2j0t) is link to one.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-01-08  9:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 13:13 [ISSUE] Okular is unable to save annotations added to a file nothingnesses
2021-04-28 20:18 ` Johnnynator
2021-04-28 20:19 ` Johnnynator
2021-04-28 21:17 ` nothingnesses
2021-04-28 21:42 ` nothingnesses
2021-04-30 11:48 ` nothingnesses
2022-05-18  2:09 ` github-actions
2022-06-01  2:14 ` [ISSUE] [CLOSED] " github-actions
2024-01-08  9:16 ` ragnarov
2024-01-08  9:24 ` ragnarov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).