Re: [e-users] Failed to open file in filemanager with apostroph in name

2007-07-20 Thread The Rasterman
On Sat, 26 May 2007 17:48:56 +0400 ptomaine [EMAIL PROTECTED] babbled:

what does mplayer's .desktop file look like? e escapes the filenames it passes
in. if the cmd-line for mplayer changed from

  mplayer %f

or

  mplayer

(where it assumes you just add the filename after the command)

to

  mplayer '%f'

then that'd explain it. that'd be a bad .desktop file as e is doing the right
thing by escaping to make sure any filename works. the last command there will
fail if the filename has a ' in it too.

 Hello.
 
 Ordinarily, internal filemanager in E17 opens video files in mplayer
 when i double click them.
 But if filename contains an apostroph, it fails with the following message:
 
 
 Error Information:
 An exit code of 2 was returned from mplayer
 '/home/ptomaine/.dc++/Downloads/7/Friends - 7x20 - TOW Rachel\'s Big
 Kiss.avi'.
 
 Output Data:
 There was no output
 
 Error Logs:
 /bin/bash: -c: line 0: unexpected EOF while looking for matching `''
 /bin/bash: -c: line 1: syntax error: unexpected end of file
 
 
 And for the other file
 
 
 Error Information:
 An exit code of 2 was returned from mplayer
 '/home/ptomaine/.dc++/Downloads/7/Friends - 7x19 - TOW Ross and
 Monica\'s Cousin.avi'.
 
 Output Data:
 There was no output
 
 Error Logs:
 /bin/bash: -c: line 0: unexpected EOF while looking for matching `''
 /bin/bash: -c: line 1: syntax error: unexpected end of file
 
 
 Another files are opening ok. I assume this is a bug.
 
 ptomaine//
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 enlightenment-users mailing list
 enlightenment-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-users
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


[e-users] Failed to open file in filemanager with apostroph in name

2007-05-26 Thread ptomaine
Hello.

Ordinarily, internal filemanager in E17 opens video files in mplayer
when i double click them.
But if filename contains an apostroph, it fails with the following message:


Error Information:
An exit code of 2 was returned from mplayer
'/home/ptomaine/.dc++/Downloads/7/Friends - 7x20 - TOW Rachel\'s Big
Kiss.avi'.

Output Data:
There was no output

Error Logs:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of file


And for the other file


Error Information:
An exit code of 2 was returned from mplayer
'/home/ptomaine/.dc++/Downloads/7/Friends - 7x19 - TOW Ross and
Monica\'s Cousin.avi'.

Output Data:
There was no output

Error Logs:
/bin/bash: -c: line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of file


Another files are opening ok. I assume this is a bug.

ptomaine//

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users