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)
iwgen problem
carnix
Several people have posted about iwgen suddenly only generating blank pages. One post mentioned that removing the Y: works. And this is the case but (and this is the real pain) ONLY IF YOU ARE USING /default/main as your backing store name. ARG.
We use default for some document management, and a backing store called www for our webfiles so pretty much all of the iwgen commands are /www/main/...
Any suggestions?
Find more posts tagged with
Comments
Adam Stoller
Presumably you're on Windows (the mention of Y
- but you didn't provide information about the version of TeamSite / TeamSite Templating that you're using (including patches and service packs applied).
I don't know the source of the problem - (nor the fix) - but if you want useful responses, it will help a lot if you provide the version information....
--fish
(Interwoven Senior Technical Consultant)
mogoo
OK, we're also having an iwgen problem... or at least I think so. When we preview and generate from a DCR in the GUI, it's calling iwgen, no? Anyway, here's our problem...
-- TeamSite 5.5 SP2, Solaris --
We have some iw_perl code that's in a tpl. We can REGENERATE the tpl via the command line (iwgen) and via the gui (File-->Regenerate Page). But when we try to preview or GENERATE from the DCR in the gui, it just hangs. Running iwgen at the command line returns "Error creating file to be generated".
Another oddity: this script manages a classified ad-type postboard. It searches through the DCR daily, deletes expired replicants and rewrites the DCR. The script was working just fine until we added a "Start Date" field, so posts could be added to the DCR in advance, but not appear on the html.
I've attached the offending iw_perl chunk. Has anyone encountered this, or provide any suggestions?
Thanks,
maureen
Migrateduser
I believe the UI uses iwpt_compile.ipl directly. You can extend it to log what it is doing to help debug these kinds of issues.
http://devnet.interwoven.com/forums/cgi-bin/showthreaded.pl?Cat=&Board=PRODUCTS_TEAMSITE&Number=8618&Search=true&Forum=PRODUCTS_TEAMSITE&Words=iwpt_compile.ipl%20ocode&Match=And&Searchpage=0&Limit=25&Old=allposts&Main=8595
mogoo
John-
Thanks for the info. So I log iwpt_compile.ipl, and it doesn't give me any meaningful feedback (that I understand, anyway). Just runs with a list of
"Parens missing around "my" list at...."
"Useless use of a variable in void context at..."
"Use of uninitialized value at..."
...which I don't think are a big deal, are they? Then at the end, it just says:
<ERROR>
Could not output file: /default/main/go_intranet/WORKAREA/mwalby/TESTmo.htm
</ERROR>
Any other suggestions?
thanks,
maureen
Gregg Faus
I would use the command line to call iwpt_compiile.ipl directly with your DCR, PT, and output file. You will also want to use the -o parameter to capture your output to a temporary ipl file. Then you can look at the temp file for the exact line in which you are having problems.
mogoo
-o? Is that something new, I don't see it documented anywhere?
Do you mean -ocode? I've ran it with -ocode, and I'm still not getting anything that I can decipher. When I run that temp ipl file, it just tells me the 3 (I think) meaningless errors that I've mentioned before.
thanks,
maureen
Gregg Faus
Sorry. Yes I meant ocode. Uninitialized variables are usually warnings, but the "Parens missing around "my" list at...." could be an error. Why don't you try and fix your perl and see what happens.
mogoo
OK, I'm stumped. I'm not getting an error anymore when I run iwpt_compile.ipl from the command line. And the page compiles fine. But when I try to generate a file in the gui; it just hangs.
I'm attaching the -ocode output... perhaps someone that can interpret these things better can clue me in on what I'm doing wrong? I can't seem to shake those 3 types of errors I mentioned earlier.
Specifically, where is
Parens missing around "my" list at (eval 10) line 182.
and
Useless use of a variable in void context at (eval 10) line 182.
?
Any insights??? Please???
maureen