comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: How to debug ION
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: How to debug ION [message #27446] Tue, 23 October 2001 11:59
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
What version are you using?

AFAIR, 1.2 places the ion-out*.txt files in your cgi-bin directory (I don't
think it is configurable). In 1.4 you can set the path in your .ionsrc file
but by default it is in the cgi-bin directory. I would guess that the
reason you can't find your ion-out files is that your ION processes do not
have permission to write to your cgi-bin directory. Since we run ION as
user nobody, I had to change permissions on our cgi-bin dir when I was
debugging with 1.2. With 1.4 you can specify a directory which is owned by
nobody and dispense with that hassle.

In general, to track down ION Script issues you can look at your servers
error log, then ion-p output (set in 1.4 in .ionsrc) then the ion-out*.txt
files generated by ion-i. If you are using 1.2, be prepared to receive
little to no debugging information at times. I developed our ION Script
application in 1.2 and found that certain bugs would generate no debug info
at all (I *think* with 1.2 ion-p doesn't do any logging of errors so if your
error occurs there you are left wondering). I wish I could give you more
help but I have suppressed all recollections of that experience. 1.4 is
supposed to be much better.


If you are running apache, default locations for some of these files are as
follows (assuming /usr/local/ install):

/usr/local/apache/cgi-bin/.ionsrc
/usr/local/apache/cgi-bin/ion-out*.txt
/usr/local/apache/logs/error_log <- apache error log


Enjoy!

Rick Towler


"James Adams" <jadams@ucar.edu> wrote in message
news:3BD5AA54.43E849@ucar.edu...
> Can anybody give me some pointers as to how I can debug ION Script pages
> ? I can't even find where a ION log file is being written, anything
> might help.
>
> Thanks in advance...
>
> -James Adams
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to debug ION
Next Topic: Re: Passing Image Data :)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 07:00:28 PDT 2025

Total time taken to generate the page: 1.04062 seconds