Closed
Bug 965669
Opened 11 years ago
Closed 11 years ago
set PYTHONPATH=. and PYTHONUNBUFFERED=true in .env for Procfile
Categories
(Socorro :: Infra, task)
Socorro
Infra
Tracking
(Not tracked)
RESOLVED
FIXED
73
People
(Reporter: rhelmer, Assigned: rhelmer)
Details
Attachments
(1 file)
The backend Socorro apps require PYTHONPATH to be set to . (to be able to import things from socorro.*)
Let's set this in the Procfile so people don't need to do this by hand anymore.
Assignee | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8367786 -
Flags: review?(chris.lonnen)
Assignee | ||
Updated•11 years ago
|
Target Milestone: --- → 73
Assignee | ||
Comment 2•11 years ago
|
||
Oh - turns out honcho looks in ".env" for environment variables, can just set it once there.
While we're at it, let's turn off buffering - it makes it tough for development if you like to do print-style debugging.
Summary: set PYTHONPATH=. in Procfile → set PYTHONPATH=. and PYTHONUNBUFFERED=true in .env for Procfile
Comment 3•11 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/c8075c5320ebce468b5635808fc1ebd715341f45
fixes bug 965669 - set PYTHONPATH=. in Procfile
https://github.com/mozilla/socorro/commit/0ec32071dbf4d8d8df85d7f513fb2d86be3a645a
Merge pull request #1844 from rhelmer/bug965669-set-pythonpath-in-procfile
fixes bug 965669 - set PYTHONPATH=. in Procfile
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Attachment #8367786 -
Flags: review?(chris.lonnen) → review+
You need to log in
before you can comment on or make changes to this bug.
Description
•