Fedora Linux Support Community & Resources Center
  #1  
Old 7th August 2017, 12:26 AM
jimbean6 Offline
Registered User
 
Join Date: Jun 2011
Location: Northport NY
Posts: 6
linuxfedorafirefox
Unable to load pictures from camera on Fedora 26

Shotwell will not open my camera to load pictures on F26, no problem on F25.
The error message is

Unable to initialize camera: Unspecified error (-1)

This a real camera, not a phone, Fujifilm finepix, connected through USB.
Jim
Reply With Quote
  #2  
Old 7th August 2017, 02:27 AM
nsnbm Offline
Registered User
 
Join Date: Dec 2007
Location: Australia
Posts: 1,559
linuxfedorafirefox
Re: Unable to load pictures from camera on Fedora 26

I usually just put the card from the camera in a card reader which is a usb device and then navigate to the directory where the photos are and copy or move them. It's never failed me in many years.
Reply With Quote
  #3  
Old 7th August 2017, 03:49 AM
amiga Offline
Registered User
 
Join Date: Aug 2007
Posts: 101
linuxfirefox
Re: Unable to load pictures from camera on Fedora 26

Quote:
I usually just put the card from the camera in a card reader which is a usb device and then navigate to the directory where the photos are and copy or move them. It's never failed me in many years.
I think the OP and the whole world is aware of that option. You may be unaware that memory cards have physically delicate interfaces which wear out with repeated insertions. Many people prefer to use their camera's USB connection. USB connectors are of course more durable.

To the OP you need to compare the kernel messages you get when plugging in the camera on F25 and F26.
Reply With Quote
  #4  
Old 7th August 2017, 09:46 AM
nsnbm Offline
Registered User
 
Join Date: Dec 2007
Location: Australia
Posts: 1,559
linuxfedorafirefox
Re: Unable to load pictures from camera on Fedora 26

amiga wrote:
Quote:
I think the OP and the whole world is aware of that option.
Actually, the OP didn't mention anything like that, but in case he wanted to get his photos onto his computer relatively quickly without spending the time researching and resolving his "unspecified error", my experience offered him an alternative which he was free to chose or not of course.
Reply With Quote
  #5  
Old 7th August 2017, 10:10 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,789
linuxchrome
Re: Unable to load pictures from camera on Fedora 26

what file system is the card formatted to? if xFAT you need to install the drivers from rpmfusion.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #6  
Old 7th August 2017, 02:29 PM
kldixon Offline
Registered User
 
Join Date: Aug 2005
Posts: 669
linuxfedorafirefox
Re: Unable to load pictures from camera on Fedora 26

jimbean6, where is the error reported? if it is by running shotwell in a terminal then you could try looking for other reports in the journal.
Disconnect the camera, then open two terminals. In one, do:
Code:
$ su -
# journalctl -f
Then plug the camera in and then run shotwell from the other terminal.
You should see messages in the first terminal when you plug the camera in and, possibly, when you run shotwell.
To stop journalctl do Ctrl+c.
Reply With Quote
  #7  
Old 7th August 2017, 08:03 PM
jimbean6 Offline
Registered User
 
Join Date: Jun 2011
Location: Northport NY
Posts: 6
linuxfedorafirefox
Re: Unable to load pictures from camera on Fedora 26

Thanks all, KLDixon I tried it but the results are not too useful, just USB finding the camera
Attached. cheers Jim
Reply With Quote
  #8  
Old 7th August 2017, 08:08 PM
jimbean6 Offline
Registered User
 
Join Date: Jun 2011
Location: Northport NY
Posts: 6
linuxfedorafirefox
Re: Unable to load pictures from camera on Fedora 26

Quote:
Originally Posted by jimbean6 View Post
Thanks all, KLDixon I tried it but the results are not too useful, just USB finding the camera
Attached. cheers Jim
Looks like the attachment failed. Here it is.

