MP 0.51 on Ubuntu does not recognize images on network share

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
borfthedog
Posts: 3
Joined: Tue Mar 12, 2013 9:30 am

MP 0.51 on Ubuntu does not recognize images on network share

Post by borfthedog »

Hello,

I am trying to configure XnviewMP (running in ubuntu 12.10) to work with network shared drives from a NAS. After mounting the shared folder (using cifs or smbfs) I am able to navigate the drive and see folders and files, but it seems that the images are not recognized properly: I can't see/generate thumbnails, edit metadata, etc. and double-click on a jpeg file will open external editor/viewer.

I have tried accessing the same shared folders from XnviewMP winXP version and works properly. Also accessing the shared folders from other Ubuntu programs work properly: digiKam, Nautilus, etc

Any idea of what can be happening? Other users seems to have this working properly: http://newsgroup.xnview.com/viewtopic.php?f=62&t=27671

Thanks in advance...
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: MP 0.51 on Ubuntu does not recognize images on network s

Post by oops66 »

I have tried with fusesmb (it's more user friendly)

Code: Select all

cd ~
mkdir -p Network
fusesmb Network
And I can browse the shared folder "Network" , and I can see the thumbnails... but after about 2 minutes , my shared folder is "broken" and I have to remount it :

Works for about for 6 shared folders (with few thumbnails to build - about 10 images) ... and stop after at ... "### ThumbLoaderThread :: stop() ok" :

Code: Select all

setPathname </home/user/Network/WORKGROUP/FREEBOX/Disque dur/photos/folder1/>
...
...OK

setPathname </home/user/Network/WORKGROUP/FREEBOX/Disque dur/photos/folder7/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
CheckContent...
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok

Code: Select all

fusermount -u Network
fusesmb Network
------
Maybe the best way is to have the ability into XnviewMP to (copy/paste) the path into the browser mode.

Local folders - Already works into the browser mode:
/home/user1/Images
/home/user2/Images2

Samba share - Does not work into the browser mode
smb://192.168.1.254/disque%20dur/
------
XnViewMP 0.51 Linux X64 - Ubuntu 12.04 X64

Pierre, do you have any idea ?
XnViewMP Linux X64 - Debian - X64
borfthedog
Posts: 3
Joined: Tue Mar 12, 2013 9:30 am

Re: MP 0.51 on Ubuntu does not recognize images on network s

Post by borfthedog »

Thanks oops66.

I have not worked till now with fusesmb, but I will try this way.

I had already tried copying the path into the browser mode, and as you mention it does not work with samba shares like smb://xxx.xxx.xxx.xxx/xxx/
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: MP 0.51 on Ubuntu does not recognize images on network s

Post by oops66 »

Hello,
FYI - a workaround: ... I have tried to mount the shared Network folder with fusesmb (but with the -s option to disable multi-threaded operation) and now, it seems to be OK ... (...but I must do more tests ...)

Code: Select all

fusesmb -s /home/user/Network
fusermount -u Network
-----------------
To install fusesmb on Ubuntu:

Code: Select all

apt-get install fusesmb
sudo modprobe fuse
sudo  gpasswd -a $USER fuse
Log off the user session, and

Code: Select all

cd ~
mkdir -p Network
fusesmb -s /home/user/Network
...Open XnviewMP-linux and browse the shared Network folder
To unmount the folder:

Code: Select all

fusermount -u Network
XnViewMP Linux X64 - Debian - X64
Post Reply