When I was attempting to debug Erik's issues my Wing debugger reported the 
following by just running the ClassDesigner in the debugger:  (I can ignore 
the exception)

Name 'dSpinner' is already in use.

The code causing the error is below from dPemMixin:
The parent in this case is "ContentBoxsizerPanel"


if parent is not None:
                                if not _userExplicit:
                                        # Dabo is setting the name implicitly, 
in which case we want to mangle
                                        # the name if necessary to make it 
unique (we don't want a NameError).
                                        name = self._uniqueNameForParent(name)
                                else:
                                        # the user is explicitly setting the 
Name. If another object already
                                        # has the name, we must raise an 
exception immediately.
                                        if hasattr(parent, name) \
                                                        and 
type(getattr(parent, name)) != wx._core._wxPyDeadObject \
                                                        and getattr(parent, 
name) != self:
                                                raise NameError, "Name '%s' is 
already in use." % name
-- 
John Fabiani


_______________________________________________
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]

Reply via email to