Page MenuHomeSolus

Update python-gphoto2 to 2.1.0

Authored by algent on Feb 8 2020, 4:51 PM.




  • COMPATIBILITY CHANGE. gp_file_set_data_and_size and gp_file_append now take a single buffer parameter (such as a bytes string) instead of a string and length.
  • Fixed memory double free bug in gp_file_set_data_and_size.
  • Removed support for libgphoto2 v2.4.

Signed-off-by: Algent Albrahimi <>

Test Plan
  • Run rapid-photo-downloader.
  • Cd to my photo dir in my phone and run python3 /usr/share/python-gphoto2/examples/

Diff Detail

R3671 python-gphoto2
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Feb 8 2020, 4:51 PM
algent requested review of this revision.Feb 8 2020, 4:51 PM
DataDrake accepted this revision.Feb 12 2020, 3:39 PM
DataDrake added a subscriber: DataDrake.

LGTM. Thanks!

This revision is now accepted and ready to land.Feb 12 2020, 3:39 PM
This revision was automatically updated to reflect the committed changes.