Open dcf21 opened 7 years ago
I also get Error /main not found in configuration tree. Error (-1: 'Unspecified error')
when i try to get the shuttercount from my 80D
I get that error message too when trying to get the shuttercount from a Canon 200D. At first I thought it's simply not supported yet, but the model is mentioned in the list of supported cameras.
Can I help somehow? Should I ask on the mailing list instead?
I get the same error from my Canon EOS 760D when changing various properties.
I found that the problem does not happen in gphoto2 --config
or gphoto2 --shell
nor if using gphoto2 --set-config capture=1 --set-config <# actual config #> --set-config capture=0
, although I don’t fully understand what capture
does.
I think its a timing issue. I enhanced the timing a bit in current GIT ...
Had the same issue. It looks like by default gphoto is in capture=0
mode (which can be read as "capture_mode = read only")
By running
gphoto2 --set-config capture=1
It seems like we're setting the camera into not-read-only, which exposes the other settings.
--set-config capture=1 would only be needed several years ago for Canon Powershot.
it is not needed in any new cameras currently.
gphoto will get the camera into capture mode automatically if you do capture related activities.
gphoto2 seems to have some issues talking to my Canon EOS 750D. If I use --set-config to set an exposure length, it works the first time, but always fails on all subsequent calls:
dcf21@thebe:~$ gphoto2 --set-config /main/capturesettings/shutterspeed=10 dcf21@thebe:~$ gphoto2 --set-config /main/capturesettings/shutterspeed=10
Error
/main not found in configuration tree. Error (-1: 'Unspecified error')
For debugging messages, please use the --debug option. Debugging messages may help finding a solution to your problem. If you intend to send any error or debug messages to the gphoto developer mailing list gphoto-devel@lists.sourceforge.net, please run gphoto2 as follows:
Please make sure there is sufficient quoting around the arguments.
The log file is attached... my-logfile.txt
When it comes to capturing images, it seems to work about 80% of the time, but sporadically returns a "could not capture" error.
My version numbers are as follows:
This version of gphoto2 is using the following software versions and options: gphoto2 2.5.14 gcc, popt(m), exif, cdk, aa, jpeg, readline libgphoto2 2.5.14 all camlibs, gcc, ltdl, EXIF libgphoto2_port 0.12.0 gcc, ltdl, USB, serial without locking
Any thoughts?