Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Upgrade 0.12 to 1.0 fails with UndefinedError: "pretty_dateinfo" not defined
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tim Thornton  
View profile  
 More options Nov 5 2012, 2:55 pm
From: Tim Thornton <t...@smartcomsoftware.com>
Date: Mon, 5 Nov 2012 11:55:07 -0800 (PST)
Local: Mon, Nov 5 2012 2:55 pm
Subject: Upgrade 0.12 to 1.0 fails with UndefinedError: "pretty_dateinfo" not defined

Hi,
I've had 0.12 running fine under Windows using tracd.
I've just tried upgrading to 1.0.
When I restart Trac and go to a project, after logging in I get the
following error:

*Trac detected an internal error:*

UndefinedError: "pretty_dateinfo" not defined

The action that triggered the error was:

GET: /

and next to the Trac logo at the bottom it says it is still running V0.12.4.

I've tried the upgrade a number of ways to see if that made a difference,
e.g.:
easy_install trac=1.0
easy_install --upgrade trac
downloading and running the Windows installer

all with the same result.
I've also tried uninstalling the old version before installing the new by
deleteing the .egg files and the trac folder in lib\site-packages - which
makes me confused as to why Trac is still showing that it is running 0.12.

I'm not really a python user/programmer, so I'm probably doing something
stupid, but I don't know what so any help gratefully received!

Thanks
Tim


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Neal  
View profile  
 More options Jan 16, 9:31 am
From: Brian Neal <bgn...@gmail.com>
Date: Wed, 16 Jan 2013 06:31:55 -0800 (PST)
Local: Wed, Jan 16 2013 9:31 am
Subject: Re: Upgrade 0.12 to 1.0 fails with UndefinedError: "pretty_dateinfo" not defined

On Monday, November 5, 2012 1:55:08 PM UTC-6, Tim Thornton wrote:

> Hi,
> I've had 0.12 running fine under Windows using tracd.
> I've just tried upgrading to 1.0.
> When I restart Trac and go to a project, after logging in I get the
> following error:

> *Trac detected an internal error:*

> UndefinedError: "pretty_dateinfo" not defined

I know this is an older thread, but I ran into this today, and seeing there
are no replies I'll post to hopefully help someone out in the future.

I'm guessing the problem is that the older code / data was being cached in
memory by the Apache / mod_wsgi process. The solution for me was to
completely stop Apache and restart it.

Regards,
BN


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »