"recent" page shows internal server error
Bug #1157651 reported by
Christophe Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Toolchain Build Automation |
Fix Released
|
High
|
Michael Hope |
Bug Description
As of 2013-03-20, the "recent" cbuild page shows internal server error:
http://
Changed in cbuild: | |
importance: | Undecided → High |
Changed in cbuild: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
My method: toolchain64: 8080/helpers/ recent
* Login as cbuild@toolchain64
* cd lib/tcwg-web
* edit tcwg-web.ini
* set development=True
* python index.py
* wget http://
See this stack trace:
cbuild@ cbuild- master: ~/lib/tcwg- web$ jed tcwg-web.ini cbuild- master: ~/lib/tcwg- web$ python index.py 0.0.0.0: 8080/ public_ html/build/ builds. pickle pymodules/ python2. 7/web/applicati on.py", line 242, in process pymodules/ python2. 7/web/applicati on.py", line 233, in handle pymodules/ python2. 7/web/applicati on.py", line 415, in _delegate pymodules/ python2. 7/web/applicati on.py", line 390, in handle_class cbuild/ lib/tcwg- web.lava/ recent. py", line 112, in GET cbuild/ lib/tcwg- web.lava/ recent. py", line 102, in load cbuild/ lib/tcwg- web.lava/ recent. py", line 67, in load1 load_builds( context) cbuild/ lib/tcwg- web.lava/ common. py", line 100, in load_builds
cbuild@
http://
filename = /home/cbuild/
Traceback (most recent call last):
File "/usr/lib/
return self.handle()
File "/usr/lib/
return self._delegate(fn, self.fvars, args)
File "/usr/lib/
return handle_class(cls)
File "/usr/lib/
return tocall(*args)
File "/home/
builds = load()
File "/home/
ret = load1('build')
File "/home/
top = common.
File "/home/
builds = cPickle.load(f)
EOFError
So builds.pickle is invalid in some way.
You *must* remember to unset the development flag and kill python, else nginx will show a gateway timeout.