Changes between Version 4 and Version 5 of TracFaq
- Timestamp:
- Aug 7, 2012, 9:20:43 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracFaq
v4 v5 4 4 5 5 ---- 6 **Note:** At the occasion of the upcoming 1.0 release, we're restarting the FAQ from scratch. If you don't find the answer you're looking for here, also have a look in the old [wiki:"0.12/TracFaq"](for Trac 0.12 and older versions).6 **Note:** At the occasion of the upcoming 1.0 release, we're restarting the FAQ from scratch. If you don't find the answer you're looking for here, **also have a look in the old [wiki:"0.12/TracFaq"]** (for Trac 0.12 and older versions). 7 7 8 8 ---- … … 40 40 41 41 You can remove the offending setuptools .egg ... and if it keeps re-appearing, you have it installed not only in the virtualenv but also in the parent Python installation (the one in which you installed virtualenv itself). If this is the case, remove it from there as well, installing distribute should now work. 42 43 ==== Q: Why does Apache crashes (500) with a `ZipImportError` in the error log? 44 45 {{{ 46 [Tue Aug 07 09:08:26 2012] [error] [client 172.25.16.59] mod_wsgi (pid=16444): Exception occurred processing WSGI script '/packages/trac/virtualenv-0.13/bin/trac.wsgi'., referer: http://dserver/trac/bct/timeline 47 ... 48 [Tue Aug 07 09:08:26 2012] [error] [client 172.25.16.59] File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 1197, in _get, referer: xxx/trac/bct/timeline 49 [Tue Aug 07 09:08:26 2012] [error] [client 172.25.16.59] ZipImportError: bad local file header in /packages/trac/virtualenv-0.13/lib/python2.7/site-packages/Genshi-0.6-py2.7.egg, referer: xxx/trac/bct/timeline 50 }}} 51 52 **A:** You most certainly forgot to stop and restart your server during an upgrade. The zip importer mechanism keeps an internal cache which has trouble detecting replaced files, so a restart is needed (see TracUpgrade#ZipImportError). Do it now. 53