[Zope3-dev] Utility registration errors

Stephan Richter srichter at cosmos.phy.tufts.edu
Thu Dec 9 14:20:34 EST 2004


On Thursday 09 December 2004 13:50, Bjorn Tillenius wrote:
> > Okay, fixed. It was a stupid typo. BTW, no code should use this widget
> > anymore. I will have to fix the translation domain code to use the
> > UtilityRegistration object directly. Sigh.
>
> I still get an error trying to register a Translation Domain.
>
>   File "/hda4/proj/Zope3/src/zope/tales/expressions.py", line 198, in _eval
>     return ob()
>   File "/hda4/proj/Zope3/src/zope/app/utility/utility.py", line 117, in
> usageSummary
>     s += " '%s'"%zapi.name(self.component)
>   File "/hda4/proj/Zope3/src/zope/app/traversing/api.py", line 145, in
> getName return IPhysicallyLocatable(obj).getName()
>   File "/hda4/proj/Zope3/src/zope/interface/interface.py", line 698, in
> __call__ raise TypeError("Could not adapt", obj, self)
> TypeError: ('Could not adapt', <object object at 0x4020e4c8>,
> <InterfaceClass zope.app.traversing.interfaces.IPhysicallyLocatable>)

Fixed. Sorry about that.

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-dev mailing list