mvmn / gphoto2-jna-demos

GPhoto2 JNA demos
9 stars 1 forks source link

Error -6 on gphoto2 version 2.5.15 #2

Open rakeshbhatt10 opened 6 years ago

rakeshbhatt10 commented 6 years ago

Hi, I am using camera 1300d Cannon

I tried to run TestSwingLiveView example. While i was running it in 2.5.9 i was getting error -7 (Generic IO Error) too frequently jamming the live view.

I upgrade gphoto2 version to 2.5.12 using https://github.com/gonzalo/gphoto2-updater

I can successfully connect to Cannon 1300d.

But now when in run TestSwingLiveView it is showing Error -6 (GP_ERROR_NOT_SUPPORTED) on gp_camera_capture_preview

Didn't understood in previous version while same code is working now showing unsupported

Please help !

mvmn commented 6 years ago

Well, the error is reported from gphoto2 - so it seems you'll have to post this issue for gphoto2 library.

Before you do that though - can you try gphoto2 command-line utility and try running capture preview from it?

gphoto2 --debug --capture-preview