[Zope] [Q] problem installing page templates ...

Tony McDonald tony.mcdonald@ncl.ac.uk
Sun, 09 Dec 2001 21:45:54 +0000


On 9/12/01 4:05 am, "Darran Edmundson" <darran.edmundson@anu.edu.au> wrote:

> I've stared at the following for the past two hours but can't
> figure out my problem in getting PageTemplates up and
> running ...
> 
> I did the following:
> - fresh install of Zope 2.4.3 (win binary release)
> - successfully installed TAL 1.4.1 and ZTUtils 1.1.3
> - extracted PageTemplates-1.4.1.tar.gz into my lib/python/Products
> but am getting the traceback:
> 
> 2001-12-09T03:47:40 ERROR(200) Zope Couldn't install PageTemplates
> Traceback (innermost last):
> File C:\Zope\TestBed\lib\python\OFS\Application.py, line 668, in
> install_product
>   (Object: Zope)
>   (Info: PageTemplates)
> File C:\Zope\TestBed\lib\python\Products\PageTemplates\__init__.py, line
> 95, in initialize
> File
> C:\Zope\TestBed\lib\python\Products\PageTemplates\ZopePageTemplate.py, line
> 105, in ?
>   (Object: package_home)
> File C:\Zope\TestBed\lib\python\Products\PageTemplates\PageTemplate.py,
> line 93, in ?
> ImportError: No module named TAL.TALParser
> 
> /Zope/TestBed/lib/python/Products $ ls -l TAL/TALParser.py
> -rw-r--r--    1 Darran E None         7509 Jul 21 05:58 TALParser.py
> 
> Am I missing something obvious?  As always, any and all help is greatly
> appreciated.
> 
> Cheers,
> Darran.
> 

Yup. TAL needs to go into lib/python (as does ZTUtils). The PageTemplate
product goes into lib/python/Products.

Don't forget the .path file in the TAL directory (what to do is in the
README).

Hth
Tone.
-- 
Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/zope