Skip to content

Instantly share code, notes, and snippets.

@ylorn
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ylorn/11154470 to your computer and use it in GitHub Desktop.
Save ylorn/11154470 to your computer and use it in GitHub Desktop.
# troy at 164.218.21.198.tigernet.wifi.dyn.clemson.edu in ~ [15:00:02]
$ lxd 442864210085120 442864209822976 442864209167616 442864208774400 442864208643328 442864207922432 442864207791360 442864207398144
菅野洋子.-.[攻壳机动队.-.STAND.ALONE.COMPLEX.be.Human].专辑.(APE).iso ...
Traceback (most recent call last):
File "/Users/troy/xunlei-lixian/lixian_cli.py", line 63, in <module>
execute_command()
File "/Users/troy/xunlei-lixian/lixian_cli.py", line 60, in execute_command
commands[command](args[1:])
File "/Users/troy/xunlei-lixian/lixian_cli_parser.py", line 165, in parse
return f(parser(args_list, *args, **kwargs))
File "/Users/troy/xunlei-lixian/lixian_commands/download.py", line 325, in download_task
download_multiple_tasks(client, tasks, download_args)
File "/Users/troy/xunlei-lixian/lixian_commands/download.py", line 227, in download_multiple_tasks
download_single_task(client, task, options)
File "/Users/troy/xunlei-lixian/lixian_commands/download.py", line 220, in download_single_task
download_file(client, output_path, task, options)
File "/Users/troy/xunlei-lixian/lixian_commands/download.py", line 120, in download_file
download2(client, url, path, task)
File "/Users/troy/xunlei-lixian/lixian_commands/download.py", line 110, in download2
download1_checked(client, url, path, size)
File "/Users/troy/xunlei-lixian/lixian_commands/download.py", line 100, in download1_checked
if download.finished():
File "/Users/troy/xunlei-lixian/lixian_download_tools.py", line 95, in finished
assert os.path.getsize(self.path) <= self.size, 'existing file (%s) bigger than expected (%s)' % (os.path.getsize(self.path), self.size)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/genericpath.py", line 49, in getsize
return os.stat(filename).st_size
OSError: [Errno 2] No such file or directory: '/Volumes/Second/\xe8\x8f\x85\xe9\x87\x8e\xe6\xb4\x8b\xe5\xad\x90.-.[\xe6\x94\xbb\xe5\xa3\xb3\xe6\x9c\xba\xe5\x8a\xa8\xe9\x98\x9f.-.STAND.ALONE.COMPLEX.be.Human].\xe4\xb8\x93\xe8\xbe\x91.(APE).iso'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment