Discussion:
[Agilo for Trac] Problem with sprint start date and UTF8
Tiago Herrmann
2015-04-24 20:26:15 UTC
Permalink
This problem occurs in some sprints when I open the backlog. If I change
the start and final date of sprint for one that works, the error does not
occur.
This error occur in some dates, why? What can i do to solve it?

File "build/bdist.win32/egg/trac/web/main.py", line 513, in _dispatch_request
dispatcher.dispatch(req)
File "build/bdist.win32/egg/trac/web/main.py", line 222, in dispatch
resp = chosen_handler.process_request(req)
File "C:/Python27/lib/site-packages/agilo-0.9.14-py2.7.egg/agilo/api/view.py", line 155, in process_request
return self._call_filters_and_handler(req, handler)
File "C:/Python27/lib/site-packages/agilo-0.9.14-py2.7.egg/agilo/api/view.py", line 143, in _call_filters_and_handler
data = handler(req) or {}
File "C:/Python27/lib/site-packages/agilo-0.9.14-py2.7.egg/agilo/scrum/backlog/web_ui.py", line 333, in do_get
sprint_start_date=backlog.sprint().start.strftime("%a %B %d").decode('utf8'),
File "C:/Python27/Lib/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)

System Information:Trac1.0.5Agilo0.9.14Genshi0.7 (without speedups)mod_wsgi3.5
(WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})MySQLserver:
"5.1.39-community-log", client: "6.0.0", thread-safe: 1MySQLdb1.2.5Python2.7.6
(default, Nov 10 2013, 19:24:18) [MSC v.1500 32 bit (Intel)]setuptools15.1Enabled
Plugins:agilo <http://trac-hacks.org/wiki/AgiloForTracPlugin>0.9.14
c:\python27\lib\site-packages\agilo-0.9.14-py2.7.eggmultipleworkflowplugin
1.0c:\python27\lib\site-packages\multipleworkflowplugin-1.0-py2.7.egg
tracaccountmanager <http://trac-hacks.org/wiki/AccountManagerPlugin>0.4.4
c:\svntrac\plugins\tracaccountmanager-0.4.4-py2.7.egg
--
--
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 ***@googlegroups.com
To unsubscribe from this group, send an email to
agilo+***@googlegroups.com
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tiago Herrmann
2015-04-29 13:58:39 UTC
Permalink
This is the dates.

<Loading Image...>

<https://lh3.googleusercontent.com/-ExFS50HwJk0/VUDjb40URRI/AAAAAAAABI0/0Uev339SK2Q/s1600/2015-04-29%2B10_56_29-Administration_%2BAgilo%2BSprints%2B%E2%80%93%2BTRAC%2B-%2BSabemi.png>
--
--
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 ***@googlegroups.com
To unsubscribe from this group, send an email to
agilo+***@googlegroups.com
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tiago Herrmann
2015-05-04 13:37:52 UTC
Permalink
Hi Stefano

I disabled all the others plugins. The error continue appearing.
I forgot to mention. This error occurrs after a migrate trac + agilo to a
new version. In the previous version this error don't occurred.
Hi Tiago,
thanks for providing this information. I could not manage to reproduce
your issue on a newly created environment.
It’s possible that this is a local installation issue caused by bad
interaction with other trac plugins. Can you try to disable all other third
party plugins and check again?
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 ***@googlegroups.com
To unsubscribe from this group, send an email to
agilo+***@googlegroups.com
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tiago Herrmann
2015-05-06 14:09:20 UTC
Permalink
This is the print of error.

Windows Server 2012 + Apache + MySQL
[image: Imagem inline 1]


This is abou page without configurartion section.
System InformationPackageVersionTrac1.0.5Agilo0.9.14Genshi0.7 (without
speedups)mod_wsgi3.5 (WSGIProcessGroup WSGIApplicationGroup
%{GLOBAL})MySQLserver:
"5.1.39-community-log", client: "6.0.0", thread-safe: 1MySQLdb1.2.5Python2.7.7
(default, Jun 1 2014, 14:17:13) [MSC v.1500 32 bit (Intel)]setuptools3.5.1
Subversion1.8.1 (r1503906)jQuery1.7.2jQuery UI1.8.21jQuery Timepicker1.0.1
Installed PluginsNameVersionLocationagilo
<http://trac-hacks.org/wiki/AgiloForTracPlugin>0.9.14
c:\python27\lib\site-packages\agilo-0.9.14-py2.7.eggmultipleworkflowplugin
1.0c:\python27\lib\site-packages\multipleworkflowplugin-1.0-py2.7.egg
trac-workflownotificationplugin
<http://trac-hacks.org/wiki/WorkflowNotificationPlugin>0.5
c:\python27\lib\site-packages\trac_workflownotificationplugin-0.5-py2.7.egg
tracaccountmanager <http://trac-hacks.org/wiki/AccountManagerPlugin>0.4.4
c:\python27\lib\site-packages\tracaccountmanager-0.4.4-py2.7.egg
Interface CustomizationSite templatesShared templatesagilo_admin_general.html
agilo_import.html agilo_macros.html theme.htmlSite static resourcesShared
static resources
--
--
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 ***@googlegroups.com
To unsubscribe from this group, send an email to
agilo+***@googlegroups.com
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tiago Herrmann
2015-05-06 17:05:28 UTC
Permalink
# name, start, sprint_end'Sprint 14 - 2015', '1427684400', '1428634800'
'Sprint 15 - 2015', '1428289200', '1429239600'


