[Zope] This is weird

Gitte Wange gitte@mmmanager.org
Fri, 20 Jul 2001 16:58:49 +0200


On Friday 20 July 2001 16:56, you wrote:
> Gitte Wange wrote:
> > I hope there is someone out there who can help me, because I think I'=
m
> > going crazy here :-)))
> >
> > First I got a lot of errors calling a method of an object in a python
> > module. Well I thought, I'll just create a python script in my folder=
 in
> > ZMI and call that instead. This script will then call the method of t=
he
> > object.
> >
> > The python script is called clip_edit and is placed in the same folde=
r as
> > the script calling the edit_clip script .. (hope you are not confused
> > *S*)
> >
> > But I get this error:
> > NameError: clip_edit
> >
> > But they are placed in the same folder !!!
> >
> > Here's the code that calls the python script:
> > <dtml-if expr=3D"MasterFile !=3D ''">
> >   <dtml-call "clip_edit(MasterFile=3DMasterFile)">
> > </dtml-if>
> >
> > Anything wrong there ???
> >
> > Regards,
> >
> > --
> > Gitte Wange Jensen
>
> How exactly are you calling edit_clip? My guess is that you are not
> passing the namespace to it.


I solved by creating a seperat python script that calls the update functi=
ons=20
on the object ....

Now all I need is to find out how to upload a file.

Regards,

--=20
Gitte Wange Jensen

Sys Admin, Developer and a lot more
MMmanager.org Aps, Denmark

Phone: +45 29 72 79 72
Email: gitte@mmmanager.org
Web: www.mmmanager.org

Quote of the day:
Livet er sv=E6rt, men frygt ej -
matematik er sv=E6rere.=20

	- Storm P.=20