Univention Bugzilla – Attachment 6584 Details for
Bug 36234
Reports can not be created
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
patch.txt (text/plain), 1.23 KB, created by
Johannes Keiser
on 2015-01-09 11:44 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Johannes Keiser
Created:
2015-01-09 11:44 CET
Size:
1.23 KB
patch
obsolete
>Index: debian/python-univention-directory-reports.dirs >=================================================================== >--- debian/python-univention-directory-reports.dirs (Revision 0) >+++ debian/python-univention-directory-reports.dirs (Revision 0) >@@ -0,0 +1 @@ >+var/cache/univention-directory-reports >Index: modules/univention/directory/reports/document.py >=================================================================== >--- modules/univention/directory/reports/document.py (Revision 57208) >+++ modules/univention/directory/reports/document.py (Arbeitskopie) >@@ -125,8 +125,9 @@ > cmd = ['pdflatex', '-interaction=nonstopmode', '-halt-on-error', '-output-directory=%s' % os.path.dirname(latex_file), latex_file] > devnull = open(os.path.devnull, 'w') > try: >- if not subprocess.call(cmd, stdout=devnull, stderr=devnull): >- if not subprocess.call(cmd, stdout=devnull, stderr=devnull): >+ env_vars = {'HOME': '/var/cache/univention-directory-reports'} >+ if not subprocess.call(cmd, stdout=devnull, stderr=devnull, env=env_vars): >+ if not subprocess.call(cmd, stdout=devnull, stderr=devnull, env=env_vars): > return '%s.pdf' % latex_file.rsplit('.', 1)[0] > print >>sys.stderr, "error: failed to create PDF file" > return None
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 36234
:
6463
| 6584