Commit 55549ded authored by Arnaud Fontaine's avatar Arnaud Fontaine

CUSTOM: LD_LIBRARY_PATH breaks wkhtmltopdf (official) package.

parent 637595ec
...@@ -79,7 +79,10 @@ class Handler(object): ...@@ -79,7 +79,10 @@ class Handler(object):
stdout=PIPE, stdout=PIPE,
stderr=PIPE, stderr=PIPE,
close_fds=True, close_fds=True,
env=self.environment, # self.environment defines LD_LIBRARY_PATH breaking wkhtmltopdf (official) package
# env=self.environment,
env={'LANG': 'ja_JP.UTF-8',
'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'},
cwd=self.file.directory_name, cwd=self.file.directory_name,
).communicate() ).communicate()
self.file.reload(output_path) self.file.reload(output_path)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment