id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 3665,TypeError in Bitten when GrowlPlugin is enabled,anonymous,Emmanuel Blot,"When the GrowlPlugin is enabled, Bitten throws an error when bitten-slave attempts to get the status of an individual build. (NOTE: I've removed the ""http://""s from the outputs below so that this ticket doesn't get flagged as spam) === bitten-slave -v: === {{{ [DEBUG ] Configured packages: {} [DEBUG ] Sending slave configuration: Power MacintoshDarwin [DEBUG ] Sending POST request to 'G5.local/trac/builds' [INFO ] Build pending at G5.local/trac/builds/13 [DEBUG ] Sending GET request to 'G5.local/trac/builds/13' [WARNING ] Server returned error 500: Internal Error [ERROR ] HTTP Error 500: Internal Error [DEBUG ] Removing temporary directory /var/folders/U8/U8JhLVPZGSKjfz4CMrO56k+++TI/-Tmp-/bittenYhYrdj }}} === Response from G5.local/trac/builds/13: === {{{ Trac detected an internal error: TypeError: build_started() takes exactly 1 argument (2 given) Python Traceback Most recent call last: * File ""/sw/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/main.py"", line 423, in _dispatch_request Code fragment: 418. try: 419. if not env and env_error: 420. raise HTTPInternalError(env_error) 421. try: 422. dispatcher = RequestDispatcher(env) 423. dispatcher.dispatch(req) 424. except RequestDone: 425. pass 426. resp = req._response or [] 427. 428. except HTTPException, e: Local variables: Name Value after [u' except RequestDone:', u' pass', u' resp = ... before [u' try:', u' if not env and env_error:', u' raise ... dispatcher e env env_error None exc_info (, resp [] tb tb_hide None traceback 'Traceback (most recent call last):\n File ... * File ""/sw/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/main.py"", line 197, in dispatch Code fragment: 192. req.args.get('__FORM_TOKEN') != req.form_token: 193. raise HTTPBadRequest('Missing or invalid form token. ' 194. 'Do you have cookies enabled?') 195. 196. # Process the request and render the template 197. resp = chosen_handler.process_request(req) 198. if resp: 199. if len(resp) == 2: # Clearsilver 200. chrome.populate_hdf(req) 201. template, content_type = \ 202. self._post_process_request(req, *resp) Local variables: Name Value chosen_handler chrome err (, req self * File ""/sw/lib/python2.4/site-packages/Bitten-0.6dev_r559-py2.4.egg/bitten/master.py"", line 87, in process_request Code fragment: 82. 83. if not req.args['collection']: 84. if req.method == 'DELETE': 85. return self._process_build_cancellation(req, config, build) 86. else: 87. return self._process_build_initiation(req, config, build) 88. 89. if req.method != 'POST': 90. raise HTTPMethodNotAllowed('Method not allowed') 91. 92. if req.args['collection'] == 'steps': Local variables: Name Value build config req self * File ""/sw/lib/python2.4/site-packages/Bitten-0.6dev_r559-py2.4.egg/bitten/master.py"", line 170, in _process_build_initiation Code fragment: 165. build.id) 166. build.started = int(time.time()) 167. build.update() 168. 169. for listener in BuildSystem(self.env).listeners: 170. listener.build_started(build) 171. 172. xml = xmlio.parse(config.recipe) 173. xml.attr['path'] = config.path 174. xml.attr['revision'] = build.rev 175. xml.attr['config'] = config.name Local variables: Name Value build config listener req self File ""/sw/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/main.py"", line 423, in _dispatch_request dispatcher.dispatch(req) File ""/sw/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/main.py"", line 197, in dispatch resp = chosen_handler.process_request(req) File ""/sw/lib/python2.4/site-packages/Bitten-0.6dev_r559-py2.4.egg/bitten/master.py"", line 87, in process_request return self._process_build_initiation(req, config, build) File ""/sw/lib/python2.4/site-packages/Bitten-0.6dev_r559-py2.4.egg/bitten/master.py"", line 170, in _process_build_initiation listener.build_started(build) }}} === System Info === {{{ User Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9) Gecko/2008061004 Firefox/3.0 Trac: 0.11.1 Python: 2.4.3 (#1, Mar 29 2007, 19:10:24) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] setuptools: 0.6c5 SQLite: 2.8.17 pysqlite: 1.0.0 Genshi: 0.5.1 Subversion: 1.4.3 (r23084) jQuery: 1.2.6 }}} ",defect,new,normal,GrowlPlugin,critical,,,,0.11