Bug 173778

Summary: Mounting process for SMB share with national symbols died
Product: [Unmaintained] kio Reporter: Pavel Zheltobryukhov <pij>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: normal CC: andresbajotierra, dmile525, finex, jorortega, mariusz
Priority: NOR    
Version: 4.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on: 158639    
Bug Blocks:    

Description Pavel Zheltobryukhov 2008-10-28 19:41:25 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    SuSE RPMs

I add a network folder (Windows network disk) via Knetattach from server with IP address 192.168.1.252 and name 'Pablic'
After that, I tried to open this folder in Dolphin and got an error message in status panel:

'The process for the smb://192.168.1.252 protocol died unexpectedly'

There is no any items displayed, of course.

Then I mounted this share with 'mount.smbfs' command

linux-042u:~ # mount.cifs //192.168.1.252/Pablic /mnt/cifs -o user=admin dom=MYDOMAIN
Password:
linux-042u:~ # ls -l /mnt/cifs
total 86840
drwxrwxrwx 1 root root        0 Sep 12 16:01 !SYS
drwxrwxrwx 1 root root        0 Oct 10 10:46 NWT
-rwxrwSrwx 1 root root 88920843 May  8 10:02 Управленческий учет.zip
drwxrwxrwx 1 root root        0 Sep 26 14:05 общее
linux-042u:~ #

This share contain file and folder with non-Latin (cyrillic) names (If you can see). 

If I mount share with Latin names only, Dolphin browse it deeply until any non-Latin symbol in folder or file name appear at some level.
Comment 1 Frank Reininghaus 2008-10-29 23:00:48 UTC
*** Bug 173861 has been marked as a duplicate of this bug. ***
Comment 2 Mariusz Józala 2008-11-12 10:41:00 UTC
I can confirm this annoying bug on KDE 4.1.3 on OpenSUSE 11.0. When I've got some files with Polish characters in folder I got message "The process for the smb://xxx.xxx.xxx.xxx protocol died unexpectedly" from Dolphin and Konqueror for KDE4. Everything goes fine with Konqueror for KDE3.
Comment 3 jorortega 2008-11-12 13:02:07 UTC
There's a workaround:

Since windows convert everything in NTFS to UTF-16, and it seems that KDE4 can't handle UTF-8 or UTF-16 (Even when a you connect to a Samba server configured for UTF-8) you can specify in the command line of mount command the charset used:

mount.cifs //192.168.1.252/Pablic /mnt/cifs -o iocharset=utf-16,user=admin dom=MYDOMAIN 

If for some reason UTF-16 is unavailable to you, try UTF-8. Providing that you have cyriliic fonts installed in the system you should browse them from dolphin and all should be ok. Another workaround is to use fuse, it can do a better work than kde4/whatever.

Of course a better workaround is to drop KDE4 entirely, but that's another story. :)

Regards.

J.
Comment 4 Pavel Zheltobryukhov 2008-11-12 13:40:53 UTC
J, look at the comment#1. Your "workaround" was there. If we use console 'mount.cifs' command, Dolphin can browse already mounted share without any issues. But shares, what added with Knetattach to Places/Network cannot be browsed so well.
Comment 5 Pavel Zheltobryukhov 2008-11-12 13:43:08 UTC
Sorry for typo in prev. post. Read "comment#0" instead "comment#1"
Comment 6 jorortega 2008-11-13 15:06:57 UTC
Maybe for cyrillic is not really necesary... for my language (spanish... accented characters) is necesary to add the iocharset option... otherwise dolphin will have problems.

This is also seen in other languages, most notably asian ones (japanese, chinesse, etc).

J.
Comment 7 FiNeX 2008-12-20 03:42:53 UTC
Could this be a dup of bug #158639?
Comment 8 FiNeX 2008-12-20 12:03:32 UTC
Or, better, it depends on bug #158639
Comment 9 Dario Andres 2009-03-08 19:46:54 UTC
Any news on this. Bug 158639 is now fixed?
Can anyone else still reproduce this  ? Thanks
Comment 10 Pavel Zheltobryukhov 2009-03-09 10:03:06 UTC
Seems to be fixed in KDE4.2.1 "release 103" (OpenSUSE 11.0 RPMS)