Discussion:
[Agilo for Trac] Installation failure
Jonathan Rosser
2012-02-22 13:19:39 UTC
Permalink
I've tried installing the open source agilo plugin, and am having some
trouble.

Everything works on my desktop Ubuntu, install trac via apt, follow
instructions for agilo plugin and it is all fine.

However, I want to try it on a corporately managed trac install. I
have an existing trac instance that I can access on an NFS share,
and dropping the plugin into that results in the following error when
I try to browse it:

Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/
trac/web/api.py", line 440, in send_error
data, 'text/html')
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/
trac/web/chrome.py", line 832, in render_template
template = self.load_template(filename, method=method)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/
trac/web/chrome.py", line 793, in load_template
self.get_all_templates_dirs(), auto_reload=self.auto_reload,
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/
trac/web/chrome.py", line 506, in get_all_templates_dirs
dirs.extend(provider.get_templates_dirs() or [])
File "build/bdist.linux-i686/egg/agilo_common/web_ui.py", line 45,
in get_templates_dirs
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 869,
in resource_filename
self, resource_name
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1345,
in get_resource_filename
return self._extract_resource(manager, zip_path)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1356,
in _extract_resource
zip_stat = self.zipinfo[zip_path]
KeyError: 'agilo_common/templates'

My reading of this is that there is probably a permissions error,
related to where the plugin has tried to be unpacked. Unfortunately I
don;'t have any access to the server on which trac is running, so I
need to give some pointers to my sysadmin to sort this out. There is
nothing helpful in the trac log. Other trac plugins (such as git) work
just fine, where would things like agilo_common/web_ui.py be unpacked
to?

Thanks,
Jonathan.
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Scrum" Google Group. This group is focused on
supporting Agilo for Scrum users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo
Stefano Rago
2012-02-28 09:51:11 UTC
Permalink
Hi Jonathan,

unfortunately you cannot just copy Agilo in the plugin in the Trac instance folder (if I understand correctly).
If your sysadmin has access to the server, please point him to the installation guide:
http://www.agilofortrac.com/en/documentation/installation-guide/

Cheers

Stefano Rago
Post by Jonathan Rosser
I've tried installing the open source agilo plugin, and am having some
trouble.
Everything works on my desktop Ubuntu, install trac via apt, follow
instructions for agilo plugin and it is all fine.
However, I want to try it on a corporately managed trac install. I
have an existing trac instance that I can access on an NFS share,
and dropping the plugin into that results in the following error when
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/
trac/web/api.py", line 440, in send_error
data, 'text/html')
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/
trac/web/chrome.py", line 832, in render_template
template = self.load_template(filename, method=method)
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/
trac/web/chrome.py", line 793, in load_template
self.get_all_templates_dirs(), auto_reload=self.auto_reload,
File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.2-py2.6.egg/
trac/web/chrome.py", line 506, in get_all_templates_dirs
dirs.extend(provider.get_templates_dirs() or [])
File "build/bdist.linux-i686/egg/agilo_common/web_ui.py", line 45,
in get_templates_dirs
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 869,
in resource_filename
self, resource_name
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1345,
in get_resource_filename
return self._extract_resource(manager, zip_path)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1356,
in _extract_resource
zip_stat = self.zipinfo[zip_path]
KeyError: 'agilo_common/templates'
My reading of this is that there is probably a permissions error,
related to where the plugin has tried to be unpacked. Unfortunately I
don;'t have any access to the server on which trac is running, so I
need to give some pointers to my sysadmin to sort this out. There is
nothing helpful in the trac log. Other trac plugins (such as git) work
just fine, where would things like agilo_common/web_ui.py be unpacked
to?
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Scrum" Google Group. This group is focused on
supporting Agilo for Scrum users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo
Florian Ermisch
2012-11-22 10:12:19 UTC
Permalink
Post by Stefano Rago
Hi Jonathan,
unfortunately you cannot just copy Agilo in the plugin in the Trac
instance folder (if I understand correctly).
http://www.agilofortrac.com/en/documentation/installation-guide/
Cheers
Stefano Rago
There are only minor parts of Agilo which won't work when installing this
way (meaning copying the unzipped Python-egg into Trac's plugin-directory
and enabling via trac.ini) if you add "agilo_common.web_ui.* = disabled" to
the trac.ini's [component] section.
Makes the agilo.-part of our [component] sections look like this:

agilo.admin.* = enabled
agilo_common.* = enabled
agilo_common.web_ui.* = disabled
agilo_pro.* = enabled

Our developers didn't complain about anything not working for them ;)

Regards, FLorian
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo
Florian Ermisch
2012-11-22 10:56:15 UTC
Permalink
Minor correction:

agilo.* = enabled
agilo_common.* = enabled
agilo_common.web_ui.* = disabled
agilo_pro.* = enabled

Regards, Florian
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo
Stefano Rago
2012-11-29 10:18:05 UTC
Permalink
Hi Florian,
Post by Florian Ermisch
Our developers didn't complain about anything not working for them ;)
Thanks for sharing this information. Do you know what version of Agilo you have been installing, that proved successful with this method?

Cheers

Stefano Rago
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo
Loading...