Discussion:
[Agilo for Trac] Install error: KeyError: 'agilo_common/templates'
Mike Nolen
2014-02-11 16:03:38 UTC
Permalink
Hi.

I am running linux on a windows VM with the following info:
CentOS 5.9 (final)
Python 2.6.8

I was running Trac version .11 and have now upgraded to 1.0.1
(Trac-1.0.1-py2.6.egg). During that same process, I install Agilo for Trac
(binary_agilo-1.3.12_PRO-py2.6.egg)

I am able to start the tracd service but when i hit the Trac website, I get
the following error:

Traceback (most recent call last):

File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/api.py", line 514, in send_error

data, 'text/html')

File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/chrome.py", line 975, in render_template

template = self.load_template(filename, method=method)

File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/chrome.py", line 933, in load_template

self.get_all_templates_dirs(), auto_reload=self.auto_reload,

File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/chrome.py", line 649, 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/site-packages/pkg_resources.py", line 863, in resource_filename

self, resource_name

File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1339, in get_resource_filename

return self._extract_resource(manager, zip_path)

File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1350, in _extract_resource

zip_stat = self.zipinfo[zip_path]

KeyError: 'agilo_common/templates'


I have followed the agilo trac ugrade instructions to no avail.

http://www.agilofortrac.com/documentation/installation-guide/


Any help is appreciated...If you need more info, let me know and I'll send
it.

Thanks
Mike
--
--
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

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-17 08:52:03 UTC
Permalink
Hi Mike,

how exactly did you install Agilo?

In certain setups, there could be problems when an egg is installed without unzipping it. If that is the case, you could try re-installing Agilo using the '--always-unzip' option for easy_install.
Make sure you delete the existing Agilo egg first and remove it from the easy-install.pth of your python library folder.

Hope this helps.

Cheers,
Stefano Rago
Post by Mike Nolen
Hi.
CentOS 5.9 (final)
Python 2.6.8
I was running Trac version .11 and have now upgraded to 1.0.1 (Trac-1.0.1-py2.6.egg). During that same process, I install Agilo for Trac (binary_agilo-1.3.12_PRO-py2.6.egg)
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/api.py", line 514, in send_error
data, 'text/html')
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/chrome.py", line 975, in render_template
template = self.load_template(filename, method=method)
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/chrome.py", line 933, in load_template
self.get_all_templates_dirs(), auto_reload=self.auto_reload,
File "/usr/lib/python2.6/site-packages/Trac-1.0.1-py2.6.egg/trac/web/chrome.py", line 649, 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/site-packages/pkg_resources.py", line 863, in resource_filename
self, resource_name
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1339, in get_resource_filename
return self._extract_resource(manager, zip_path)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1350, in _extract_resource
zip_stat = self.zipinfo[zip_path]
KeyError: 'agilo_common/templates'
I have followed the agilo trac ugrade instructions to no avail.
http://www.agilofortrac.com/documentation/installation-guide/
Any help is appreciated...If you need more info, let me know and I'll send it.
Thanks
Mike
--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
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 unsubscribe from this group, send an email to
For more options, visit this group at
http://groups.google.com/group/agilo
---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
Software Engineer
Agilo Software GmbH
Gruenberger Str. 54
10245 Berlin, Germany

stefano.rago-CKHYNj9aYvRx67MzidHQgQC/***@public.gmane.org
http://www.agilosoftware.com

Follow us on twitter: http://twitter.com/agiloforscrum, http://twitter.com/agilofortrac

Amtsgericht Charlottenburg: HRB 127146
CEO Marion Eickmann, Andrea Tomasini
--
--
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

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...