Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Error when (re)generating
mvdb
When I want to regenerate a specific file made by templating I get the following error:
No files were regenerated. Failed to regenerate: leftnav.js Could not process template: Y:/default/main/internet/ls/ls_common/templates/STAGING/templatedata/pt/leftnav/presentation/leftnav.tpl
When I want to edit and afterwards generate a file with this presentation template I get this error:
iwtmplhtmlwizard Error: Could not process template: Y:/default/main/internet/ls/ls_common/templates/STAGING/templatedata/pt/leftnav/presentation/leftnav.tpl :\default\main\internet\ls\eur\cze_cs\prof\WORKAREA\wa1\templatedata\pt\leftnav\presentation\leftnav.tpl
This error only occurs in one specific branch and it's subbranches. In other branches and their subbranches this error doesn't occur. Can anyone tell me what's the problem and how to solve it???
Find more posts tagged with
Comments
tvaughan
It sounds like you can
generate
an HTML page the first time you use the DCT, but it won't let you
regenerate
. Is that right?
Are there any permission differences between the branch/WORKAREA in which the leftnav.tpl is located and the other branches on your TS installation?
Also, did you perhaps name the HTMl file with a space at the end of the file name (in otherwords, "leftnav.html " instead of "leftnav.html")?
Another thing to check is try to manually compile the page on the command line with the CLT 'iwpt_compile.ipl'. If you add in the -ocode argument and give it a file name like 'test.ipl' it will spit out all the errors it encounters when attempting to compile the HTML page. Here's a sample compile script:
bash-2.03$ cat compile.sh
#!/bin/sh
iwpt_compile.ipl -pt /iwmnt/default/main/my-company/corporate/WORKAREA/tvaughan/templates/fm_news/archives/presentation/gen_index_servicing.tpl -ofile /iwmnt/default/main/my-company/corporate/WORKAREA/tvaughan/content/news/archives/servicing/2002/index_include.html -ocode ****.ipl ; ****.ipl
If you want more advice, post your version and OS in the your next reply.
Hope that helps.
Tom
mvdb
No errors showed when compiling it manually.
We got TeamSite version :5.0.1.0 7344 20020326
OS: Windows 2000
Adam Stoller
Hmm, iwpt_compile.ipl worked but you still get errors from within the GUI - yes?
Have you tried using iwgen from the command line (for usage: iwgen -h) ?
Could you post the command lines that you are using (for both iwpt_compile.ipl and iwgen - assuming they both "work")
It appears, from the error message you posted, that you are using some iw_include statements in your PT to include one PT in another - though I must say, the ordering of the error message looks like you're including the specific within the common rather than the other way around. Perhaps you could also describe your branch structure / templating environment a bit more to help round out the picture...
--fish
(Interwoven, Curriculum Development)