Dieter,
Thank you.  I replaced the call

obj.absolute_url()

with

obj.getPhysicalPath()

and prepended the portal URL in my code.  That way the
URL is not overwritten with the physical path by
NauScheduler.

Barry

--- Dieter Maurer wrote:

> Barry Drake wrote at 2005-8-2 14:00 -0700:
> > ...
> >The Script Python that sends the digest works fine
> >when tested alone, but when I run it from NS the
> URL,
> >gotten from obj.absolute_url(), is replace with the
> >physical path.
> 
> And what is it otherwise?
> 
> Note that "absolute_url" combines the physical path
> with request information.
> 
> When you use it from the scheduler, there probably
> is not request.
> Therefore, you may get only the physical path
> part...
> 
> -- 
> Dieter
> 

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to