mirror of
https://github.com/not-kennethreitz/convore.json.git
synced 2026-06-21 15:40:58 +00:00
1 line
4.9 KiB
JSON
1 line
4.9 KiB
JSON
[{"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303530814.9562531, "message": "Hi. I have a Django app running locally and I'm facing a very strange behavior. After I do an specific operation (which I'm about to find what it is), Django no longer works when there is user data. It simply crashes, leaving no traceback.", "group_id": 81, "id": 787127}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303530876.4398191, "message": "If I open that same page in a private session of my browser or I clear the session (by doing the logout process in another django app, for example), the Django server responds normally.", "group_id": 81, "id": 787128}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303530909.2367809, "message": "whatever is the process I'm doing, Django shouldn't just crash. Has anyone seen this before?", "group_id": 81, "id": 787130}, {"user_id": 13339, "stars": [], "topic_id": 20940, "date_created": 1303531786.3263831, "message": "I've seen it crash when accidentally creating an infinite redirect loop.", "group_id": 81, "id": 787169}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303532460.7382441, "message": "@PaulM it's running on a PostgreSQL setup.", "group_id": 81, "id": 787196}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303532846.4462709, "message": "@PaulM yes", "group_id": 81, "id": 787210}, {"user_id": 594, "stars": [], "topic_id": 20940, "date_created": 1303532759.9127951, "message": "Is caching off?", "group_id": 81, "id": 787207}, {"user_id": 594, "stars": [], "topic_id": 20940, "date_created": 1303532371.465662, "message": "The localserver is less robust than other methods of serving. It's possible to crash it in various ways. If you've got a reproducible one though, by all means file a bug report. I've seen it crash when there are consistency problems with the sqlite database.", "group_id": 81, "id": 787193}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303532543.5128751, "message": "like: import code; core.interact(local=locals()) then doing >>> request.user; I expect to see the repr of a User object, but it just crashes. No message left.", "group_id": 81, "id": 787199}, {"user_id": 594, "stars": [], "topic_id": 20940, "date_created": 1303532548.7849131, "message": "Is your database schema correct? Do you have a half-loaded fixture? I assume you're talking about manage.py runserver, not fastcgi or wsgi?", "group_id": 81, "id": 787200}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303532662.005688, "message": "No, everything is just normal. Yes, runserver.", "group_id": 81, "id": 787203}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303533921.523241, "message": "what makes me curious is that it only happens after a certain process (nothing really special in it; and it doesn't mess with the request object).", "group_id": 81, "id": 787257}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303532436.091342, "message": "I just found out what's crashing it, but I have no idea why. After a redirect -- like all the others that are made through all the app, by simply getting request.user it crashes.", "group_id": 81, "id": 787195}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303532697.152667, "message": "The problem is right in the request.session object. I tried to inspect it, then it crashed again. I'll try to get deeper.", "group_id": 81, "id": 787205}, {"user_id": 594, "stars": [], "topic_id": 20940, "date_created": 1303533047.6721921, "message": "python itself just dies? Or the server exits without printing a traceback? you're using --verbosity 3?", "group_id": 81, "id": 787218}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303533255.121341, "message": "@PaulM http://wstaw.org/m/2011/04/23/plasma-desktopgk1612.jpg", "group_id": 81, "id": 787226}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303533321.0471799, "message": "just exits.", "group_id": 81, "id": 787230}, {"user_id": 594, "stars": [], "topic_id": 20940, "date_created": 1303534316.246604, "message": "Yeah. That's really weird. I'm at a loss too. Maybe try instrumenting the request.session object using pdb? I've never seen anything quite like that, especially if it works just fine for other stuff.", "group_id": 81, "id": 787308}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303534783.549763, "message": "Just tried. Python exits the same way. The problem also happens with gunicorn.", "group_id": 81, "id": 787394}, {"user_id": 21387, "stars": [], "topic_id": 20940, "date_created": 1303537964.1618271, "message": "After lots of dumb tests, the only thing I can say is that the session object gets corrupted (or anything weirder happens) if the view does any other request (in my case, I'm doing a POST request to an webservice using urllib). Can anyone try to reproduce this?", "group_id": 81, "id": 787675}] |