Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gphoto2 --summary outputs (-1 unspecified error) #567

Open
xancudo opened this issue Feb 26, 2023 · 4 comments
Open

gphoto2 --summary outputs (-1 unspecified error) #567

xancudo opened this issue Feb 26, 2023 · 4 comments
Assignees
Labels
GoPro tagging GoPro issues

Comments

@xancudo
Copy link

xancudo commented Feb 26, 2023

Hello,

On PopOS 22.04 using flatpaks for Shotwell, Darktable, and Digikam. All recognize the GoPro 10 Black, but when choosing import, all issue a connection error. They all have libgphoto2-2.5.30 from what I can tell.

Shotwell: Unable to fetch previews from camera, Unspecified error -1

Darktable: Failed to initialize GoPro HERO10 on port xxx,xxx. Likely causes are: possibly locked by another application.

Digicam: Failed to connect to camera. Please check that it is connected and properly turned on.

gphoto2: *** Error ***
PTP General Error
*** Error ***
An error occurred in the io-library ('Unspecified error'): No error description available
*** Error (-1: 'Unspecified error') ***

In Gnome Files, the camera mounts/unmounts properly and shows GoPro MTP Client Disk Volume, and I can access the data OK. I can mount the SD Card independent, and it works OK.

ps aux and found and killed /usr/libexec/gvfs-gphoto2-volume-monitor, repeated the above but that did not resolve the issue.

I compiled ghoto2 2.5.28 and libgphoto2 2.5.30 on both my Pop system, and an Ubuntu non-GUI server vm. Both do the same thing. Attached the GoPro and gphoto2 --list-ports, and --auto-detect show a GoPro HERO10 Black, but --summary issue the above error.

The non-GUI server vm is running on the same Pop box, under VirtualBox, but the GoPro passes to that OK, so it just seems to be a PTP camera thing, unless I didn't compile some important piece in. I did have to go back and add libusb-dev in the process once, for gphoto2 to see USB devices initially. There is a reference to libusb.c in the debug file, but I'm not sure if its related.

gphoto2 --debug detects the GoPro but when it tried to communicate, those fail.

camera
GoPro HERO10 Black usb:003,007

libgphoto2 and gphoto2 version
this version of gphoto2 is using the following software versions and options:
gphoto2 2.5.28 gcc, popt(m), exif, no cdk, no aa, no jpeg, no readline
libgphoto2 2.5.30 standard camlibs (SKIPPING docupen lumix), gcc, no ltdl, EXIF
libgphoto2_port 0.12.1 iolibs: disk ptpip serial usb usbdiskdirect usbscsi, gcc, no ltdl, EXIF, USB, serial without locking

debug log
my-logfile.txt

Thank you!

@luzpaz
Copy link
Contributor

luzpaz commented Jul 18, 2023

Need gopro label

@kalvdans
Copy link

kalvdans commented Feb 11, 2024

Same here, Ubuntu 24.10 beta. Attaching my logfile:
my-logfile.txt

Suspect the gopro firmware, since the ethernet interface that my gopro also exposes over USB, drops and comes back again as I get the error in gphoto2. Camera firmware 1.30. [EDIT] Same thing after updating to firmware 1.50.

@kalvdans
Copy link

I reported it to GoPro Support, reference number 14498440. I chatted with Michael.

@msmeissn msmeissn self-assigned this Feb 12, 2024
@msmeissn msmeissn added the GoPro tagging GoPro issues label Feb 12, 2024
@mijoost
Copy link

mijoost commented Jul 31, 2024

This hint may apply here as well: gphoto/libgphoto2#972 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GoPro tagging GoPro issues
Projects
None yet
Development

No branches or pull requests

5 participants