Aug 07 14:47:55 ool-2f115b6a.dyn.optonline.net kernel: usb 1-3: new high-speed USB device number 6 using ehci-pci
Aug 07 14:47:56 ool-2f115b6a.dyn.optonline.net kernel: usb 1-3: New USB device found, idVendor=04cb, idProduct=01e8
Aug 07 14:47:56 ool-2f115b6a.dyn.optonline.net kernel: usb 1-3: New USB device strings: Mfr=0, Product=2, SerialNumber=3
Aug 07 14:47:56 ool-2f115b6a.dyn.optonline.net kernel: usb 1-3: Product: Digital Camera
Aug 07 14:47:56 ool-2f115b6a.dyn.optonline.net kernel: usb 1-3: SerialNumber: 4C3230302020080828AEC58U032718
Aug 07 14:47:56 ool-2f115b6a.dyn.optonline.net mtp-probe[3950]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3"
Aug 07 14:47:56 ool-2f115b6a.dyn.optonline.net mtp-probe[3950]: bus: 1, device: 6 was not an MTP device
Aug 07 14:49:09 ool-2f115b6a.dyn.optonline.net kernel: usb 1-3: USB disconnect, device number 6
Reply With Quote
  #9  
Old 7th August 2017, 11:37 PM
amiga Offline
Registered User
 
Join Date: Aug 2007
Posts: 101
linuxfirefox
Re: Unable to load pictures from camera on Fedora 26

Quote:
Thanks all, KLDixon I tried it but the results are not too useful, just USB finding the camera
Actually the last three lines are very useful

Code:
Aug 07 14:47:56 ool-2f115b6a.dyn.optonline.net mtp-probe[3950]: checking bus 1, device 6: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3"
Aug 07 14:47:56 ool-2f115b6a.dyn.optonline.net mtp-probe[3950]: bus: 1, device: 6 was not an MTP device
Aug 07 14:49:09 ool-2f115b6a.dyn.optonline.net kernel: usb 1-3: USB disconnect, device number 6
mtp-probe was running and checking the camera in line 1. In line 2 it states that your camera was not an MTP (Media Transfer Protocol) device and in line 3 apparently disconnects the device. This is very telling. It is possible that your camera uses the older PTP protocol and that F25 was fine with that. Now that F26 supports the newer MTP protocol it may expect all cameras to be this.

At this point since everything was working fine with F25 you need to boot into F25 and compare these same kernel messages when you plug in the camera. If everything was working before these last three lines should be completely different.

Last edited by amiga; 7th August 2017 at 11:43 PM.
Reply With Quote
  #10  
Old 8th August 2017, 02:37 AM
jimbean6 Offline
Registered User
 
Join Date: Jun 2011
Location: Northport NY
Posts: 6
linuxfedorafirefox
Re: Unable to load pictures from camera on Fedora 26

Thanks Amiga I did just that. The results of F25 are different but confusing.
BTW the USB disconnect is not a fault it is from the exit of shotwell.

Aug 07 21:29:33 ool-2f11511c.dyn.optonline.net kernel: usb 1-3: new high-speed USB device number 11 using ehci-pci
Aug 07 21:29:34 ool-2f11511c.dyn.optonline.net kernel: usb 1-3: New USB device found, idVendor=04cb, idProduct=01e8
Aug 07 21:29:34 ool-2f11511c.dyn.optonline.net kernel: usb 1-3: New USB device strings: Mfr=0, Product=2, SerialNumber=3
Aug 07 21:29:34 ool-2f11511c.dyn.optonline.net kernel: usb 1-3: Product: Digital Camera
Aug 07 21:29:34 ool-2f11511c.dyn.optonline.net kernel: usb 1-3: SerialNumber: 4C3230302020080828AEC58U032718
Aug 07 21:29:34 ool-2f11511c.dyn.optonline.net mtp-probe[11916]: checking bus 1, device 11: "/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-3"
Aug 07 21:29:34 ool-2f11511c.dyn.optonline.net mtp-probe[11916]: bus: 1, device: 11 was not an MTP device
Aug 07 21:29:35 ool-2f11511c.dyn.optonline.net tracker-miner-f[1856]: Could not find parent node for URI:'gphoto2://[usb:001,011]/'
Aug 07 21:29:35 ool-2f11511c.dyn.optonline.net tracker-miner-f[1856]: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix.
Aug 07 21:29:35 ool-2f11511c.dyn.optonline.net tracker-miner-f[1856]: Could not find parent node for URI:'gphoto2://[usb:001,011]/'
Aug 07 21:29:35 ool-2f11511c.dyn.optonline.net tracker-miner-f[1856]: NOTE: URI theme may be outside scheme expected, for example, expecting 'file://' when given 'http://' prefix.
Aug 07 21:29:35 ool-2f11511c.dyn.optonline.net tracker-miner-f[1856]: Could not set mount point in database 'urn:nepomuk:datasource:b46d3cfa6413367af789b3da46 132c1f', GDBus.Error:org.freedesktop.Tracker1.SparqlError.I nternal: UNIQUE constraint failed: nieataObject.nie:url (strerror of errno (not necessarily related): Resource temporarily unavailable)
Aug 07 21:31:02 ool-2f11511c.dyn.optonline.net kernel: usb 1-3: USB disconnect, device number 11

