﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
9603	Maintainership of the Growl Plugin	defect	0.11	Emmanuel Blot	new	2011-12-11T11:15:24+01:00	2011-12-12T23:24:20+01:00	"Hello everybody,

I would like to know if this plugin is still being maintained by someone at least. I hacked on it and migrated it to the new GNTP protocol which allows to make it work with the newer versions of Growl and Growl for Windows.

I, at least, would like to commit the code but I also don't mind getting the maintainership of this plugin. "	Aurélien Bauchet
6753	Add changeset notification	enhancement	0.11	Emmanuel Blot	new	2010-03-02T08:35:34+01:00	2010-03-02T08:35:34+01:00	I'd like to be notified when someone commit changes to SVN 	anonymous
6235	TypeError: int argument required	defect	0.11	Emmanuel Blot	new	2009-11-19T18:42:41+01:00	2009-11-19T19:41:50+01:00	"When modifying tickets with GridModifyPlugin or the TicketImportPlugin, Trac dies when notifying the Growl plugin of the ticket change.

The error is:
{{{
Traceback (most recent call last):
  File ""build/bdist.linux-x86_64/egg/gridmod/web_ui.py"", line 100, in process_request
  File ""/usr/local/lib64/python2.4/site-packages/Trac-0.11.5-py2.4.egg/trac/ticket/model.py"", line 296, in save_changes
    listener.ticket_changed(self, comment, author, old_values)
  File ""build/bdist.linux-x86_64/egg/growl/notifier.py"", line 132, in ticket_changed
TypeError: int argument required
}}}"	jfisher@…
5516	Plugin fails to load in 0.11.4	defect	0.11	Emmanuel Blot	new	2009-07-16T11:40:29+02:00	2009-07-16T11:40:29+02:00	"When I create the egg from the sources as instructed and drop it into my global plugin directory, I receive the following errors in the debug log when I view the available plugins in trac's plugin admin page:

{{{
Trac[loader] ERROR: Skipping ""growl.notifier = growl.notifier"": (can't import ""ImportError: No module named growl.notifier"")
Trac[loader] ERROR: Skipping ""growl.web_ui = growl.web_ui"": (can't import ""ImportError: No module named growl.web_ui"")
}}}"	anonymous
3801	[Patch] Add project name to growl titles	enhancement	0.11	Emmanuel Blot	new	2008-09-25T14:19:07+02:00	2011-08-25T03:11:47+02:00	"I am working on several trac projects and started using the growl plugin. Very nice.

The one feature I immediately hacked was adding the projects name to the notification. I just introduced a private _title(...) method which prepends the project name from the environment. I attached a diff."	Stefan Eissing
3665	TypeError in Bitten when GrowlPlugin is enabled	defect	0.11	Emmanuel Blot	new	2008-09-04T19:17:51+02:00	2014-06-24T18:10:31+02:00	"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: <slave name=""g5""><platform processor=""powerpc"">Power Macintosh</platform><os version=""9.4.0"" family=""posix"">Darwin</os></slave>
[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 	<trac.web.main.RequestDispatcher object at 0x1683b10>
      e 	<exceptions.TypeError instance at 0x2534f30>
      env 	<trac.env.Environment object at 0x13eb3d0>
      env_error 	None
      exc_info 	(<class exceptions.TypeError at 0x3425a0>, <exceptions.TypeError instance ...
      filename 	'/sw/lib/python2.4/site-packages/Trac-0.11.1-py2.4.egg/trac/web/main.py'
      frames 	[{'function': '_dispatch_request', 'lines_before': [u' try:', u' ...
      has_admin 	True
      line 	u' dispatcher.dispatch(req)'
      lineno 	422
      message 	u'TypeError: build_started() takes exactly 1 argument (2 given)'
      req 	<Request ""GET u'/builds/13'"">
      resp 	[]
      tb 	<traceback object at 0x2534dc8>
      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 	<bitten.master.BuildMaster object at 0x1683f30>
      chrome 	<trac.web.chrome.Chrome object at 0x1511cf0>
      err 	(<class exceptions.TypeError at 0x3425a0>, <exceptions.TypeError instance ...
      handler 	<bitten.master.BuildMaster object at 0x1683f30>
      req 	<Request ""GET u'/builds/13'"">
      self 	<trac.web.main.RequestDispatcher object at 0x1683b10>
    * 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 	<Build 13>
      config 	<BuildConfig u'SG'>
      req 	<Request ""GET u'/builds/13'"">
      self 	<bitten.master.BuildMaster object at 0x1683f30>
    * 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 	<Build 13>
      config 	<BuildConfig u'SG'>
      listener 	<growl.notifier.GrowlNotifierSystem object at 0x2535d30>
      req 	<Request ""GET u'/builds/13'"">
      self 	<bitten.master.BuildMaster object at 0x1683f30>

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
}}}
"	anonymous
3357	Clicking on notification should take you to the source of it	enhancement	0.11	Emmanuel Blot	new	2008-07-09T23:09:31+02:00	2008-07-09T23:09:31+02:00	" 1. Modifiy a ticket
 2. Get a growl notification for 1.
 3. Click on the notification

Observed: nothing happens[[BR]]
Expected: New browser window loads the ticket in question."	Gustavo Gallegos
3325	Enabling plug-in fails when installing	defect	0.11	Emmanuel Blot	reopened	2008-07-03T21:36:55+02:00	2009-03-12T18:23:52+01:00	"Would love to use this plug-in, but I get the following error when enabling it. 

Btw. same behaviour for global (per easy-install) or local install into the plugin folder 
{{{
Traceback (most recent call last):
  File ""/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/api.py"", line 339, in send_error
    'text/html')
  File ""/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/chrome.py"", line 672, in render_template
    template = self.load_template(filename, method=method)
  File ""/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/chrome.py"", line 648, in load_template
    self.templates = TemplateLoader(self.get_all_templates_dirs(),
  File ""/usr/lib/python2.4/site-packages/Trac-0.11b2-py2.4.egg/trac/web/chrome.py"", line 402, in get_all_templates_dirs
    dirs += provider.get_templates_dirs()
  File ""build/bdist.linux-i686/egg/growl/web_ui.py"", line 41, in get_templates_dirs
  File ""/usr/lib/python2.4/site-packages/pkg_resources.py"", line 840, in resource_filename
    return get_provider(package_or_requirement).get_resource_filename(
  File ""/usr/lib/python2.4/site-packages/pkg_resources.py"", line 1311, in get_resource_filename
    return self._extract_resource(manager, zip_path)
  File ""/usr/lib/python2.4/site-packages/pkg_resources.py"", line 1322, in _extract_resource
    zip_stat = self.zipinfo[zip_path]
KeyError: 'growl/templates'
}}}

Running this on a linux (Gentoo) server: 
||Trac:	|| 0.11b2 ||
||Python:	||2.4.4 (Nov 14 2007, 10:08:34) [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2) ||
||setuptools: ||	0.6c7 ||
||SQLite: ||	3.5.3 ||
||pysqlite:||	2.3.5 ||
||Genshi:	|| 0.5 ||
||mod_python: ||	3.3.1 ||
||Pygments:	|| 0,9 ||
||Subversion:	|| 1.4.5  ||
||jQuery:	 || 1.2.3||

"	Carsten Fechtmann
