Summary: | dolphin 15.08 does not know the camera protocol | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | Éric Brunet <eric.brunet> |
Component: | kamera | Assignee: | Marcus Meissner <marcus> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cfeck |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Éric Brunet
2015-12-14 09:46:20 UTC
Still experimenting with this issue, on the fedora 23 computer: $ kioclient ls camera:/ Fuji%20FinePix%20X10@usb:001,009 $ kioclient5 ls camera:/ couldn't create slave: "Unable to create io-slave:\nklauncher said: Protocle « camera » inconnu.\n" "Could not start process Unable to create io-slave:\nklauncher said: Protocle « camera » inconnu.\n" ("Protocole camera inconnu" is of course french for "camera protocol is unknown". I don't know why english and french are mixed up in the error message.) The kio-kamera slave was only recently ported to Qt5 and is now part of the KDE Applications 15.12 release. Please check if this version works. Excellent news. 15.12 does not seem to be released yet, I'll wait a few days in the hope that I'll find some already compiled packages and I'll report back. Thanks. So, on my uptodate fedora 23, I downloaded the file http://mirror.rit.edu/archlinux/testing/os/x86_64/kamera-15.12.0-1-x86_64.pkg.tar.xz from the archlinux distribution and manually put the files kcm_kamera.so and kio_kamera.so into /usr/lib64/qt5/plugins, and the files camera.protocol and kamera.desktop into /usr/share/kservices5, and the file solid_camera.desktop into /usr/share/solid/actions. In logged out of my kde session, logged in again and tried my camera. 1) on plugging my camera, a notification happens, and I can click on the "devices" icon to look at my possible actions. Good. 2) it proposes to open my camera in the file manager. Good. 3) clicking on the action, dolphin opens. I can browse my camera, display previews and copy files from my camera to the computer file system. Good. 4) HOWEVER, if I click on a photo to open it, it fires up okular which fails to open the photo: okular's window appears empty, and after about fifteen seconds an error window appears with the message: Could not open camera:/Fuji%2520FinePix%2520X10@usb:001,006/store_10000001/DCIM/111_FUJI/DSCF1377.JPG. Reason: Unknown error Impossible de communiquer avec le périphérique USB (the last sentence being "impossible to communicate with the USB device") After closing the error message in okular, I can go to the File->Open Recent dialog. The URL of the photo I tried to open is there and if I attempt to open it from here, it works AFTER A COUPLE OF TRIES. (On the first tries it usually fails with the same error message, but without the fifteen second wait. After a couple of atttempts it works, and once it worked, all the subsequent tries work also) From okular, I can also go to the File->Open dialog, and type camera:/ and access my files without any problem. And now, for the very weird stuff: from dolphin, if I right-click a file to open the contextual menu, select "open with" and then "okular", it works most of the time: the file opens. Sometimes, it opens after a very small wait (1 second), sometimes one has to wait about 10 seconds, sometimes it fails after 15 seconds. I cannot make sense of this! So, okular is not a kf5 application The second issue is unrelated to the first, for such please open new bugs. I think the second one is caused by the fact that only 1 process can access the camera. the kioslave in dolphin/konqueror is still open, but the one for okular tries to access the camera, getting blocked. as the kioslave will autoclose the camera after some seconds, you will be getting success if you reload after some seconds I confirm that kamera-15.12 allows dolphin to browse the camera. I am marking this bug as resolved(fixed). I have opened bug 359714 to cover the second issue, the fact that clicking on a file from the camera from dolphin fails to open okular on that file, even though okular by itself is able to open it. (In reply to Marcus Meissner from comment #5) > The second issue is unrelated to the first, for such please open new bugs. > I think the second one is caused by the fact that only 1 process can access > the camera. the kioslave in dolphin/konqueror is still open, but the one for > okular tries to access the camera, getting blocked. > as the kioslave will autoclose the camera after some seconds, you will be > getting success if you reload after some seconds |