Use context notation, and makae sure there is an __init__.py file in the
directory bigstar is in.
so the extends will look like <% page extends="subdir.bigstar" %>
Jay
> -----Original Message-----
> From: dennis@... [mailto:dennis@...]
> Sent: Tuesday, March 26, 2002 1:03 PM
> To: webware-discuss@...
> Subject: [Webware-discuss] psp extends directive
>
>
> Hi,
>
> I have what I am sure is a pretty basic question, but the answer is
> eluding me.
>
> I have a python file bigstar.py in the top directory of my context.
>
> I have a <%page extends="bigstar"> in a psp file one level
> down from the
> directory configured as the context. WebKit is barfing on <%page
> extends="bigstar"> with this message:
>
> File
> "/usr/local/Webware/WebKit/Cache/PSP/_home_dsacks_Webware_bigs
> tar_development_alicecooper_st_landing_psp.py",
> line 8, in ?
> _baseClasses.append(bigstar.bigstar)
> AttributeError: bigstar
>
>
> This works when bigstar.py and the psp file are both in the top level
> directory, so I think I am getting this error because WebKit
> doesn't know
> where to find bigstar.py. How do I tell it?
>
> --
> ---
> Dennis Sacks
> dennis@...
> "Things are falling down on me, heavy things I could not see"
>
>
>
>
>
> _______________________________________________
> Webware-discuss mailing list
> Webware-discuss@...
> https://lists.sourceforge.net/lists/listinfo/webware-discuss
>
----------------------------------------------------------------------------
This e-mail and any attachments may be confidential or legally privileged.
If you received this message in error or are not the intended recipient, you
should destroy the e-mail message and any attachments or copies, and you are
prohibited from retaining, distributing, disclosing or using any information
contained herein. Please inform us of the erroneous delivery by return
e-mail.
Thank you for your cooperation.
----------------------------------------------------------------------------
|