After running
env LANG=C gphoto2 --debug --debug-logfile=get-all-thumbnails.txt --get-all-thumbnails
my Fujifilm X10 goes into an invalid state and subsequent gphoto2 commands like --list-files will give an error message like:
*** Error ***
PTP I/O error
*** Error ***
An error occurred in the io-library (\'Unspecified error\'): No error description available
*** Error (-1: \'Unspecified error\') ***
Hmm I'm having trouble attaching log files because they are so big. I posted a zip of the two log files here in google docs:
https://docs.google.com/open?id=0BxsLGLc1CE5cYzkwOTAwN2UtZTg2Yi00OTJjLThiNmYtZjE1YTY5OWZkZGUx
no special file is attempted to be downloaded :/ my first suspicion gone.
Marcus, I have an update, with only a single photo in the camera I can mix gphoto2 -L and gphoto2 --get-all-files seeminly without any issues. So it seems this is tied to the number of photos in the camera. I'll try and find the upper limit. If you have any suggestions as to what I could tweak to try to workaround this please let me know. Sounds like maybe some kind of timeout issue dependent on the number of photos.
Another phenomenon is the first gphoto2 command (like -L) on a camera that has just been turned on is real fast. All subsequent commands seem to hang a bit then run successfully.
Here are the last few lines where the hang takes place on subsequent gphoto2 commands:
0.179244 ptp(2): PTP: Opening session
0.179259 gphoto2-port(2): Writing 16=0x10 byte(s) to port...
0.179271 gphoto2-port(3): Hexdump of 16 = 0x10 bytes follows:
0000 10 00 00 00 01 00 02 10-00 00 00 00 01 00 00 00 ................
0.179331 ptp2/ptp_usb_getresp(2): reading response
0.179345 ptp2/ptp_usb_getpacket(2): getting next ptp packet
0.179358 gphoto2-port(2): Reading 512=0x200 bytes from port...
I uploaded some new log files here:
https://docs.google.com/open?id=0BxsLGLc1CE5cMjIyMDcyZjMtMWIwZC00ZGI2LThlMjgtMmEwYzliMjM0NDk0
It turns out the limit is three photos. But with two photos, you will see that ptp_opensession fails and the 8s timeout takes place but the retry succeeds. With three photos the retry doesn't succeed and we have the above error.
This appears to be hitting me as well with a Canon Ixus 310HS (interestingly, I had this same model before with no issues, then had to replace it and now I do). Reported here:
https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/1096463
Please let me know if any log files or similar would assist. On 12.10 I get the lock error, on 12.04 it seems to hang on import after a few files in Shotwell.
Aaron, can you also capture a debuglogfile of this:
env LANG=C gphoto2 --debug --debug-logfile=get-all-thumbnails.txt --get-all-thumbnails
Sure. I did some further testing and reported here:
https://bugs.launchpad.net/ubuntu/+source/shotwell/+bug/910964
1) Plug in camera and turn on.
2) Unmount.
3) env LANG=C gphoto2 --debug --debug-logfile=get-all-thumbnails.txt --get-all-thumbnails
It seemed to work. Running the command again gave:
$ env LANG=C gphoto2 --debug --debug-logfile=get-all-thumbnails.txt --get-all-thumbnails
Error
PTP I/O error
Error
An error occurred in the io-library ('Unspecified error'): The supplied vendor or product id (0x0,0x0) is not valid.
Error (-1: 'Unspecified error')
Luis, I also tried to look at your google docs files, but they seem to be gone :/
Ouch sorry, I reorganized my google docs recently. I think they're gone
now :( I can generate some new ones today, I'll have to look back at this
cause its been a while.
Luis
On Sun, Jan 20, 2013 at 9:57 PM, Marcus Meissner marcusmeissner@users.sf.net wrote:
Related
Bugs: #898