[REBOL] debug help Re:(2)
From: ryanc:iesco-dms at: 6-Oct-2000 15:21
Ahh! pbar is the progress bar. That never occurred to me. And yes Larry, I
think your right that its too short, but not in the way you think. I bet its
size really is zero. You see my index.r is actually a CGI. And as odd as it
may sound, something to do with the fact its a CGI is causing the problem and
its not anything to do with the index files syntax or contents. Now I can rule
out my junk--Thanks.
Has anybody ran an index.r as a CGI? If not, can someone try to run an index.r
as a CGI on thier server? Here is the one I am using.
#!/usr/local/bin/rebol/rebol -c
REBOL []
prin "Content-Type: text/plain" ;I have also tried text/html--no difference
prin to-char 10 ;I know, im just being over explicit
prin to-char 10
;I have tried many variations, the shortest being {}, and rebol.com's. No
difference.
prin {REBOL [] icon "test" %test.r} ;actual existence of file irrelevant for
this test.
Thanks --Ryan
[larry--ecotope--com] wrote:
> Hi Ryan
>
> Yup, I get the same result. In console mode I read your index.r file as:
>
> REBOL [] icon "test" %test
>
> This is a bug in the View Test Panel (demo-init). Apparently your index.r
> file is too short for the test-panel progress bar to function correctly. You
> should report this to feedback or directly to [carl--rebol--com].
>
> For a workaround, you could try adding a message using the summary keyword.
>
> -Larry
>
> ----- Original Message -----
> From: <[ryanc--iesco-dms--com]>
> To: <[list--rebol--com]>
> Sent: Friday, October 06, 2000 1:56 PM
> Subject: [REBOL] debug help
>
> > Could someone try to pull up www.hypermenu.com/index.r from there view
> > browser and let me know what happens. I keep getting this error:
> >
> > ** Math Error: Attempt to divide by zero.
> > ** Where: pbar/data: b / l show
> > >>
> >
> > Thanks,
> > --Ryan
> >
--
Ryan Cole
Programmer Analyst
www.iesco-dms.com
707-468-5400
I am enough of an artist to draw freely upon my imagination.
Imagination is more important than knowledge. Knowledge is
limited. Imagination encircles the world.
-Einstein