Rudde / pyroscope

Automatically exported from code.google.com/p/pyroscope
GNU General Public License v2.0
1 stars 0 forks source link

mktor does not handle filenames with spaces #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
For example, if you run:

echo "test" > 'test file.txt'
mktor 'test file.txt' http://mytracker.tld/

You get an error:
OSError: [Errno 2] No such file or directory: 'test'

It looks like it's splitting the arguments by spaces, when it should respect 
spaces in filenames and directories if the arguments are passed with spaces.

The output of 'mktor --version' is "mktor 0.4.3dev".

I'm running this on Arch Linux (x86_64).

Original issue reported on code.google.com by ethr...@gmail.com on 6 Jan 2012 at 8:43

GoogleCodeExporter commented 9 years ago
Works for me. How did you install that? Call "which mktor" and look what's in 
it, most likely this is caused by an additional bash wrapper with bad quoting.

Original comment by pyroscope.project on 6 Jan 2012 at 9:02

GoogleCodeExporter commented 9 years ago
Whoops!  You're right - it *was* an additional bash wrapper (to make the 
installation global instead of based around a single user, it basically just 
adds "--config-dir ..." to each call).  Sorry for the false alarm!

Original comment by ethr...@gmail.com on 6 Jan 2012 at 8:20

GoogleCodeExporter commented 9 years ago

Original comment by pyroscope.project on 6 Jan 2012 at 11:02