2012-07-31 2 views
0

마침내 Template-Toolkit이 설치되어 작동하지만 일부 컴파일에 문제가 있습니다.Template-Toolkit 및 Juniper

주니퍼 게이트웨이 사용자 지정 로그온 페이지를 만들려고합니다. 18 페이지에 자신의 문서 (http://www.juniper.net/techpubs/software/ive/admin/5.5-CSPSolutionGuide.pdf)에서 그들은

You must begin each file with the directive 
[% TAGS <% %> %] so that you can use angle brackets on any directives you add 
to the templates. By default, the Template Toolkit recognizes square brackets ([ 
]) instead of angle brackets (<>) as delimiters for directives. The IVE recognizes 
angle brackets only. Adding the TAGS directive tells the local Template Toolkit 
utilities that you are using angle brackets. 

내가 파일의 시작 부분에 줄을 추가,하지만 난 tpage 명령을 실행할 때이 오류가 말한다 :

undef error - verbatim: filter not found 

또 다른 옵션은 것 이 문서 (http://template-toolkit.org/docs/manual/Config.html#section_START_TAG_END_TAG)

하지만 내가 어디 에서이 변경을 수행 할 수 있는지 모르겠지만 설정 파일 또는 명령을 찾을 수있는 위치를 모르겠어요 템플릿 - 툴킷 설정에서 START_TAG 및 END_TAG를 변경해야합니다. 설정을 변경합니다.

도움을 주시면 감사하겠습니다.

답변

0

글쎄,이 오류는 [% TAGS %] 지시문과 아무 관련이 없습니다.

'축 어적'이라는 필터를 사용 중이기 때문에 오류가 발생합니다.이 필터는 설치되지 않았습니다. Template Toolkit과 함께 제공되는 standard filters 중 하나가 아니므로 어디에서 왔는지 확신 할 수 없습니다. 주니퍼와 함께 설치 될 수 있습니까?