Nate Clark wrote:
> Hi everyone,
>
> This morning I attempted to upgrade my trac 0.9.6 environment to 0.10.
> I'm getting a 'Segmentation fault' error when I run:
>
> trac-admin /home/my-trac-env upgrade
>
> Here are the steps that I did to get here:
> 1. downloaded and un-tar'd the Trac 0.10 package
> 2. backed up lib/python2.3/trac to lib/python2.3/trac-0.9.6
> 3. backed up share/trac to share/trac-0.9.6
> 4. ran 'python setup.py install', everything looked fine
> 5. ran 'trac-admin /home/my-trac-env upgrade
>
> the only output i see is 'Segmentation fault'
>
> When I visit my trac url, I get a python stack trace and then at the
> bottom:
> "The Trac Environment needs to be upgraded. Run trac-admin
> /home/my-trac-env upgrade"
>   

Quite probably a svn issue.
First, set the log level to DEBUG level [1] and mode to 'stderr'.
Then, run trac-admin from within gdb:

$ gdb python
gdb> run trac-admin /home/my-trac-env upgrade
...
(Segfault)
gdb> bt
(the backtrace)

If you don't find an explanation and workaround for the kind of crash 
you're seeing (search for an existing ticket in Trac), then create a new 
ticket on Trac and attach the log output + the backtrace you'll get.
For good measure, add the list of libraries you're using:

gdb> info shared
(list of .so)

-- Christian

[1] - http://trac.edgewall.org/wiki/TracLogging



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
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/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to