Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270303 - libgphoto2 won't work if more than 1024 pictures are on the cam.
Summary: libgphoto2 won't work if more than 1024 pictures are on the cam.
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugs.launchpad.net/ubuntu/+so...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-18 14:52 UTC by Daniel Heule
Modified: 2010-05-09 21:08 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Heule 2009-05-18 14:52:10 UTC
I have made many !! pictures.

So if i try to list or download it via gphoto2,
it's trowing an error:

gphoto2 -L
Es gibt keine Datei im Verzeichnis »/«.
Es gibt keine Datei im Verzeichnis »/store_00010001«.
Es gibt keine Datei im Verzeichnis »/store_00010001/DCIM«.
*** Fehler (-8: »Festes Limit überschritten.«) ***

After googling a bit, i have found that other distis 
have raised the fixed limit of 1024 to 8192.

Please se the URL for the Ubuntu bug.

Reproducible: Always

Steps to Reproduce:
1. Make more than 1024 Pictures on a flash card with a digicam.
2. Try to download it via libgphoto2 (using gphoto2 or digikam)
3. See the error, and be unable to download the pictures of your hollidays.

Actual Results:  
9.190701 gphoto2-filesystem(2): Internally deleting all folders from '/'...
19.190725 gphoto2-filesystem(2): Internally appending folder /store_00010001...
19.190757 gphoto2-filesystem(2): Folder / contains 0 files.
19.190799 foreach(2): Executing action 'List Files' for folder '/store_00010001'.
19.191103 gphoto2-camera(2): Listing files in '/store_00010001'...
19.191124 gphoto2-filesystem(2): Listing files in '/store_00010001'...
19.191136 gphoto2-filesystem(2): Querying folder /store_00010001...
19.191147 ptp2(2): file_list_func(/store_00010001)
Es gibt keine Datei im Verzeichnis »/store_00010001«.
19.191267 gphoto2-camera(2): Listing folders in '/store_00010001'...
19.191279 gphoto2-filesystem(2): Listing folders in '/store_00010001'...
19.191302 ptp2(2): folder_list_func(/store_00010001)
19.191341 gphoto2-filesystem(2): Internally deleting all folders from '/store_00010001'...
19.191365 gphoto2-filesystem(2): Internally appending folder /store_00010001/DCIM...
19.191403 gphoto2-filesystem(2): Folder /store_00010001 contains 0 files.
19.191417 foreach(2): Executing action 'List Files' for folder '/store_00010001/DCIM'.
19.191941 gphoto2-camera(2): Listing files in '/store_00010001/DCIM'...
19.191958 gphoto2-filesystem(2): Listing files in '/store_00010001/DCIM'...
19.191969 gphoto2-filesystem(2): Querying folder /store_00010001/DCIM...
19.191980 ptp2(2): file_list_func(/store_00010001/DCIM)
Es gibt keine Datei im Verzeichnis »/store_00010001/DCIM«.
19.192104 gphoto2-camera(2): Listing folders in '/store_00010001/DCIM'...
19.192117 gphoto2-filesystem(2): Listing folders in '/store_00010001/DCIM'...
19.192129 ptp2(2): folder_list_func(/store_00010001/DCIM)
19.192174 gphoto2-filesystem(2): Internally deleting all folders from '/store_00010001/DCIM'...
19.192190 gphoto2-filesystem(2): Internally appending folder /store_00010001/DCIM/100CANON...
19.192236 gphoto2-filesystem(2): Folder /store_00010001/DCIM contains 0 files.
19.192269 foreach(2): Executing action 'List Files' for folder '/store_00010001/DCIM/100CANON'.
19.192792 gphoto2-camera(2): Listing files in '/store_00010001/DCIM/100CANON'...
19.192818 gphoto2-filesystem(2): Listing files in '/store_00010001/DCIM/100CANON'...
19.192836 gphoto2-filesystem(2): Querying folder /store_00010001/DCIM/100CANON...
19.192847 ptp2(2): file_list_func(/store_00010001/DCIM/100CANON)
19.215969 gphoto2-list(0): gp_list_append: Tried to add more than 1024 entries to the list, reporting error.
19.215996 gphoto2-camera(2): Operation failed!
*** Fehler (-8: »Festes Limit überschritten.«) ***


Expected Results:  
List or Download all photos.

Please add the same patch like ubuntu to the stable & unstable ebuilds,
so i can download my pictures.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-18 15:14:08 UTC
please report this bug upstream and paste the link here, thanks.
Comment 2 aditsu 2009-10-03 00:27:45 UTC
It was reported upstream in 2006, at https://sourceforge.net/tracker/index.php?func=detail&aid=1515453&group_id=8874&atid=108874
but although they claim they fixed it, their latest release (2.4.7) does not include the fix.
Other distros seem to just patch it, e.g. https://bugs.launchpad.net/libgphoto/+bug/144585
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-01-06 22:53:10 UTC
if upstream didn't fix it properly the first time, they need to be reminded, distros should not just patch it and forget about it.