×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

[SOLVED] gphoto driver error

  • Posts: 94
  • Thank you received: 38

gphoto driver error was created by max

the latest gphoto driver from PPA is not able to capture any image from the camera and just said :Please select a format before capturing an image.
No matter how you change setting in INDI control panel, always got the error message
8 years 8 months ago #4642
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 15

Replied by Joshua on topic gphoto driver error

Got the same problem, andd here's the screenshot
Last edit: 8 years 8 months ago by Joshua.
8 years 8 months ago #4645
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 226
  • Thank you received: 88

Replied by Jean-Luc on topic gphoto driver error

Don't know if this is related but there was a bug in libgphoto 2.5.7 for the Canon EOS series, which made it impossible to capture an image in 'PC connection' mode (Canon EOS can not capture anyway in 'PTP mode' as I understood, so you should not use it). The fix is in libgphoto 2.5.8.
By the way, looking at the code in indi, this error may be due to an empty list of capture formats (which is not related to the transfer format as may suggest your screenshots). You may check them directly with
gphoto2 --list-config
where you should find an entry named
/main/settings/imageformat
and list available capture formats with
gphoto2 --get-config /main/settings/imageformat
. This may be called imageformat2 also.
8 years 8 months ago #4669

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 15

Replied by Joshua on topic gphoto driver error

Hi,
I use a Nikon camera,D5100,but encountered the same problem.
I checked all the settings in the INDI control panel,but still no luck.
Jerome
8 years 8 months ago #4670

Please Log in or Create an account to join the conversation.

  • Posts: 94
  • Thank you received: 38

Replied by max on topic gphoto driver error

Hi

there is no /main/setting/imageformat for my EOS 350D
max@max-home:~/prj/ta_builder$ gphoto2 --list-config
/main/actions/syncdatetime                                                     
/main/settings/ownername
/main/settings/capturetarget
/main/settings/capture
/main/status/serialnumber
/main/status/manufacturer
/main/status/cameramodel
/main/status/deviceversion
/main/status/vendorextension
/main/status/model
/main/status/firmwareversion
/main/other/d045
/main/other/d002
/main/other/d003
/main/other/d02c
/main/other/d02d
/main/other/d049
/main/other/d032
/main/other/d031
/main/other/d034
/main/other/d033
/main/other/d02e
/main/other/d02f
/main/other/d046
/main/other/d047
/main/other/d030
/main/other/d04a

but for EOS 5D mark II
max@max-home:~/prj/ta_builder$ gphoto2 --list-config
/main/actions/bulb                                                             
/main/actions/uilock
/main/actions/syncdatetime
/main/actions/autofocusdrive
/main/actions/manualfocusdrive
/main/actions/eoszoom
/main/actions/eoszoomposition
/main/actions/eosviewfinder
/main/actions/eosremoterelease
/main/settings/datetime
/main/settings/reviewtime
/main/settings/output
/main/settings/movierecordtarget
/main/settings/evfmode
/main/settings/ownername
/main/settings/artist
/main/settings/copyright
/main/settings/customfuncex
/main/settings/autopoweroff
/main/settings/capturetarget
/main/settings/capture
/main/status/serialnumber
/main/status/manufacturer
/main/status/cameramodel
/main/status/deviceversion
/main/status/vendorextension
/main/status/model
/main/status/ptpversion
/main/status/batterylevel
/main/status/lensname
/main/status/eosserialnumber
/main/status/shuttercounter
/main/status/availableshots
/main/imgsettings/imageformat
/main/imgsettings/imageformatcf
/main/imgsettings/imageformatexthd
/main/imgsettings/iso
/main/imgsettings/whitebalance
/main/imgsettings/colortemperature
/main/imgsettings/whitebalanceadjusta
/main/imgsettings/whitebalanceadjustb
/main/imgsettings/whitebalancexa
/main/imgsettings/whitebalancexb
/main/imgsettings/colorspace
/main/capturesettings/exposurecompensation
/main/capturesettings/focusmode
/main/capturesettings/autoexposuremode
/main/capturesettings/drivemode
/main/capturesettings/picturestyle
/main/capturesettings/shutterspeed
/main/capturesettings/meteringmode
/main/capturesettings/bracketmode
/main/capturesettings/aeb
/main/other/d402
/main/other/d407
/main/other/d406

so, INDI only support those cameras have this setting ?
Last edit: 8 years 8 months ago by max.
8 years 8 months ago #4671

Please Log in or Create an account to join the conversation.

  • Posts: 226
  • Thank you received: 88

Replied by Jean-Luc on topic gphoto driver error

It seems you use the PTP mode, I have the same strange property names (d045, d002, ....) on my 350D when I do so. One of them should be imageformat. Try with setting your 350D to "PC Connection" in its config menu, I get the right property names in that case.
8 years 8 months ago #4674

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic gphoto driver error

Sorry folks I am ony annual vacation and been in the US since July 24th and the internet conncection wasn't reliable. What happend is that sometimes by default it selects RAW+jpeg format which causes issue for the driver so ig would complain that the format is not supported.

I already had a fix to make it select RAW by default in this case but I couldn't commit the code because the SourceForge Subversion service was down for a week and it was only restored after I travelled. I just logged in remotely and committed the fix but I never tested it.

I should be back home in less than two weeks in case the patch didn't fix the issue.
8 years 8 months ago #4680

Please Log in or Create an account to join the conversation.

  • Posts: 94
  • Thank you received: 38

Replied by max on topic gphoto driver error

Thanks you knro and geehalel
I'll test it when PPA is updated, or I'll compile it myself.
8 years 8 months ago #4685

Please Log in or Create an account to join the conversation.

  • Posts: 42
  • Thank you received: 15

Replied by Joshua on topic gphoto driver error

Hi knro,
I am now using the newest update,but the problem remains when I want to capture an image with my D5100.
8 years 7 months ago #4911

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic gphoto driver error

Fixed, either compile or wait for tomorrow's PPA update.
8 years 7 months ago #4912

Please Log in or Create an account to join the conversation.

  • Posts: 20
  • Thank you received: 3

Replied by S. Alonso on topic gphoto driver error

Hi everyone...

I'm doing some testing with a Nikon D3200 and I'm experiencing the same problem. I have just reinstalled latest driver from the usual ppa but no luck. I can see the imagequality settings and indeed the criver updates it to jpeg (any quality) or NEF. However, the driver complains with the "Please select a format before capturing an image. "

Any updates on this?

Best regards

Zerjillo
8 years 7 months ago #4941

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic gphoto driver error

What distro are you using?

EDIT: or what is the version of the driver you have?
Last edit: 8 years 7 months ago by Jasem Mutlaq.
8 years 7 months ago #4942

Please Log in or Create an account to join the conversation.

Time to create page: 1.061 seconds