file error - INCLUDE_PATH exceeds 64 directories

NEW
Unassigned

Status

()

Bugzilla
User Interface
P4
minor
9 years ago
4 years ago

People

(Reporter: franz.rosner@prisma-solutions.at, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

9 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5
Build Identifier: version 3.2

Hello,

When im adding symlinks to the languages in templates, i get the following errormessage:
"Precompiling templates...file error - INCLUDE_PATH exceeds 64 directories..."

drwxr-x--- 3 root apache 4.0K Jan  7 15:31 de
lrwxrwxrwx 1 root root      2 Jan 29 14:23 de-AT -> de
lrwxrwxrwx 1 root root      2 Jan 29 14:27 de-BE -> de
lrwxrwxrwx 1 root root      2 Jan 29 14:25 de-CH -> de
lrwxrwxrwx 1 root root      2 Jan 29 14:26 de-DE -> de
lrwxrwxrwx 1 root root      2 Jan 29 14:23 de-at -> de
lrwxrwxrwx 1 root root      2 Jan 29 14:27 de-be -> de
lrwxrwxrwx 1 root root      2 Jan 29 14:25 de-ch -> de
lrwxrwxrwx 1 root root      2 Jan 29 14:26 de-de -> de
lrwxrwxrwx 1 root root      2 Jan 29 14:28 de-lu -> de
drwxr-x--- 4 root apache 4.0K Jan  7 15:31 en

If i remove one or more of those symlinks it works fine.

Reproducible: Always

Steps to Reproduce:
add some of those symlinks

Comment 1

9 years ago
Perhaps there's some way to raise that limit. If you find anything in the template-toolkit.org docs, let me know.
Assignee: installation → ui
Severity: normal → minor
Status: UNCONFIRMED → NEW
Component: Installation & Upgrading → User Interface
Ever confirmed: true
OS: Linux → All
Priority: -- → P4
Hardware: x86_64 → All

Comment 2

9 years ago
Look at bug 467506, it should reduce your path to existing dirs only

I assume you don't have symlinks for all combinations of extensions, etc.
set MAX_DIRS to TT.
and, you might be happy to enlarge CACHE_SIZE too.
(Reporter)

Comment 4

9 years ago
Hello,

Where can i set these vars?  MAX_DIRS and CACHE_SIZE?
Are they pearl variables?

Thanks! Regards,
Franz Rosner

Comment 5

9 years ago
(In reply to comment #4)
> Where can i set these vars?  MAX_DIRS and CACHE_SIZE?

Kindly refer to Template Toolkit documentation:

http://template-toolkit.org/docs/modules/Template/Provider.html#method_paths

http://template-toolkit.org/docs/modules/Template/Provider.html#section_CACHE_SIZE
You need to log in before you can comment on or make changes to this bug.