Re: SqlAlchemy

The first thing I do with problems like this, is to remove every single 
.pyc and .pyo file in my projects' directory tree.

9/10 times, the problem is that I changed the some imports and old .pyc 
files are being picked up.  one way this can affect you is in this example: 
 if you rename foo.py to bar.py; and do not update the imports, python will 
use foo.pyc even though foo.py doesn't exist.  i think you can sometimes 
also run into permission issue, where the interpreter can't write the .pyc 
or .pyo files.  

there's a lot of really weird things that can happen if this is the case -- 
but a solid first step in solving issues like this is to remove every .pyc 
and .pyo file.

The second thing I would do, is to find a minimal way to recreate the 
problem.  If it is a bug, no one will be able to fix it if they can't 
recreate it.  If its not a bug, you won't be able to reproduce it , and 
probably find the real bug as a typo or other error.

Re: gunicorn

that looks like it's using the wrong gunicorn, not the wrong script.

are you sure that the supervisord file is correct?  i know this sound 
stupid, but i've had issues where I missed copy/pasting a section header 

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to