Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

About an Error:

 [1/19] from: rondon:andrade:uol at: 2-Jun-2001 19:29


Hi Everybody!! I'm receiving an error from my CGI: "Invalid data type during recycle " What does it mean? When I try each script separatelly it runs normally... Any tips ? Thanks in advance. Rondon

 [2/19] from: al:bri:xtra at: 3-Jun-2001 10:47


> I'm receiving an error from my CGI: "Invalid data type during recycle "
Try updating your Rebol interpreter at the CGI end. It may be out of date.
> What does it mean? > When I try each script separatelly it runs normally... Any tips ?
Your scripts may be using the same word in different ways, perhaps? Andrew Martin ICQ: 26227169 http://zen.scripterz.org

 [3/19] from: gchiu:compkarori at: 3-Jun-2001 11:28


On Sat, 2 Jun 2001 19:29:07 -0300 "Rondon Andrade" <[rondon--andrade--uol--com--br]> wrote:
> *This message was transferred with a trial version of > CommuniGate(tm) Pro*
<<quoted lines omitted: 4>>
> When I try each script separatelly it runs normally... > Any tips ?
I think it means you have run out of memory/resources. Try and do frequent manual garbage collection. -- Graham Chiu

 [4/19] from: gchiu:compkarori at: 3-Jun-2001 11:37


On Sat, 2 Jun 2001 19:29:07 -0300 "Rondon Andrade" <[rondon--andrade--uol--com--br]> wrote:
> Any tips ?
Use 'recycle frequently to see if it helps. -- Graham Chiu

 [5/19] from: rondon:andrade:uol at: 3-Jun-2001 9:37


Hi! I'm using the an up-to-date version of Rebol/Core. How can I use recycle? I've been looking at the dictionary, it's default is ON. How are you using recycle ? Thanks in advance. Rondon

 [6/19] from: rondon:andrade:uol at: 3-Jun-2001 11:28


Hi! I've tested the application on windows, I didn't receive any error message. Using my server with OpenBSD, I've got the error from my CGI: "Invalid data type during recycle " I think maybe it's a question of memory management. Any tips? Thanks in advance. Rondon

 [7/19] from: gchiu:compkarori at: 4-Jun-2001 9:32


On Sun, 3 Jun 2001 09:37:57 -0300 "Rondon Andrade" <[rondon--andrade--uol--com--br]> wrote:
> I'm using the an up-to-date version of Rebol/Core. How > can I use recycle? > I've been looking at the dictionary, it's default is ON. > How are you using > recycle ? >
I've never had to use it, but I presume you just execute it at various places near where you are getting the problem. -- Graham Chiu

 [8/19] from: brett::codeconscious::com at: 4-Jun-2001 9:54


Hi Rondon, Try restructuring your code a little. In particular look for code that deals with a high volume of information and try changing that. Or perhaps some code that you might have thought seems small, powerful and particularly tricky. Maybe it is some code that performs some datatype conversions implicitly. And if you're successful with this, you might be able to tell [feedback--rebol--com] your findings. Brett.

 [9/19] from: rondon:andrade:uol at: 3-Jun-2001 21:43


Ok. Brett.. I'll do it.. Thanks.

 [10/19] from: allen:aussieweb:au at: 4-Jun-2001 12:09


----- Original Message ----- From: "Rondon Andrade" <[rondon--andrade--uol--com--br]> To: <[rebol-list--rebol--com]> Sent: Monday, June 04, 2001 10:43 AM Subject: [REBOL] Re: About Error
> Ok. Brett.. I'll do it.. > > Thanks.
Confirm the version by printing it out in a cgi page. I used to get the recycle error in version 2.3 and cgi but haven't had any 2.5. The hash dataype bug which was the cause of the error for me, that was fixed in version 2.5. Cheers, Allen K

 [11/19] from: carl:rebol at: 4-Jun-2001 9:06


Rondon, That's a serious error. It's quite rare these days, so we need to get as much info from you as possible, in as few lines of code that will recreate the problem. That is, if you can trim your code down to just a few lines, that will help. If the code is large, it is less likely that we can find the problem. We've recently found a bug in LOAD/markup and in DEBASE that will cause this error in rare cases. Check to see if you use either of those functions. They could be the cause. We plan to release /Core 2.5.1, /View 1.2.1, /Command 2.0.1 later this month (June) if all goes well. If this is a problem for any /Command users, please contact us and we will build you a special beta version to try. -Carl Sassenrath REBOL Technologies

 [12/19] from: fsievert:uos at: 4-Jun-2001 18:55


There are still some bugs with foreach etc. that crash rebol. Try do http://proton.cl-ki.uni-osnabrueck.de/REBOL/bug-test.r for demonstration. CU, Frank

 [13/19] from: rondon:andrade:uol at: 4-Jun-2001 15:45


Hi Carl! I use the function load/markup, but this bug is just for OpenBSD, because when I run it on Windows, I don't receive the same error, sometimes yes, sometimes not. ok. If you want the code I can send it. ok. If so, Can I send it to your e-mail? Thanks. Rondon ----- Original Message ----- From: "Carl Sassenrath" <[carl--rebol--com]> To: <[rebol-list--rebol--com]> Cc: "Cindy Sassenrath" <[cindy--rebol--com]>

 [14/19] from: holger:rebol at: 12-Jun-2001 8:58


On Mon, Jun 04, 2001 at 06:55:53PM +0200, Frank Sievertsen wrote:
> There are still some bugs with foreach etc. that crash rebol. > > Try > > do http://proton.cl-ki.uni-osnabrueck.de/REBOL/bug-test.r > > for demonstration.
This is not really a bug in foreach, but a side effect of some nesting limitations under recursion in current versions of REBOL which affect several functions. Those limitations will be removed in one of the next revisions. -- Holger Kruse [holger--rebol--com]

 [15/19] from: ptretter:charter at: 25-Jun-2001 10:51


How do I fix these type of error messages: Script Error: Expected one of: logic! - not: time! ** Where: forever ** Near: if rtime > ctime +

 [16/19] from: john:schuhr at: 25-Jun-2001 12:08


You should group the logic relationships like so: if (rtime > (ctime + 5)) [ ; do something ] At Monday, 25 June 2001, you wrote:

 [17/19] from: ptretter:charter at: 25-Jun-2001 11:27


Yep that fixed it. Thanks John. Paul Tretter

 [18/19] from: joel:neely:fedex at: 25-Jun-2001 11:39


Hi, John and Paul, John Schuhr wrote:
> You should group the logic relationships like so: > > if (rtime > (ctime + 5)) [ > ; do something > ] >
PMJI, but only the right-hand set of parens is needed, as in if rtime > (ctime + 5) [...] The underlying issue is that there is no operator precedence in REBOL, so that val0 op0 val1 op1 val2 op2 val3 gets evaluated strictly left-to-right, as if ((val0 op0 val1) op1 val2) op2 val3 Thus, in your example, another option would be if ctime + 5 < rtime [...] HTH! -jn- It's turtles all the way down! joel'dot'neely'at'fedex'dot'com

 [19/19] from: brett:codeconscious at: 26-Jun-2001 21:11


Alternatively use the verbose method, which I find is more stable (and thus preferable) in the face of the code mangling (editing) that I perform on my programming. :) if greater? rtime add ctime 5 [ ; do something ] Brett.

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted