brunolojor / jbrout

Automatically exported from code.google.com/p/jbrout
0 stars 0 forks source link

"download" plugin (from Operations context menu on tree album) doesn't work with PTP digital cameras #65

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have a CANON IXUS 30 digital camera which is handled in PTP mode through
gphoto2 since its 2.1.6 release (June 23rd, 2005) http://www.gphoto.org/news/

I can download my photos from my camera through jBrout using the "download"
plugin (camera can't be mounted)

see http://ups.imagup.com/01/1233759060_Capture-1.png

I'm running jBrout 0.3.174 on Ubuntu 8.10

Original issue reported on code.google.com by thibaut....@gmail.com on 4 Feb 2009 at 9:03

GoogleCodeExporter commented 8 years ago
i meant : i can NOT download my photos from my camera etc.

Original comment by thibaut....@gmail.com on 4 Feb 2009 at 9:04

GoogleCodeExporter commented 8 years ago
The download plugin is designed to work with any mounted file system, this does 
work
with gphotofs, providing libgphoto2 has ptp2 support built in.  

Original comment by r...@wallace.gen.nz on 4 Feb 2009 at 10:55

GoogleCodeExporter commented 8 years ago
i'm not sure to understand (sorry i'm french and my english may not be perfect)
you mean that it should work ? then why is it not working ?

I precise that i'm able to browse my camera directory through Nautilus

Original comment by thibaut....@gmail.com on 4 Feb 2009 at 11:09

GoogleCodeExporter commented 8 years ago
rob, I don't know if you understand french. If not, here is an approximate
translation of the error message: 

Impossible to mount Canon, Inc. Digital IXUS 30 (PTP mode) / PowerShot SD200 
(PTP mode)

This position is already mounted

Original comment by davito...@gmail.com on 4 Feb 2009 at 11:16

GoogleCodeExporter commented 8 years ago
Thanks for the translation, saves me typing it into google translate (which 
seems to
do a good job).  

This is an OS error rather than a jBrout specific error, any gtk based program 
that
dies not implement it's own PTP interface or use libgphoto directly.  

Original comment by r...@wallace.gen.nz on 5 Feb 2009 at 10:09

GoogleCodeExporter commented 8 years ago
please note that GTKam and gThumb (both are GUI for gphoto2) works whereas 
jBrout doesn't

Original comment by thibaut....@gmail.com on 6 Feb 2009 at 12:19

GoogleCodeExporter commented 8 years ago
i've switched to Ubuntu 9.04 jaunty alpha with jBrout 0.3.174 and have new 
information.

At present time i can browse my photos in camera-PTP-mode-only using Nautilus.
it seems that uses gvfs-backends for that, with libgphoto2-2
http://packages.ubuntu.com/fr/jaunty/gvfs-backends
http://mail.gnome.org/archives/gnome-vfs-list/2008-January/msg00036.html
see also "Getting GVfs and FUSE right" http://blog.fubar.dk/?p=104

i can see my camera in Nautilus left panel whereas i can't see it in jBrout 
Source
folder File chooser left panel anymore

i can't see my camera either in Firefox file chooser for instance, whereas i 
can see
it in eye of GNOME, GIMP or OOo file chooser

BUT if i select eject from Nautilus (=unmount i guess) then my camera shows up 
in
jBrout file chooser ! Now if i select my camera in jBrout file chooser i got 
that
error message  : 
"Le contenu du dossier ne peut pas être affiché
Impossible d'aller au dossier car il n'est pas local"
(it means somethings like : the content of the folder can't be displayed - can't
access to the folder because it is not local)
Then my camera disapears from jBrout file chooser and is automatically remounted
within Nautilus !!!

very strange !

Also, i don't know if that can be helpful, but GTHUMB 2.10.11 has this bug fix :
"Added a new gthumb-import.desktop.in file to handle gvfs-mounted cameras more
elegantly. The camera is first unmounted, and the libgphoto import routines are 
then
run. Merged from Ubuntu. Patch by Martin Pitt."
http://bugzilla.gnome.org/show_bug.cgi?id=560352

see screenshots attached :
1-camera is displayed in nautilus not in jBrout file chooser
2-camera is ejected from nautilus and then is displayed in jBrout file chooser
3-selecting the camera in jBrout file chooser gives an error message and then
remounts the camera in nautilus

Original comment by thibaut....@gmail.com on 5 Mar 2009 at 3:52

Attachments:

GoogleCodeExporter commented 8 years ago
i've asked a few question to Martin Pitt :

> My photo manager (jBrout 0.3) can't browse within my camera
> i thought the reason was that my camera doesn't support USB Mass
> Storage.

It is.

> However Nautilus allows me to browse within my camera !

That's just a "dirty" (or, I should say "ingenious"), trick. gvfs has
a module for libgphoto, and exports a "fake" gvfs file system for the
camera. gvfs also sets up a fuse file system for  any gvfs-supported
file system (smb, ssh, gphoto, and whatnot) und provide it as a fuse
file system in ~/.gvfs/.

Nautilus has proper support for gvfs/gio, so it doesn't need those
fuse file systems. But other applications can use the fuse system to
interact with GNOME-mounted gphoto, ssh, samba, or other virtual file
systems.

Martin

Original comment by thibaut....@gmail.com on 9 Mar 2009 at 4:07

GoogleCodeExporter commented 8 years ago

Original comment by r...@wallace.gen.nz on 7 Jul 2009 at 10:00

GoogleCodeExporter commented 8 years ago
I don't understand
"Import" is broken on Linux with PTP cameras 
Linux provides tools as shown above to fix it
Why is it a won't fix ?

If i can't import, i may use Nautilus to copy/paste files from my camera to my 
hard
drive but i still have to use "import" in jBrout since jBrout doesn't know 
there is a
new file. That's a lot of manipulations for a photo manager.

jBrout could work :
if it fixes the import function for PTP camera
or if it watches the photo folder to know when the user manually add a file, 
add it
to its database, and ask user confirmation before renaming them. Therefore 
doing the
import job with Nautilus doesn't add work for the user.

Thanks in advance

Original comment by thibaut....@gmail.com on 12 Jul 2009 at 10:03

GoogleCodeExporter commented 8 years ago
We need to get a multi-platform multi-desktop manager way to handle that. I 
propose
to re-open that issue as long as the discussion is running.
It might be that it needs a dedicated plugin, but I personally would prefer to 
have
all import functionalities in a single menu entry.

The current process works the same way whatever you use gnome, kde, windows, or
something else...

Original comment by tbenita on 13 Jul 2009 at 10:46

GoogleCodeExporter commented 8 years ago
i'm not a developper but it seems that fuse file systems could work for all 
desktops
under Linux ?

Original comment by thibaut....@gmail.com on 13 Jul 2009 at 11:01

GoogleCodeExporter commented 8 years ago
(see comment 8 concerning GNOME/Xfce and here
http://techbase.kde.org/Projects/KioFuse concerning KDE)

Original comment by thibaut....@gmail.com on 13 Jul 2009 at 11:04

GoogleCodeExporter commented 8 years ago
reading wikipedia, it could work at least for Linux, FreeBSD, OpenSolaris, and 
Mac OS X
http://en.wikipedia.org/wiki/Virtual_file_system#Implementations
not so bad

Original comment by thibaut....@gmail.com on 13 Jul 2009 at 11:08

GoogleCodeExporter commented 8 years ago
Hello,

Also downloading from my Canon Powershot S3IS doesn't work. The camera doesn't 
appear
in the list of devices when I browse for the source directory. I can browse the
camera however with Windows Explorer, AcdSee, FSViewer.

Running jBout 0.3.211 on Windows XPpro SP3 + patches.

Cheers,

Chris

Original comment by chris.an...@gmail.com on 2 Sep 2009 at 7:53

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago

Original comment by matej.c...@gmail.com on 12 Aug 2013 at 10:07