Also you will get a speed boost by doing the following. AFTER you <location> declaration in your apache conf add the following Alias /my/project/path/chrome "/where/on/the/machin/trac_env/htdocs/ chrome" <Location /my/project/path/chrome > SetHandler None </Location> Alias /my/project/path/chrome/agilo "/where/on/the/machin/trac_env/ htdocs/chrome/agilo" <Location /my/project/path/chrome/agilo > SetHandler None </Location> Also make sure your htdocs has the folders chrome and agilo in it . I made symobolic links from the egg paths.
On Apr 27, 6:49 pm, Nathan Collins <[email protected]> wrote: > I had trac 0.11 via apache 2.2.9 setup and working as expected on > ubuntu 8.10 for about 3 months before installing agilo 0.7.3.3 (.egg) > about a month ago. After installing and enabling agilo, it was common > for the agilo.css to fail to load. When the agilo.css failed it would > usually be found if I reloaded the page (CTRL-r). About 2 weeks ago I > started getting a bunch of errors in trac/agilo, but like the css > error, they'd usually go away if I reloaded the page. I turned off > the "avanced" agilo UI in Admin->Agilo General->Enable Agilo Advanced > UI? and the problems seemed to go away, but today they came back. > Here are some examples from the log (The non .css ones resulting in > "Oops… Trac detected an internal error" in the web browser): > > 2009-04-27 18:29:00,045 Trac[main] ERROR: Template "agilo_team.html" > not found > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/trac/web/main.py", line > 423, in _dispatch_request > dispatcher.dispatch(req) > File "/usr/lib/python2.5/site-packages/trac/web/main.py", line > 219, in dispatch > data, content_type) > File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line > 683, in render_template > template = self.load_template(filename, method=method) > File "/usr/lib/python2.5/site-packages/trac/web/chrome.py", line > 667, in load_template > return self.templates.load(filename, cls=cls) > File "/usr/lib/python2.5/site-packages/Genshi-0.5.1-py2.5-linux- > i686.egg/genshi/template/loader.py", line 237, in load > raise TemplateNotFound(filename, search_path) > TemplateNotFound: Template "agilo_team.html" not found > > 2009-04-27 18:28:55,159 Trac[chrome] WARNING: File stylesheet/ > agilo.css not found in any of [] > 2009-04-27 18:28:55,159 Trac[main] WARNING: 404 Not Found (File > stylesheet/agilo.css not found) > > 2009-04-27 18:28:48,294 Trac[main] ERROR: Template > "agilo_ticket_view.html" not found > > 2009-04-27 17:22:54,373 Trac[main] ERROR: Template > "agilo_roadmap.html" not found > > 2009-04-27 17:22:36,729 Trac[main] ERROR: Template "browser.html" > not found > > 2009-04-27 17:22:41,019 Trac[main] ERROR: Template > "dir_entries.html" not found > > and I've also been getting tons of "[CommandParser] [By Key]" warnings > ever since installing agilo, e.g.: > > 2009-04-27 16:39:30,598 Trac[log] WARNING: [CommandParser] [By Key]: > Warning 'fields' > 2009-04-27 16:39:30,599 Trac[log] WARNING: [CommandParser] [By Key]: > Warning 'changes' > 2009-04-27 16:39:30,599 Trac[log] WARNING: [CommandParser] [By Key]: > Warning 'available_types' > 2009-04-27 16:39:30,600 Trac[log] WARNING: [CommandParser] [By Key]: > Warning 'row_groups' > 2009-04-27 16:39:30,600 Trac[log] WARNING: [CommandParser] [By Key]: > Warning 'allowed_links' > 2009-04-27 16:39:30,601 Trac[log] WARNING: [CommandParser] [By Key]: > Warning 'source' > 2009-04-27 16:39:30,601 Trac[log] WARNING: [CommandParser] [By Key]: > Warning 'ticket_types' > 2009-04-27 16:39:30,602 Trac[log] WARNING: [CommandParser] [By Key]: > Warning 'target' > > I can't find much of anything in the apache error logs, just some file > not found errors when the trac source browser fails (for files that do > exist and that usually do display correctly on refresh), e.g.: > > [Mon Apr 27 16:50:14 2009] [error] [client 64.245.185.130] File does > not exist: /htdocs, > referer:https://www.example.com/trac/project/path/to/source/file > > I have no idea what is causing these problems, but I can give a lot of > details about my setup in case someone else will recognize something. > > Here are the notes I took while setting up agilo: > > agilo > ----- > > Following their `install instructions > <http://www.agile42.com/cms/pages/download-install/>`_:: > > tar xf agilo-source-latest.tar.gz > cd agilo-0.7.3.3-r1417-20090313/ > python setup.py install > # which installed these eggs: > Installed /usr/lib/python2.5/site-packages/ > agilo-0.7.3.3_r1417_20090313-py2.5.egg > ... > Installed /usr/lib/python2.5/site-packages/Genshi-0.5.1-py2.5- > linux-i686.egg > /etc/init.d/apache2 restart > > Apache restarted fine, but trac was now broken, giving "Internal > Server Error". I checked /var/log/apache2/error.log and found that > the www-data user wanted to write to /var/www/.python-eggs but > didn't > have permission, so I did :: > > chown www-data: /var/www > /etc/init.d/apache2 restart > > Now agilo is available to all our tracs. To enable it in a > particular > one, e.g. in test, go to Admin->Plugins and enable *all* > (there are many) check boxes under agilo. After saving changes do, > e.g., :: > > sudo trac-admin /var/trac/test upgrade > > Not sure what privileges you need to manage agilo, so I lazily gave > all permissions :: > > sudo trac-admin /var/trac/test permission add jarun TRAC_ADMIN > > although by looking at all available permissions :: > > sudo trac-admin /var/trac/test permission list > > it's clear there are many agilo specific ones, e.g. SCRUM_MASTER and > AGILO_BACKLOG_ADMIN. > > Now setup the agilo hooks:: > > sudo cp scripts/agilo_svn_hook_commit.py /var/svn > cd /var/svn > > Edit global pre-commit (had to create this) and post-commit per > instructions in the agilo hook's doc string, where the possibly > non-obvious value is :: > > PYTHON_EGG_CACHE=/var/www/.python-eggs > > I can't find docs for these hooks online, but there are doc strings > on > ``agilo.utils.svn_hooks.AgiloSVNPreCommit``: > > An Agilo SVN hook to process the SVN comment before the commit. > It checks whether there are valid tickets number into the comment, > and in case there are valid tickets, it checks that if there is a > remaining_time specified than the ticket is of type task and it is > not closed. > > and ``agilo.utils.svn_hooks.AgiloSVNPostCommit``: > > An Agilo SVN hook to process the SVN comment after the commit. > To use it just call it as AgiloSVNPostCommit() from a script > called > post-commit into the <repository>/hooks/ folder of your SVN > server. > Tries to keep compatibility with the trac-post-commit-hook.py > written > by Stephen Hansen, Copyright (c) 2004 and distributed. > > We'll see if the pre-commit is annoying ... > > There are a bunch of `agilo docs in agilo > <https://www.example.com/trac/test/agilo-help/>`_. > > And here is my trac.ini: > > [agilo-backlogs] > product_backlog.columns = businessvalue:editable, roif, > story_priority:editable, rd_points:editable|total_story_points > product_backlog.name = Product Backlog > sprint_backlog.charts = burndown > sprint_backlog.columns = remaining_time:editable| > total_remaining_time, owner:editable, drp_resources:editable > sprint_backlog.name = Sprint Backlog > > [agilo-general] > use_days_for_time = False > > [agilo-links] > allow = requirement-story, story-task, bug-task, bug-story > bug.calculate = total_remaining_time=sum:get_outgoing.remaining_time > bug.task.copy = owner, sprint > bug.task.show = owner, remaining_time > cache.related = false > cache.timeout = 0 > requirement.calculate = > total_story_points=sum:get_outgoing.rd_points| > type=story,mandatory_story_points=sum:get_outgoing.rd_points| > type=story| > story_priority=Mandatory,roif=div:businessvalue;mandatory_story_points > requirement.story.copy = owner > requirement.story.show = rd_points, story_priority > story.calculate = > total_remaining_time=sum:get_outgoing.remaining_time,estimated_remaining_time=mul:rd_points;get_sprint.get_team_metrics.rt_usp_ratio > story.task.copy = owner, sprint > story.task.show = owner, remaining_time > > [agilo-types] > bug = owner, sprint, priority > bug.alias = Bug > requirement = reporter, businessvalue, milestone, keywords > requirement.alias = Requirement > story = owner, sprint, rd_points, story_priority, keywords > story.alias = User Story > task = owner, sprint, remaining_time, drp_resources > task.alias = Task > > [components] > agilo.* = enabled > agilo.admin.backlog.backlogadminpanel = enabled > agilo.admin.custom_fields.customfieldadminpanel = enabled > agilo.admin.custom_fields.customfields = enabled > agilo.admin.general.generaladminpanel = enabled > agilo.admin.links.linksadminpanel = enabled > agilo.admin.sprint.sprintadminpanel = enabled > agilo.admin.team.teamadminpanel = enabled > agilo.admin.types.typesadminpanel = enabled > agilo.charts.burndown_chart.burndownchartgenerator = enabled > agilo.charts.chart_cache_invalidator.chartscacheinvalidator = > enabled > agilo.charts.chart_generator.chartgenerator = enabled > agilo.charts.macros.agilochartmacro = enabled > agilo.charts.metrics_chart.metricschartgenerator = enabled > > agilo.charts.resource_assignment_piechart.resourcesassignmentpiechartgenerator > = enabled > > agilo.charts.sprint_ticket_stats_chart.sprintticketstatschartgenerator > = enabled > agilo.core.persistentobjectmanager = enabled > agilo.csv_import.web_ui.importcsvmodule = enabled > agilo.help.help_links.agilolinks = enabled > agilo.help.web_ui.agilohelpmodule = enabled > agilo.init.agiloinit = enabled > agilo.links.model.linksconfiguration = enabled > agilo.links.search.linkssearchmodule = enabled > agilo.links.web_ui.linksmodule = enabled > agilo.scrum.backlog.backlogupdater = enabled > agilo.scrum.burndown.remainingtimeupdater = enabled > agilo.scrum.web_ui.backlog.backlogmodule = enabled > agilo.scrum.web_ui.contingents.contingentmodule = enabled > agilo.scrum.web_ui.dashboard.scrumdashboard = enabled > agilo.scrum.web_ui.preferences.agilopreferences = enabled > agilo.scrum.web_ui.roadmap.agiloroadmapmodule = enabled > agilo.scrum.web_ui.sprint.sprintmodule = enabled > agilo.scrum.web_ui.team.teammodule = enabled > agilo.ticket.api.agiloticketsystem = enabled > agilo.ticket.query.agiloquerymodule = enabled > agilo.ticket.report.agiloreportmodule = enabled > agilo.ticket.web_ui.agiloticketmodule = enabled > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Agilo for Scrum" group. This group is moderated by agile42 GmbH http://www.agile42.com and is focused in supporting Agilo for Scrum users. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/agilo?hl=en -~----------~----~----~----~------~----~------~--~---

