Bugzilla – Bug 135640
gphoto-2.1.99head-4.x86_64.rpm --> 10 MB limit for Files on digicams
Last modified: 2005-12-06 08:11:05 UTC
Hello, the current gphoto2 packet is compiled with the 10 MB max size for downloadable datase from digicams. Therefor you won't be able to download for example video files from your digicam if they exceed the 10 MB limit. (What actually happened with my ne Canon digital ixus 55). This limit can be increased in the source code and the package has to be recompiled. Here are some further descriptions how to fix this error or feature: http://wintersun.org/linux/ixus.html In older packages (SuSE 9.3) this 10 MB limit wasn't active.
This should not be the case. Also it does not even list the IXUS 55 except in PTP mode. Can you please provide: gphoto2 --auto-detect and download debuginfo: gphoto2 -...whatever options for downloadyou used... --debug
move to suselinux 10.0 product (openSUSE is just for the project, not for the resxulting distro)
Ok, with the installed gphoto-2.1.99head*.rpm I got the result described above. I searched the web for a solution and found the link. But I couldn't compile gphoto2 from source, because I got some make errors. So I looked for another package and installed the one for SuSE 9.3 gphoto-2.1.5head-3.x86_64.rpm And with this package I'm able to get my files which are bigger than 10 MB. So I think the problem ist somewhere in the sourcecode and could be the 10 MB limit described in the link. For me gphoto2 works, but perhaps others will encounter the problem. But here are additional infos: Modell Port ---------------------------------------------------------- USB PTP Class Camera usb: USB PTP Class Camera usb:001,004 Shall I reinstall the other package for testing?
actually "libgphoto2" is the driver package which should show significant changes. The PTP driver is not limited in download size, so this problem is likely showing a different error. I would still like a gphoto2 --debug trace of a failing download.
I'll try to provide the information this evening. Is there a way to reduce the output? I have one big avi on my canon camera (about 50 MB). I reinstalled the 2.1.99head gphoto2 package. I download the avi via: gphoto2 -P -p = download all files and ther is only one file, the big avi. With gphoto2 -P --debug the output is very big. And I try to redirect the output in a file gphoto2 -P --debug 1>file.txt 2>&1 This file is becoming very big and so is it possible to reduce the output?
hmm. gphoto2 --auto-detect would be interesting first. shoudl only result in 3 - 4 lines of output. as for -P --debug ... it cannot be easily avoided, although it will only dump 1 MB for every datablob read. The lines before the large dataset and the lines afterwards with just the start and the end of data would be sufficient and could be extracted with |head -1000 and |tail -1000 or so.
ok, I'll try this today, but here's the output from gphoto2 --auto-detect Modell Port ---------------------------------------------------------- USB PTP Class Camera usb: USB PTP Class Camera usb:001,004
This is strange, I'm not able to reproduce the error. It works but I don't know why. Before: gphoto-2.1.99head --> didn't work for files bigger than 10 MB After: gphoto-2.1.5 --> everything works I tried to reproduce and reinstalled the gphoto-2.1.99 But: The 10 MB error isn't there. So sorry, it works, that's good, but I can't find the error I had before
the 10MB logic hides in the libgphoto2 package... the "gphoto" package just is the commandline frontend. but if this is fixed now, we can close the report. :)
yes, you can close the record, I'm happy :-)
marking fixed