bellroy / lesswrong

Less Wrong platform
http://lesswrong.org/
Other
45 stars 23 forks source link

Incorperate upstream fix for captcha module import #571

Closed jglamine closed 8 years ago

jglamine commented 8 years ago

On windows and OSX, vagrant up fails due to an import error:

==> default:   File "/vagrant/r2/r2/lib/Captcha.py", line 25, in <module>
==> default:     from Captcha.Base import randomIdentifier
==> default: ImportError: No module named Base
==> default: ---- End output of "bash"  "/tmp/chef-script20160703-7426-qg0yug" ----
==> default: Ran "bash"  "/tmp/chef-script20160703-7426-qg0yug" returned 1
==> default: [2016-07-03T17:55:30+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

This was fixed by reddit upstream in https://github.com/reddit/reddit/commit/327a5dc301851fd13fe19b8f6b8d0aed608397fd See also: https://www.reddit.com/r/redditdev/comments/28cf7p/error_with_r2_source_code_no_module_named_base_in/

This change incorporates that fix.