logo       

HTMLLogFile.upgrade missing ?: msg#00050

python.buildbot.devel

Subject: HTMLLogFile.upgrade missing ?

Hi,

after upgrading to 0.6.5, a number of issues popped up.

The most important one of these seems to be:

2005/05/23 13:15 CEST [HTTPChannel,0,195.10.6.237] Traceback (most
recent call last):
File "/usr/lib/python2.3/site-
packages/twisted/protocols/basic.py", line 223, in dataReceived
why = self.lineReceived(line)
File "/usr/lib/python2.3/site-
packages/twisted/protocols/http.py", line 965, in lineReceived
self.allContentReceived()
File "/usr/lib/python2.3/site-
packages/twisted/protocols/http.py", line 1006, in allContentReceived
req.requestReceived(command, path, version)
File "/usr/lib/python2.3/site-
packages/twisted/protocols/http.py", line 557, in requestReceived
self.process()
--- <exception caught here> ---
File "/usr/lib/python2.3/site-packages/twisted/web/server.py",
line 165, in process
self.render(resrc)
File "/usr/lib/python2.3/site-packages/twisted/web/server.py",
line 172, in render
body = resrc.render(self)
File
"/home/buildbot/flumotion/buildbot/buildbot/status/html.py", line 150,
in render
data = self.content(request)
File
"/home/buildbot/flumotion/buildbot/buildbot/status/html.py", line 172,
in content
data += self.body(request)
File
"/home/buildbot/flumotion/buildbot/buildbot/status/html.py", line 910,
in body
(changeNames, builderNames, timestamps, eventGrid,
sourceEvents) = \ File
"/home/buildbot/flumotion/buildbot/buildbot/status/html.py", line 1055,
in buildGrid
e = gen.next()
File
"/home/buildbot/flumotion/buildbot/buildbot/status/html.py", line 839,
in insertGaps
e = g.next()
File
"/home/buildbot/flumotion/buildbot/buildbot/status/builder.py", line
1309, in eventGenerator
b = self.getBuild(-Nb)
File
"/home/buildbot/flumotion/buildbot/buildbot/status/builder.py", line
1287, in getBuild
return self.getBuildByNumber(number)
File
"/home/buildbot/flumotion/buildbot/buildbot/status/builder.py", line
1236, in getBuildByNumber
build.upgradeLogfiles()
File
"/home/buildbot/flumotion/buildbot/buildbot/status/builder.py", line
1095, in upgradeLogfiles
l.upgrade(logfilename)
exceptions.AttributeError: HTMLLogFile instance has no attribute
'upgrade'


Another issue I found is that due to the change from .tap to .tac, the
master.cfg does not get executed in the context of the basedir anymore.
This means that doing "import foo" in master.cfg, with foo.py living in
basedir, used to work, and doesn't anymore. Since it's recommendable
to, for example, put your bot names and passwords in a separate file,
this is annoying. In my bugs arch branch I've commited a workaround for
this.

I haven't been able to get my buildbot up and running again yet...

Thomas

Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
We'll walk right up to the sun
hand in hand
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/





-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise