Bug 2158996
| Summary: | zim screenshot fails: AttributeError: 'TmpFile' object has no attribute 'rename' | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Robert <redhat-bz> |
| Component: | Zim | Assignee: | Otto Liljalaakso <otto.liljalaakso> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 37 | CC: | oliver, otto.liljalaakso, robinlee.sysu |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Zim-0.75.2-1.fc38 Zim-0.75.2-1.fc37 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-07-28 02:41:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Robert
2023-01-07 15:53:48 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component. Upstream issue #2190 has been resolved and indeed,
the given error does not appear when using 0.75.2,
which is the first version to include the fix.
0.75.2 is available on Rawhide now, and in testing for Fedora 38.
Koji build is failing for Fedora 37, which I still need to investigate.
I can now use the screenshot plugin on an X session.
However, on GNOME and Wayland I get a different error now:
import: unable to read X window image 'root': Resource temporarily unavailable @ error/xwindow.c/XImportImage/5065.
import: `/tmp/zim-ex3ub765/insert-screenshot.png' @ error/import.c/ImportImageCommand/1289.
I have reported this upstream as
https://github.com/zim-desktop-wiki/zim-desktop-wiki/issues/2424
FEDORA-2023-4ab5fee2bd has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-4ab5fee2bd FEDORA-2023-37846046df has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-37846046df After a bit more research, I discovered that the Insert Screenshot plugin has settings gnome-screenshot can be selected as the backend utility there. After doing that, screenshots work on Wayland. I have also submitted an upstream fix to get the gnome-screenshot used by default on Wayland: https://github.com/zim-desktop-wiki/zim-desktop-wiki/pull/2431 FEDORA-2023-37846046df has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-4ab5fee2bd has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report. |