What steps will reproduce the problem?
1. On windows XP create an account with PL characters
2. run ruby mget.rb
What is the expected output? What do you see instead?
Expected:
Usage: mget [options] url
url - a valid movie link; you can find the list of
supported sit
es on
the project hompage: http://movie-get.org
--name, -n - name used to save the file, without the extension
--input, -i - read links from file
--download, -d - download files without asking
--nodownload, -D - don't download any files (also sets -C)
--convert, -c - convert all downloaded and convertable files (also
sets -d
)
--noconvert, -C - don't convert any files
--remove, -r - remove leftover file after conversion
--noremove, -R - never remove leftover file after conversion
--show, -s - show direct download link for the video
--quiet, -q - hides output from wget
--version, -v - display version information
Instead:
C:\Documents and Settings\Adam Wołk\Pulpit\repos\mget\trunk>ruby mget.rb --help
./lib/mget/error_handling.rb:54:in `mkdir': No such file or directory -
C:\Docum
ents and Settings\Adam Wołk\Dane aplikacji\mget (Errno::ENOENT)
from ./lib/mget/error_handling.rb:54:in `logDir'
from ./lib/mget/mget.rb:33:in `initialize'
from mget.rb:51:in `new'
from mget.rb:51
Suggested solutions is to change the default log path. Ruby seems to have
problems in handling different character sets.