Jim
Reply With Quote
  #11  
Old 8th August 2017, 09:26 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,789
linuxchrome
Re: Unable to load pictures from camera on Fedora 26

make sure the package gvfs-gphoto2 is installed. Apparently it provides the necessary PTP support. shotwell should be able to access them if it supports gvfs properly. I believe it does though.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
  #12  
Old 8th August 2017, 10:00 AM
kldixon Offline
Registered User
 
Join Date: Aug 2005
Posts: 669
linuxfedorafirefox
Re: Unable to load pictures from camera on Fedora 26

This is curious, (and could be a red herring):
idVendor=04cb Fuji Photo Film Co., Ltd
idProduct=01e8 is not in /usr/share/hwdata/usb.ids
The closest are:
Code:
04cb  Fuji Photo Film Co., Ltd
...
	01d5  FinePix F47 (PTP)
	01f7  FinePix J250 (PTP)
...
Indeed, there is only one such product in the file, which is a Sony printer:
Code:
054c  Sony Corp.
...
	01e8  UP-DR150 Photo Printer
...
you could try putting an entry for your camera in /usr/share/hwdata/usb.ids.
From a terminal do:
Code:
$ gedit admin:///usr/share/hwdata/usb.ids
and, just for good measure, you will get a warning that the character encoding of the file is wrong. Choose 'Western (ISO-8859-15)' and retry. gedit seems to remember and will not put the warning up again.
Reply With Quote
  #13  
Old 8th August 2017, 10:09 AM
kldixon Offline
Registered User
 
Join Date: Aug 2005
Posts: 669
linuxfedorafirefox
Re: Unable to load pictures from camera on Fedora 26

Good point, antikythera. That library is installed on my machine but does not seem to be a dependency of shotwell or libgphoto2
Reply With Quote
  #14  
Old 8th August 2017, 11:03 AM
kldixon Offline
Registered User
 
Join Date: Aug 2005
Posts: 669
linuxfedorafirefox
Re: Unable to load pictures from camera on Fedora 26

Might need gphotofs too
Code:
# dnf search 'Picture Transfer Protocol'
Last metadata expiration check: 4:03:32 ago on Tue 08 Aug 2017 06:52:28 BST.
================ Description Matched: Picture Transfer Protocol ================
gvfs-gphoto2.x86_64 : gphoto2 support for gvfs
gphotofs.x86_64 : A FUSE filesystem module to mount your camera as a filesystem

# rpm -q gvfs-gphoto2
gvfs-gphoto2-1.32.1-2.fc26.x86_64

# rpm -q gphotofs
package gphotofs is not installed
Reply With Quote
  #15  
Old 8th August 2017, 11:18 AM
antikythera Offline
Administrator
 
Join Date: Dec 2013
Location: United Kingdom
Posts: 4,789
linuxchrome
Re: Unable to load pictures from camera on Fedora 26

I don't think it matters, my camera works without that file installed. just the gvfs-gphoto2 package is present on my machines. I don't use shotwell but the images are accessible from caja, eye of mate and gimp.
__________________
Download, Install and Share Fedora - Official ISO Torrents | Live ISO Respins containing post-release updates
Reply With Quote
Reply

Tags
camera, fedora, load, pictures, unable

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unable to load fedora 7 on IBM R40E sctit2001 Hardware & Laptops 1 30th September 2007 06:41 AM
Thunderbird and HTML, how to load the Pictures in Emails ? starfly Using Fedora 1 15th October 2006 03:52 PM
Downloading pictures from a digital camera zammo Hardware & Laptops 4 1st August 2006 06:10 AM
Can't get Digatil camera to load? fvs Installation, Upgrades and Live Media 3 13th April 2006 12:26 PM
Get pictures from your camera iliev76 Guides & Solutions (Not For Questions) 1 14th January 2005 04:47 AM


Current GMT-time: 10:23 (Monday, 21-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat