Hi Stefano, well, I reset the environment now with trac-0.12.2 and the
same simplesjon (python-simplejson-2.0.9-8.el5) getting back the prior
version of the database. So I had to do a trac upgrade. It failed with
a unicodeencodeerror (?). Don't know what to say/write.

$ sudo -u apache trac-admin help
trac-admin - The Trac Administration Console 0.12

Usage: trac-admin </path/to/projenv> [command [subcommand] [option ...]]

Invoking trac-admin without command starts interactive mode.

help     Show documentation
initenv  Create and initialize a new environment

$ sudo -u apache trac-admin . upgrade
UnicodeEncodeError: 'ascii' codec can't encode characters in position
12-13: ordinal not in range(128)

$ echo $?
2

$ echo $LANG
pt_BR.utf8

Accessing trac url of this project gives me the same error:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 377,
in send_error
    'text/html')
  File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line
725, in render_template
    req.chrome[type_].append(
  File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 195,
in __getattr__
    value = self.callbacks[name](self)
  File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line
488, in prepare_request
    for contributor in self.navigation_contributors:
  File "/usr/lib/python2.4/site-packages/trac/core.py", line 70, in extensions
    return filter(None, [component.compmgr[cls] for cls in extensions])
  File "/usr/lib/python2.4/site-packages/trac/core.py", line 207, in __getitem__
    component = cls(self)
  File "/usr/lib/python2.4/site-packages/trac/core.py", line 111, in maybe_init
    init(self)
  File 
"/usr/lib/python2.4/site-packages/agilo-0.9.8-py2.4.egg/agilo/ticket/web_ui.py",
line 63, in __init__
    if AgiloConfig(self.env).is_agilo_enabled:
  File "/usr/lib/python2.4/site-packages/trac/core.py", line 111, in maybe_init
    init(self)
  File 
"/usr/lib/python2.4/site-packages/agilo-0.9.8-py2.4.egg/agilo/utils/config.py",
line 439, in __init__
    self.reload(init=True)
  File 
"/usr/lib/python2.4/site-packages/agilo-0.9.8-py2.4.egg/agilo/utils/config.py",
line 662, in reload
    fields = 
AgiloTicketSystem(self.env).get_ticket_fields(new_aliases=self.ticket_configuration.aliases_per_trac_type_name)
  File 
"/usr/lib/python2.4/site-packages/agilo-0.9.8-py2.4.egg/agilo/ticket/api.py",
line 344, in get_ticket_fields
    return self._get_ticket_fields_with_deep_copy(t_type)
  File 
"/usr/lib/python2.4/site-packages/agilo-0.9.8-py2.4.egg/agilo/ticket/api.py",
line 369, in _get_ticket_fields_with_deep_copy
    self._fields[ticket_type] = \
  File "/usr/lib/python2.4/site-packages/trac/ticket/api.py", line
246, in _get_ticket_fields
    options = [val.name for val in cls.select(self.env, db=db)]
  File "/usr/lib/python2.4/site-packages/trac/ticket/model.py", line
862, in select
    version.time = time and datetime.fromtimestamp(int(time), utc) or None
ValueError: year is out of range


On 1 October 2012 04:45, Stefano Rago <[email protected]> wrote:
> Hi Bernardo,
>
> On Sep 28, 2012, at 2:48 PM, Bernardo Costa <[email protected]>
> wrote:
>
> Hi Stefano, at first my simplesjon version is
> python-simplejson-2.0.9-8.el5 but my trac version is
> trac-0.11.5-1.el5.rf. Anyway, I tried the upgrade to
> trac-0.12-2.el5.rf and when I did this, all my trac projects started
> asking for an upgrade. In the project, I have agilo configured I tried
> to do the upgrade but it fails with this error message:
>
> # trac-admin . upgrade
> ProgrammingError: relation "agilo_link" already exists
>
>
>
> This is probably because the previous upgrade failed and now that project's
> database is in an inconsistent state.
> Do you have a backup of that database prior to the agilo installation?
> If so, please restore it and try repeating the upgrade.
>
> 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 [email protected]
> To unsubscribe from this group, send an email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/agilo

-- 
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 [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo

Reply via email to