Sprint 15 when i open the sprint backlog work fine
Sprint 14 when i open the sprint backlog that error occurs


If i use the start and sprint_end of sprint 15 in sprint 14. The sprint 14
works.
--
--
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 ***@googlegroups.com
To unsubscribe from this group, send an email to
agilo+***@googlegroups.com
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tiago Herrmann
2015-05-07 12:20:49 UTC
Permalink
Hi Stefano

Sorry for my fault. The system locale is *Portuguese (Brazil)*
You are right. The error occur because March = Março in portuguese.
I try install babel but all trac stop when i install it.
Hi Tiago,
most likely, this is caused by a special character in the rendering of
Sprint 14’s start date (30 Mar 2015).
For this reason, I asked you in my previous email what is your system’s
locale, because I cannot tell from the data you provided so far.
Different locales imply a different rendering of the month’s readable
format, e.g. in German this would be ‘MÀr’, which does contain a special
character.
Please provide also the content of the trac.ini file and check if your
“C:/Python27/lib/site-packages/“ folder contains the Babel package.
cheers,
Stefano Rago
# name, start, sprint_end'Sprint 14 - 2015', '1427684400', '1428634800'
'Sprint 15 - 2015', '1428289200', '1429239600'
Sprint 15 when i open the sprint backlog work fine
Sprint 14 when i open the sprint backlog that error occurs
If i use the start and sprint_end of sprint 15 in sprint 14. The sprint 14
works.
--
--
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.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
Stefano Rago
Software Engineer
Agilo Software GmbH
Gruenberger Str. 54
10245 Berlin, Germany
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 ***@googlegroups.com
To unsubscribe from this group, send an email to
agilo+***@googlegroups.com
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tiago Herrmann
2015-05-11 12:52:01 UTC
Permalink
Hi Stefano

I could not locate where i can configure these options. I tried some
configurations written in this link, but i did not get the result expected.
I tried change Apache Language, tried change in wsgi and no option worked.

Thank's

Tiago
Hi Tiago,
Sorry for my fault. The system locale is *Portuguese (Brazil)*
You are right. The error occur because March = Março in portuguese.
I try install babel but all trac stop when i install it.
You don’t have to install babel necessarily.
In fact I don’t get any error without babel, using Portuguese locale.
pt_PT.UTF-8
I am not sure that yours is exactly the same, perhaps Portuguese with some
encoding other that UTF-8?
If you can find out exactly what locale your system is using we can try
and see if we have the same issue, otherwise it will be complicated to help
further.
Since your using Apache, you might find on this link a way to change the
http://trac.edgewall.org/wiki/0.12/TracFaq#how-do-i-change-the-format-used-for-displaying-date-and-time
Hope this helps,
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 ***@googlegroups.com
To unsubscribe from this group, send an email to
agilo+***@googlegroups.com
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Tiago Herrmann
2015-05-29 11:33:56 UTC
Permalink
Hi Stefano

Thanks for help.

Att
Tiago Herrmann
Hi Tiago,
https://agilo.agilofortrac.com/ticket/1398
In the meantime, you can work around the issue by configuring English
environ['trac.locale'] = 'English_United Kingdom’
Thanks a lot for the information you provided
cheers,
Stefano Rago
Hi Tiago,
can you please provide the apache configuration files for your Agilo
environment?
Please make sure to include all possible files and information that can
help us debug the issue.
thanks,
Stefano Rago
Hi Stefano
I could not locate where i can configure these options. I tried some
configurations written in this link, but i did not get the result expected.
I tried change Apache Language, tried change in wsgi and no option worked.
Thank's
Tiago
Hi Tiago,
Sorry for my fault. The system locale is *Portuguese (Brazil)*
You are right. The error occur because March = Março in portuguese.
I try install babel but all trac stop when i install it.
You don’t have to install babel necessarily.
In fact I don’t get any error without babel, using Portuguese locale.
pt_PT.UTF-8
I am not sure that yours is exactly the same, perhaps Portuguese with
some encoding other that UTF-8?
If you can find out exactly what locale your system is using we can try
and see if we have the same issue, otherwise it will be complicated to help
further.
Since your using Apache, you might find on this link a way to change the
http://trac.edgewall.org/wiki/0.12/TracFaq#how-do-i-change-the-format-used-for-displaying-date-and-time
Hope this helps,
Stefano Rago
--
--
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.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
Stefano Rago
Software Engineer
Agilo Software GmbH
Gruenberger Str. 54
10245 Berlin, Germany
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
Stefano Rago
Software Engineer
Agilo Software GmbH
Gruenberger Str. 54
10245 Berlin, Germany
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
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 a topic in the
Google Groups "Agilo for Trac" group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/agilo/itkBUk0z_Zo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
For more options, visit https://groups.google.com/d/optout.
--
--
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 ***@googlegroups.com
To unsubscribe from this group, send an email to
agilo+***@googlegroups.com
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+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...