Alo! Written an app, works fine on dev server, gives a 500 Internal Server Error with apache + mod_wsgi. It's a form to upload an excel file - the file is uploaded, verified (using xlrd) and then one of the excel sheets is saved as session data. Redirect to a "view" page which retrieves the sheet from session and displays the data.
I can't even figure out which bit is causing the crash - relevant log file is this: -- mod_wsgi (pid=1788): Exception occurred processing WSGI script 'C:/ Users/David/webpages/kb_roster/apache/django.wsgi'., referer: http://rosters.davidmck.com/admin/upload/ -- Traceback (most recent call last):, referer: http://rosters.davidmck.com/admin/upload/ -- File "C:\\django\\django\\core\\handlers\\wsgi.py", line 245, in __call__, referer: http://rosters.davidmck.com/admin/upload/ -- response = middleware_method(request, response), referer: http://rosters.davidmck.com/admin/upload/ -- File "C:\\django\\django\\contrib\\sessions\\middleware.py", line 36, in process_response, referer: http://rosters.davidmck.com/admin/upload/ -- request.session.save(), referer: http://rosters.davidmck.com/admin/upload/ -- File "C:\\django\\django\\contrib\\sessions\\backends\\db.py", line 58, in save, referer: http://rosters.davidmck.com/admin/upload/ -- session_data = self.encode(self._get_session(no_load=must_create)),, referer: http://rosters.davidmck.com/admin/upload/ -- File "C:\\django\\django\\contrib\\sessions\\backends\\base.py", line 88, in encode, referer: http://rosters.davidmck.com/admin/upload/ -- pickled = pickle.dumps(session_dict, pickle.HIGHEST_PROTOCOL), referer: http://rosters.davidmck.com/admin/upload/ -- PicklingError: Can't pickle <type 'mod_wsgi.Log'>: attribute lookup mod_wsgi.Log failed, referer: http://rosters.davidmck.com/admin/upload/ It's frustrating that it works in dev mode, so I'm really struggling to work out where to start looking to track this down. Everything else seems A-OK (including session access (in a different view) ). David -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.