FS#43485 - [gwenview] can't open any file

Attached to Project: Arch Linux
Opened by Tomasz Przybył (FadeMind) - Saturday, 17 January 2015, 06:35 GMT
Last edited by Andrea Scarpino (BaSh) - Saturday, 17 January 2015, 08:26 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

[tomasz@arch ~]$ pacman -Q|grep gwen
gwenview 14.12.1-1

First attachment: preview PNG files in Dolphin
Second attachment: opened PNG file in Gwenview 14.12.1-1
Third attachment: opened GIF file in Gwenview 14.12.1-1 with lots of warnings about Bluetooth protocol.
4th attachment: spotify logo in JPG file in preview mode (Dolphin)
5th attachment: spotify logo in JPG file opened in Gwenview 14.12.1-1 (metadata tab showed)
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Saturday, 17 January 2015, 08:26 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Antonio Rojas (arojas) - Saturday, 17 January 2015, 06:48 GMT
Please run gwenview with LANG=C so that errors are displayed in English
Comment by Tomasz Przybył (FadeMind) - Saturday, 17 January 2015, 07:05 GMT
[tomasz@arch Obrazy]$ LANG=C gwenview "Pulpit 1_040.png"
Could not find drkonqi at /usr/lib/drkonqi
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Couldn't start kded5 from org.kde.kded5.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5 was not provided by any .service files") , falling back to running kbuildsycoca5
kf5.kservice.sycoca: Trying to open ksycoca from "/home/tomasz/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from "/home/tomasz/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Still no database...
No ksycoca database available! Tried running kbuildsycoca5 ?
KServiceTypeTrader: serviceType "QImageIOPlugins" not found
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
org.kde.kactivities.lib.core: Creating ResourceInstance: empty for now
Removing "/tmp/gwenview-33tjRI/" from recent folders. It does not exist anymore
"/org/freedesktop/UDisks2/drives/WDC_WD5000BEVT_00A05T0_WD_WXT1EC0HLXS1" has new interfaces: ("org.freedesktop.UDisks2.Drive", "org.freedesktop.UDisks2.Drive.Ata")
"/org/freedesktop/UDisks2/block_devices/sdb" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.PartitionTable")
"/org/freedesktop/UDisks2/block_devices/sdb2" has new interfaces: ("org.freedesktop.UDisks2.Block", "org.freedesktop.UDisks2.Filesystem", "org.freedesktop.UDisks2.Partition")

[tomasz@arch gravatar-new]$ LANG=C gwenview "av.jpg"
Could not find drkonqi at /usr/lib/drkonqi
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Couldn't start kded5 from org.kde.kded5.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kded5 was not provided by any .service files") , falling back to running kbuildsycoca5
kf5.kservice.sycoca: Trying to open ksycoca from "/home/tomasz/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from "/home/tomasz/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Still no database...
No ksycoca database available! Tried running kbuildsycoca5 ?
KServiceTypeTrader: serviceType "QImageIOPlugins" not found
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
org.kde.kactivities.lib.core: Creating ResourceInstance: empty for now
KSambaShare: Could not find smb.conf!

Comment by Antonio Rojas (arojas) - Saturday, 17 January 2015, 07:07 GMT
Does it work if you install kded?
Comment by Tomasz Przybył (FadeMind) - Saturday, 17 January 2015, 07:16 GMT
Output after installing kded package. Without any change - picture is not visible in app.

LANG=C gwenview "Pulpit 1_040.png"
Could not find drkonqi at /usr/lib/drkonqi
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
kf5.kservice.sycoca: Trying to open ksycoca from "/home/tomasz/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from "/home/tomasz/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Trying to open ksycoca from "/home/tomasz/.cache/ksycoca5"
kf5.kservice.sycoca: Trying to open global ksycoca from "/home/tomasz/.local/share/kservices5/ksycoca5"
kf5.kservice.sycoca: Still no database...
No ksycoca database available! Tried running kbuildsycoca5 ?
KServiceTypeTrader: serviceType "QImageIOPlugins" not found
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
org.kde.kactivities.lib.core: Creating ResourceInstance: empty for now
KSambaShare: Could not find smb.conf!

Comment by Antonio Rojas (arojas) - Saturday, 17 January 2015, 07:20 GMT
Can you try running kbuildsycoca5, as the output says?
Comment by Tomasz Przybył (FadeMind) - Saturday, 17 January 2015, 07:22 GMT
SOLVED:

remove as root:

sudo rm ~/.cache/ksycoca5

Rebuild database:

kbuildsycoca5 --noincremental

Working:

http://i.imgur.com/FkoByer.png

Console output:

[tomasz@arch Obrazy]$ LANG=C gwenview "Pulpit 1_040.png"
Could not find drkonqi at /usr/lib/drkonqi
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
kf5.kservice.sycoca: Trying to open ksycoca from "/home/tomasz/.cache/ksycoca5"
Invalid pixmap specified.
QTimeLine::setDuration: cannot set duration <= 0
org.kde.kactivities.lib.core: Creating ResourceInstance: empty for now
Invalid pixmap specified.
KSambaShare: Could not find smb.conf!
[tomasz@arch Obrazy]$
Comment by Tomasz Przybył (FadeMind) - Saturday, 17 January 2015, 07:30 GMT
Issue with bluetooth protocol warning still present.
Comment by Antonio Rojas (arojas) - Saturday, 17 January 2015, 07:35 GMT
That is expected, you need the kf5 version of bluedevil, which will be release with plasma 5.2 in a week.

Loading...