Sorry for the cross post and so on, panicked with a deadline approaching.
The error was caused my a cataloguing error after intialisation.

Thanks.

----- Original Message -----
From: "Andy McKay" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, August 31, 2000 10:00 AM
Subject: [Zope-dev] _setObject error - urgent!


> Hi,
>
> I think I have traced my error with cut and paste, I am getting an error
on
> _setObject. If the object is not registered with Zope properly this will
be
> a problem. Basic synopsis:
>
> Im importing an object from a script so Im getting a handle to the folder
I
> would like the object to be in: this is obj.
>
> Then I call add and set object:
>
>     obj._setObject(id, globals()[doctype](id, m))
>
> This rather unusual syntax allows me to use a constructor for man
different
> objects. The type is specified in 'doctype', I then get this error:
>
>     2000-08-31T16:56:57 PROBLEM(100) ASPNDoc Error: [exceptions.NameError:
> cat]
>
> Any ideas?
>
> Thanks in advance
>
>
> _______________________________________________
> Zope-Dev maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>


_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to