Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49699 - digikam: Cannot download/delete movie larger than 10MB from Canon PowerShot A80
Summary: digikam: Cannot download/delete movie larger than 10MB from Canon PowerShot A80
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL: http://sourceforge.net/tracker/?group...
Whiteboard:
Keywords:
: 68574 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-02 06:03 UTC by Terje Bergström
Modified: 2005-02-13 04:49 UTC (History)
2 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 Terje Bergström 2004-05-02 06:03:33 UTC
I have a movie with length of 16MB on my Canon PowerShot A80 camera. I tried to download it with the camera client, but I only got an error code. Same happened when I tried to delete the movie.

The problem in deletion case is actually in libgphoto2. camlibs/canon/usb.c:canon_usb_get_dirents() checks the size of the picture that it's not more than 1024 * 1024 (not sure about units). 

The other problem is that the max_picture_size is set by somebody to 10MB so that when canon_usb_get_file() is called, it refuses to download the file.

As a workaround, I replaced the values with very large ones, and then I was able to retrieve my movie from the camera.

Reproducible: Always
Steps to Reproduce:
1.Record a movie with length>10MB on A80
2.Try to download/delete it


Actual Results:  
An error message was displayed. 

Expected Results:  
The movie should've been downloaded/deleted.
Comment 1 Terje Bergström 2004-05-02 06:13:50 UTC
Seems there is a bug reported in gphoto's bug database:

http://sourceforge.net/tracker/?group_id=8874&atid=108874&func=detail&aid=940409

It contains a workaround.
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-05-07 08:36:29 UTC
liquidx, not sure if you want to implement the workaround in the Gentoo version or leave that to the upstream. The fix in the url shouldn't affect anything else.
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2004-07-23 23:29:54 UTC
if we can have a backported patch against the current version in portage, i'd be happy to add it.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2004-10-22 12:21:52 UTC
*** Bug 68574 has been marked as a duplicate of this bug. ***
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2004-10-22 12:23:31 UTC
@Alastair: The above "dupe" seems to include the necessary information.
Comment 6 Michiel de Bruijne 2005-02-08 07:59:07 UTC
Hi Terje,

(lib)gphoto2 2.1.5 has been released and should contain the bugfix. Could you please test the new version and report back?
Comment 7 Michael Kiermaier 2005-02-08 10:53:46 UTC
On 2.1.5 the bug does not exist any more!
Comment 8 Terje Bergström 2005-02-13 04:49:18 UTC
Verified with gphoto 2.1.5.