> Hi
>
> I've just been troubleshooting a bug reported on an openSUSE forum[1],
> which seems due to missing write permission on the USB device. The digikam
> error message is only "Check the camera is connected correctly and turned
> on". I think it would be handy to have more detailed error reporting to
> make it easy (especially for distro people) to troubleshoot simple things
> like bad perms.
>
> I had a quick look in /usr/include/gphoto2/gphoto2-*-result.h and there
> are a number of useful error codes there that could be integrated in the
> interface of DKCamera to keep the existing layering. Is anyone working on
> this already?
No.
This error message comes from CameraUI, signalConnected only has one bool parameter. We could add a QString there. Currently the gphoto2 message seems to be printed to the console, this could perhaps be used for this.
See CameraController::executeCommand, case gp_open.
See GPCamera::doConnect, last paragraph.
>
> Will
>
> [1]
> http://forums.opensuse.org/applications/405027-digikam-wont-connect-digital
>-camera.html
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel