Note that there are some explanatory texts on larger screens.

plurals
  1. POHeroku /app/bin directory is missing
    text
    copied!<p>Committed a small code change to my django app and deployed to heroku. The app now throws H10 (app crashed) errors on every response. When I checked the logs, I saw..</p> <pre><code>[web.1]: Traceback (most recent call last): [web.1]: File "nightlife2/manage.py", line 2, in &lt;module&gt; [web.1]: from django.core.management import execute_manager [web.1]: ImportError: No module named django.core.management [web.1]: bash: bin/gunicorn_django: No such file or directory </code></pre> <p>..which I know means that django isn't on the pythonpath. I looked at the PATH on the heroku config which says <code>bin:/usr/local/bin:/usr/bin:/bin</code>. But while doing a <code>heroku run bash</code>, I noticed that the entire <code>bin</code> directory is now gone. Other apps of mine deployed on heroku can still be pushed to and still have the <code>bin</code> directory on there (I believe newer apps no longer have the bin directory and it's now in .heroku/venv/bin. Not 100% sure on the details there)</p> <p>Has anyone ever encountered this? I can change the PATH to <code>.heroku/venv/bin</code> but then I get an error about sql and I don't know if this is closer or farther away from the root problem. ANYTHING would be greatly appreciated as this is the production server and is currently hosed.</p> <p>EDIT: The error when changing the path is: <code>django.core.exceptions.ImproperlyConfigured: Error loading either pysqlite2 or sqlite3 modules (tried in that order): No module named _sqlite3 </code>. The database is postgress so I'm not sure where this is coming from</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload