On Aug 17, 2008, at 22:21, Steffen Schwigon wrote:

Slaven Rezic <[EMAIL PROTECTED]> writes:
Steve Purkis <[EMAIL PROTECTED]> writes:

Hiya,

I've seen this one pop up before - it's Template Toolkit being
unhappy about how big @INC is. And that looks to be the cause of not
fully installing the modules in the dependency tree.  I imagine a
number of modules will have this problem (certainly any distributing
TT2 templates in the lib dir).

Actually, I cannot remember another module failing with the same
error.

The problem is also somehow related to T::F::HTML's own creation of
tmp dirs, as in

  http://rt.cpan.org/Public/Bug/Display.html?id=37019

All these tmpdirs get into @INC and break the module after some time
with the same symptoms, regardless of testing, also in "real use".

They do? That shouldn't happen... the tempdir is only used by the Template processor. In theoretical 'normal' usage, the tempdirs should be created & used once, and then abandoned.


I have no idea why this INC-flooding happens, I only know that the
workaround with CLEANUP helps. BTW, In my opinion the bugfix alone
would be worth another release [hint, hint :-)].

I've just released 0.06 for this fix with the hopes it'll help, but I think the two issues are unrelated.


Maybe Template-Toolkit's limitation of 64 include directories should
be removed? Actually it feels "non-perlish" to have such a
limitation at all...

That might indeed be additionally useful. Anyway, it's probably not
the root of the problem.

Having that many dirs in @INC seems like an edge case to me, which is why I'm not devoting huge amounts of time to this.

I'll check if this is configurable or otherwise avoidable for the next release. If not, I'll file a bug in TT2 and leave it at that.

-Steve

Reply via email to