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 #482 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

Infinite recursion in Widget._set_name() from CalendarDatePicker

Reported by: nyenyec Owned by: anonymous
Priority: normal Milestone: 0.9
Component: TG Widgets Version:
Severity: normal Keywords:
Cc:

Description

I was trying to debug the TurboTunes? tutorial (SVN r589) using a debugger (Komodo 3.0)

When stepping through the code it seems that I hit an infinite recursion in Widgets._set_name() when called from this line:

class CalendarDatePicker(Widget):
    css=[CSSLink(static, "calendar-system.css")]

The stack trace is here.

Traceback (most recent call last):
  File "C:\local\python\turbotunes\start-turbotunes.py", line 6, in __main__
    import turbogears
  File "c:\local\turbogears\svn\turbogears\turbogears\__init__.py", line 14, in turbogears
    from turbogears import controllers
  File "c:\local\turbogears\svn\turbogears\turbogears\controllers.py", line 16, in None
    from turbogears.widgets import js_location
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\__init__.py", line 1, in None
    from base import *
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 530, in None
    class CalendarDatePicker(Widget):
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 531, in CalendarDatePicker
    css=[CSSLink(static, "calendar-system.css")]
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 232, in __init__
    self.name = name
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value
  File "c:\local\turbogears\svn\turbogears\turbogears\widgets\base.py", line 88, in _set_name
    self.label.name = value

Change History

comment:1 Changed 13 years ago by nyenyec

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

I think r591 fixed this. At least temporarily.

Note: See TracTickets for help on using tickets.