Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242674 - Kaffeine unable to open smb:// URIs with spaces in name.
Summary: Kaffeine unable to open smb:// URIs with spaces in name.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-19 01:03 UTC by Tom Lloyd
Modified: 2009-11-09 11:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Lloyd 2008-10-19 01:03:27 UTC
Playing video files from other hosts is impossible using Kaffeine's SMB integration when the filename contains spaces.  It appears the space is escaped as %20, and then the %20 is further escaped as %2520, resulting in a "file not found" error.

Reproducible: Always

Steps to Reproduce:
1. Place video file with space in name on Samba share
2. Access Samba share in Konqueror using smb://host/share scheme
3. Right click on video file and choose to open with Kaffeine

Actual Results:  
Kaffeine produces an error box (titled "xine Error - Kaffeine Player") containing the following text:

No plugin found to handle this resource (smb://gaspode/anime/Full%20Metal%20Alchemist%2031.avi)

Details

01:55:34: xine: cannot find input plugin for MRL [smb://gaspode/anime/Full%2520Metal%2520Alchemist%252031.avi]
01:55:34: xine: input plugin cannot open MRL [smb://gaspode/anime/Full%2520Metal%2520Alchemist%252031.avi]
01:55:34: xine: found input plugin : CIFS/SMB input plugin based on libsmbclient

Expected Results:  
Video should play seamlessly in Kaffeine, as if it was part of the local filesystem.

smbfs and cifs support are enabled in the kernel, and filesystems can be mounted as either without problems.

If, on the Samba server, a hard link without spaces in its name is created pointing to a file that does have spaces, the no-spaces link will work perfectly when accessed by Kaffeine, but the with-spaces link will fail in the manner described.
Comment 1 Tom Lloyd 2008-10-19 01:07:42 UTC
Sorry, forgot a couple of things.  I'm running kdelibs 3.5.9-r4 and Kaffeine 0.8.6.

emerge --info:
Portage 2.1.4.5 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r8-splig-X1-nowifi i686)
=================================================================
System uname: 2.6.25-gentoo-r8-splig-X1-nowifi i686 AMD Athlon(tm) 64 Processor 3700+
Timestamp of tree: Wed, 15 Oct 2008 15:15:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="candy distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en_GB"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib accessibility acpi alsa asf avi bash-completion berkdb bluetooth branding browserplugin bzip2 cairo cdr cjk cli cracklib crypt cups dbus dga divx divx4linux dri dv dvd dvdr dvdread eds emboss encode evo fam ffmpeg firefox flac fortran gdbm gif gpm gtk gtk2 hal howl iconv ieee1394 ipod ipv6 irmc isdnlog java jpeg kde kdehiddenvisibility kqemu lm_sensors logitech-mouse mad midi mikmod mime mjpeg mmx mmxext mono mozbranding mp3 mp4 mpeg mplayer msn mudflap musicbrainz ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pcre pdf perl png posix pppd python qt qt3 qt3support qt4 quicktime readline real reflection samba sdl session spell spl spreadsheet sse sse2 ssl svg svga tcpd tiff truetype unicode usb v4l vcd videos visualization vorbis win32codecs x86 xcb xcomposite xine xinerama xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="intel8x0 bt87x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="sq905" ELIBC="glibc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Can't think of anything else I've missed...
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-11-09 11:20:01 UTC
(In reply to comment #1)
> Sorry, forgot a couple of things.  I'm running kdelibs 3.5.9-r4 and Kaffeine
> 0.8.6.

Well, current stable is kdelibs-4.3.1 and kaffeine-1.0_pre2.

KDE 3.5.9 has been removed, and KDE 3.5.10 will be removed (masked).

Same for <kaffeine-1.0_pre2, so closing this as WONTFIX.