Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #365 (closed defect: wontfix)

Opened 14 years ago

Last modified 12 years ago

Quickstart failing.

Reported by: Michael McLay <mclay@…> Owned by: anonymous
Priority: normal Milestone:
Component: TurboGears Version:
Severity: major Keywords: quickstart


The current trunk (r466) is installing a quickstart that creates a broken master.kid template. Visiting the  http://localhost:8080/ URL caues a 500 Internal error "Server got itself in trouble" message. It appears to be dying of infinite recursion when calling apply_matches in master.kid. The following line is repeated several dozen times before Python gives up.

kid-0.8-py2.4.egg/kid/filter.py", line 39, in apply_matches(match, call)):

The recursion death goes away if the welcome.kid file is edited to remove py:extends="'master.kid'" from the following tag.

<html xmlns=" http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#"


Here is the tail of the traceback:

File "/usr/lib/python2.4/site-packages/kid-0.8-py2.4.egg/kid/pull.py", line 203, in _coalesce

for ev, item in stream:

File "/home/mclay/tgtest/turbogears/tgtest/tgtest/templates/master.py", line 53, in _match_func File "/usr/lib/python2.4/site-packages/kid-0.8-py2.4.egg/kid/template_util.py", line 79, in flatten

for ev, item in generate_content(i):

File "/usr/lib/python2.4/site-packages/kid-0.8-py2.4.egg/kid/template_util.py", line 75, in generate_content

return ElementStream?(content)

File "/usr/lib/python2.4/site-packages/kid-0.8-py2.4.egg/kid/pull.py", line 80, in init

stream = self._pull(stream, tail=1)

RuntimeError?: maximum recursion depth exceeded in cmp infinite recursion

Change History

comment:1 Changed 14 years ago by michele

What version of kid are you running? You checked it out and then installed its egg right?

Try to move into the kid thirdpaty directory and issue an svn update, then python setup.py install.

Then try again your project.

comment:2 Changed 14 years ago by Michael McLay <mclay@…>

  • Status changed from new to closed
  • Resolution set to wontfix

It probably was a problem with the collection of eggs and svn software that was installed. I wasn't able to sort it out so instead I have cleaned out site-packages and dropped back to the 0.8.7 release. It's working. I'll stay away from the bleeding edge until I have a bit more experience.

Note: See TracTickets for help on using tickets.