Page 1 of 1

MP 0.51 on Ubuntu does not recognize images on network share

Posted: Tue Mar 12, 2013 10:08 am
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...

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

Posted: Tue Mar 12, 2013 7:19 pm
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 ?

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

Posted: Wed Mar 13, 2013 11:26 am
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/

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

Posted: Wed Mar 13, 2013 6:03 pm
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