Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#5799 - Kaffeine cannot save stream, save_dir is read all wrong

Attached to Project: Arch Linux
Opened by Darwin Bautista (djclue917) - Thursday, 09 November 2006, 03:06 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 09 May 2009, 11:04 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority High
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When I try to save a stream in Kaffeine, a weird error pops up:

"input_rip: error opening file ????"??e/darwin/beryl-capture-1.avi: No such file or directory"

I think input_rip cannot open the destination file because it reads (or sees) "/home/darwin/beryl-capture-1.avi" as "????"??e/darwin/beryl-capture-1.avi". I even tried saving it in a remote location but the same problem occurs.

I've confirmed that this problem does not occur in Kubuntu 6.06: KDE 3.5.5, Kaffeine 0.8.2, libxine 1.1.1 that is why I concluded that this is a packaging bug (or even a xine-lib upstream/packaging bug since input_rip is from xine-lib).

I've also confirmed this problem in another Arch box. I already tried rebuilding xine-lib and kaffeine (against the newly rebuilt xine-lib); both from ABS.

Steps to reproduce:
1. Open any video with Kaffeine
2. File -> Save Stream
3. Save.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 09 May 2009, 11:04 GMT
Reason for closing:  Fixed
Comment by Damir Perisa (damir.perisa) - Sunday, 03 December 2006, 00:17 GMT
kaffeine 0.8.3 is out
Comment by Darwin Bautista (djclue917) - Sunday, 03 December 2006, 03:49 GMT
Problem still persists... I'm concluding that this is not an upstream-related bug.
Comment by Darwin Bautista (djclue917) - Sunday, 03 December 2006, 04:12 GMT
Anyone confirmed this?
Comment by Damir Perisa (damir.perisa) - Sunday, 03 December 2006, 13:10 GMT
can you send the link of the stream/video to reproduce? i have no idea where to find a movie for kaffeine online. youtube and this kind is flashvideo and i cannot find the URI for it to try to open in kaffeine. i have tried to open a local video (mpg) but then saving it makes not much sense because it is not a feed but a file.
Comment by Darwin Bautista (djclue917) - Sunday, 03 December 2006, 13:30 GMT
It doesn't actually matter whether you're saving a local or a remote file/stream. You can reproduce it simply by opening a video and trying to save the stream.
Comment by Damir Perisa (damir.perisa) - Sunday, 03 December 2006, 13:31 GMT
input_rip: error opening file (/è e/damir/tmp/Eiffelturm_h.wmv: No such file or directory
xine: join rip input plugin
input_http: content length = 2987036 bytes
xine: found input plugin : http input plugin
xine: The specified save_dir "(/è e/damir/tmp" might be a security risk.
200 frames delivered, 1 frames skipped, 0 frames discarded
xine: found demuxer plugin: ASF demux plugin
input_http: content length = 2987036 bytes
xine: found input plugin : http input plugin
xine: found demuxer plugin: AVI/RIFF demux plugin
xine: found input plugin : file input plugin
Comment by Damir Perisa (damir.perisa) - Sunday, 03 December 2006, 13:33 GMT
ok, i can reproduce it now... i tried to save http://www-5.ibm.com/de/werbung/download/Eiffelturm_h.wmv to /home/damir/tmp/
and it gives me the same input_rip error opening destination.

it looks as if encoding used by input_rip is wrong. do you know how to try to reproduce this directly in xine? so that we can check if it is a kaffeine problem or a xinelib problem.
Comment by Damir Perisa (damir.perisa) - Sunday, 03 December 2006, 13:39 GMT
~|501> locale
LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE=C
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
~|502> LANG=de_CH kaffeine

when i start kaffeine with another LANG, i get not longer this strange error, but another one:

input_ipd: Fehler beim Öffnen der Datei ˆ± e/damir/tmp/Eiffelturm_h.wmv: Datei oder Verzeichnis nicht gefunden
xine: Join rip Plugin
input_http: Inhaltslänge = 2987036 bytes
xine: Inputplugin gefunden: http Plugin
xine: Das angegebene save_dir 'ˆ± e/damir/tmp' kann ein Sicherheitsproblem sein.
xine: Demultiplexer-Plugin gefunden: AVI/RIFF demux plugin
xine: Inputplugin gefunden: Datei Plugin
input_rip: Zielverzeichnis nicht angegeben, bitte die Option 'media.capture.save_dir' angeben
xine: Join rip Plugin
input_http: Inhaltslänge = 2987036 bytes
xine: Inputplugin gefunden: http Plugin
xine: Demultiplexer-Plugin gefunden: ASF demux plugin
input_http: Inhaltslänge = 2987036 bytes
xine: Inputplugin gefunden: http Plugin

so it's definitely a encoding problem... but what is causing it?
Comment by Damir Perisa (damir.perisa) - Sunday, 03 December 2006, 13:43 GMT
when tried with unicode:

~|504> LANG=de_CH.UTF-8 kaffeine

input_ipd: Fehler beim Öffnen der Datei
Comment by Darwin Bautista (djclue917) - Saturday, 27 January 2007, 17:20 GMT Comment by Damir Perisa (damir.perisa) - Saturday, 14 April 2007, 14:09 GMT
newest kaffeine 0.8.4-1 does not solve this! Darwin, your link is not working any more.
Comment by Darwin Bautista (djclue917) - Saturday, 14 April 2007, 14:39 GMT
The bug is most probably an upstream issue. Can we confirm that now given the info below?

Ubuntu 6.10, openSUSE 10.2, and Fedora Core 6 users are also experiencing this problem:

https://bugs.launchpad.net/ubuntu/+source/kaffeine/+bug/63430
http://osdir.com/ml/video.kaffeine.devel/2007-01/msg00017.html
http://www.nabble.com/--can't-'save-stream'-audio-in-Suse-10.2-t3548569.html
Comment by Darwin Bautista (djclue917) - Saturday, 14 April 2007, 14:41 GMT Comment by Damir Perisa (damir.perisa) - Saturday, 14 April 2007, 14:43 GMT
somehow i cannot find it in kaffeine's bugtracker... http://sourceforge.net/tracker/?group_id=86937&atid=581406
Comment by Wolfgang Brehm (Lükos) - Monday, 04 June 2007, 08:58 GMT
So here I am
I have a very similar problem and I think it's a bug caused by kaffeine.
I have the System: SuSE Linux 10.2 i386 and kaffeine 0.8.4.
"Der angegebene Ordner existiert nicht oder ist nicht lesbar" (German)
engl: The required folder doesn't exist or isn't readable
Then I can choose where to copy the file.
When I chose the place and pressed save, then it gives me 2 warnings of xine-errors: a Security warnig, which says: the given save_dir may be a problem.
and an error which says that the required source doesn't exist.
Comment by Roman Kyrylych (Romashka) - Saturday, 09 February 2008, 14:45 GMT
Plenty of time passed. What's the status now?
Comment by Glenn Matthys (RedShift) - Tuesday, 17 June 2008, 08:08 GMT
The current output produced by this bug is as follows:

After selecting a location to save the stream:
Requested resource does not exist (/home/glenn/Downloads/100-dagen.wmv#save:/home/glenn/100-dagen.wmv)

Detailed output:
10:07:10: input_rip: error opening file `Æ
e/glenn/100-dagen.wmv: No such file or directory
10:07:10: xine: join rip input plugin
10:07:10: xine: found input plugin : file input plugin
10:07:10: xine: The specified save_dir "`Æ
e/glenn" might be a security risk.
10:07:03: xine: found demuxer plugin: ASF demux plugin
10:07:03: xine: found input plugin : file input plugin
10:06:53: xine: found demuxer plugin: image demux plugin
10:06:53: xine: found input plugin : file input plugin
10:06:41: input_rip: error opening file +
/100-dagen.wmv: No such file or directory
10:06:41: xine: join rip input plugin
10:06:41: xine: found input plugin : file input plugin
10:06:40: xine: The specified save_dir "+
" might be a security risk.
10:06:33: xine: found demuxer plugin: ASF demux plugin
10:06:33: xine: found input plugin : file input plugin

After clicking OK with this, the next message is:
Security Warning:
Security message: The specified save_dir might be a security risk.
Comment by Greg (dolby) - Sunday, 27 July 2008, 23:19 GMT
Is this still a problem with kaffeine 0.8.7-1 ?
Comment by Glenn Matthys (RedShift) - Friday, 05 December 2008, 12:54 GMT
This is still a problem with kaffeine 0.8.7-1. Most likely an upstream bug.
Comment by Tobias Powalowski (tpowa) - Wednesday, 06 May 2009, 07:09 GMT
status on latest kde4 version?

Loading...