ArchiveTeam/xanga-grab — pull request #3 by pallih (2013-06-20 03:17:28+00:00)
Title: Wget lua version strings

When running on Heroku, fails with:

2013-06-20T03:05:55.043294+00:00 app[seesaw.1]: Initialized empty Git repository in /app/project/.git/
2013-06-20T03:05:57.210284+00:00 app[seesaw.1]: Looking for Wget+Lua in ./wget-lua
2013-06-20T03:05:57.227185+00:00 app[seesaw.1]: ./wget-lua: [Errno 2] No such file or directory
2013-06-20T03:05:57.227361+00:00 app[seesaw.1]: Looking for Wget+Lua in ./wget-lua-warrior
2013-06-20T03:05:57.239818+00:00 app[seesaw.1]: ./wget-lua-warrior: [Errno 2] No such file or directory
2013-06-20T03:05:57.240037+00:00 app[seesaw.1]: Looking for Wget+Lua in ./wget-lua-local
2013-06-20T03:05:57.253485+00:00 app[seesaw.1]: ./wget-lua-local: [Errno 2] No such file or directory
2013-06-20T03:05:57.253724+00:00 app[seesaw.1]: Looking for Wget+Lua in ../wget-lua
2013-06-20T03:05:57.328874+00:00 app[seesaw.1]: ../wget-lua: Incorrect Wget+Lua version (want GNU Wget 1.14.lua.20130523-9a5c).
2013-06-20T03:05:57.330352+00:00 app[seesaw.1]: Looking for Wget+Lua in ../../wget-lua
2013-06-20T03:05:57.393618+00:00 app[seesaw.1]: ../../wget-lua: [Errno 2] No such file or directory
2013-06-20T03:05:57.393618+00:00 app[seesaw.1]: Looking for Wget+Lua in /home/warrior/wget-lua
2013-06-20T03:05:57.409904+00:00 app[seesaw.1]: /home/warrior/wget-lua: [Errno 2] No such file or directory
2013-06-20T03:05:57.409904+00:00 app[seesaw.1]: Looking for Wget+Lua in /usr/bin/wget-lua
2013-06-20T03:05:57.422658+00:00 app[seesaw.1]: /usr/bin/wget-lua: [Errno 2] No such file or directory
2013-06-20T03:05:57.423317+00:00 app[seesaw.1]: Traceback (most recent call last):
2013-06-20T03:05:57.423317+00:00 app[seesaw.1]: File "/app/.heroku/python/bin/run-pipeline", line 104, in
2013-06-20T03:05:57.423317+00:00 app[seesaw.1]: main()
2013-06-20T03:05:57.423317+00:00 app[seesaw.1]: File "/app/.heroku/python/bin/run-pipeline", line 65, in main
2013-06-20T03:05:57.423412+00:00 app[seesaw.1]: (project, pipeline) = load_pipeline(args.pipeline, { "downloader": args.downloader })
2013-06-20T03:05:57.423412+00:00 app[seesaw.1]: File "/app/.heroku/python/bin/run-pipeline", line 25, in load_pipeline
2013-06-20T03:05:57.423412+00:00 app[seesaw.1]: exec pipeline_str in local_context, global_context
2013-06-20T03:05:57.423412+00:00 app[seesaw.1]: File "", line 35, in
2013-06-20T03:05:57.423654+00:00 app[seesaw.1]: Exception: No usable Wget+Lua found.

This pull request fixes that:

2013-06-20T03:13:59.478609+00:00 app[seesaw.1]: Looking for Wget+Lua in ./wget-lua
2013-06-20T03:13:59.497076+00:00 app[seesaw.1]: ./wget-lua: [Errno 2] No such file or directory
2013-06-20T03:13:59.497076+00:00 app[seesaw.1]: Looking for Wget+Lua in ./wget-lua-warrior
2013-06-20T03:13:59.518472+00:00 app[seesaw.1]: ./wget-lua-warrior: [Errno 2] No such file or directory
2013-06-20T03:13:59.518472+00:00 app[seesaw.1]: Looking for Wget+Lua in ./wget-lua-local
2013-06-20T03:13:59.546147+00:00 app[seesaw.1]: ./wget-lua-local: [Errno 2] No such file or directory
2013-06-20T03:13:59.546147+00:00 app[seesaw.1]: Looking for Wget+Lua in ../wget-lua
2013-06-20T03:13:59.570835+00:00 app[seesaw.1]: Found usable Wget+Lua in ../wget-lua

These version strings copied from the Formspring grab: https://github.com/ArchiveTeam/formspring-grab/blob/master/pipeline.py