r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[RAMBO] The REBOL bug and enhancement database

Ladislav
13-May-2006
[1713x5]
Reformulation:
Use and word:

>> same? 'a use 'a ['a]
== true
Use and get-word:

>> same? 'a use [:a] ['a]
== true
Use and lit-word:

>> same? 'a first use ['a] ['a]
== true
sorry: Use and lit-word:

>> same? 'a use ['a] ['a]
== true
Anton
13-May-2006
[1718x4]
Not following closely, but it seems to me you can't rely on SAME? 
when both words are unset (it's comparing null pointers internally, 
I suppose). Maybe you should also check that the word is set ? eg:
word1: 'a
word2: first use 'a [[a]]
if all [not value? word1  same? word1 word2]["sameness unknown"]
Oh, I see you are concentrating on USE.
>> use 'a [a: 123]
== 123
>> a   ; <--- word in global context
== 123  ; <-- supposed to be still unset
Looks like a bug to me.
Gabriele
13-May-2006
[1722]
Ladislav, yes add it please. i remember seeing a report about this 
but maybe it never got into rambo.
Ladislav
14-May-2006
[1723]
the above quirks posted to Rambo
BrianH
19-May-2006
[1724x3]
I just posted a RAMBO entry (currently #-663), accidently before 
I was finished writing it. There are errors. What do I do?
I got the example code wrong, and the description should have referenced 
an older RAMBO entry (3575) that was wrongly prioritized.
I backed up, fixed it and resubmitted. Whoever is watching RAMBO, 
please disregard #-663, it is superceded by #-664.
Gabriele
19-May-2006
[1727]
done.
Volker
19-May-2006
[1728]
;Little bug in formatting, worth a ticket?
probe [
 0
]
probe [
 12
]
==
[0
]
[
    12
]
Will
22-May-2006
[1729]
got this error from a rebol process launched by another rebol process 
running uniserve:

dyld: Library not loaded: /usr/lib/libncurses.5.4.dylib
Referenced 
from: /bin/bash
Reason: image not found
*** Boot Error 951
What may that Boot Error 951 be?
Anton
28-May-2006
[1730x2]
This is probably the shortest code which shows the bug:
img: copy help.gif
equal? img help.gif
view layout [image img effect [key 128]]
equal? img help.gif
Anton
29-May-2006
[1732]
OK - submitted to RAMBO.
Will
29-May-2006
[1733]
dear all, does anyone have an idea about  "Boot Error 951" mentioned 
above? Is it a rebol initialization problem? Maybe betwen rebol process 
and its dns resolving brother process?
..or is it more related to uniserve code? thx
Anton
29-May-2006
[1734]
Will, see if this helps
http://www.mail-archive.com/[list-:-rebol-:-com]/msg06327.html
Will
29-May-2006
[1735x2]
thank you Anton, but /usr/lib/libncurses.5.4.dylib does exist! After 
a while rebol process launched by main uniserve process show this 
error and then rebol seams to loose ability to read/write files, 
restarting brings everything back to normal,
*** Boot Error 951

 is this a rebol error that should not happen or is it a programming 
 error?
Anton
29-May-2006
[1737x2]
This is a rebol error message - "*** Boot Error %d" appears in a 
recent rebview.exe - but I think the error code 951 is being passed 
to rebol from an OS call.
I think this question should be asked and discussed in the Uniserve 
group until Uniserve is eliminated as a possible cause.
Pekr
5-Jun-2006
[1739x2]
re #4116 - the same bug happens even via ODBC Oracle driver. So maybe 
Oracle driver is just a wrapper to ODBC? My suspicion is, that result 
of such query is non-standard, it is returned to the pipe, and rebol 
crashes by trying to parse it. Just a wild speculation though ...
simplification for above ticket -  "begin my_proc; end;" crashes 
rebol. Never mind, lost the case for php anyway ...
Robert
11-Jun-2006
[1741]
OT: Is there are Rebol based RAMBO editor available that works on 
the web version's database?
Anton
12-Jun-2006
[1742]
I don't think so.
Henrik
12-Jun-2006
[1743]
I wonder what happened to the AltME Bug Tracker. I thought it was 
way cooler than RAMBO.
DideC
12-Jun-2006
[1744]
It was used in the Old View 1.3 project world 2 years ago.
All its content was put in RAMBO when RAMBO was up and running.
Rebolek
13-Jun-2006
[1745]
I've just found 'request-download function and it seems to me it's 
buggy. Can anybody confirm this?

>> request-download http://rebol.com
connecting to: rebol.com
** Script Error: Cannot use insert on this type port
** Where: read-thru
** Near: write/binary file data
if all
Anton
13-Jun-2006
[1746x2]
request-download - where did you find it ?
Oh I see. :)
Rebolek
13-Jun-2006
[1748]
I was looking for some request function and found this one. There 
are more non-functional functions in REBOL AFAIK.

>> link-relative-path %./
** Script Error: link-root has no value
** Where: link-relative-path
** Near: either f: find/match file link-root
Anton
13-Jun-2006
[1749x3]
That's obviously used in Rebol/Link. A quick helper function. Maybe 
it's not supposed to be exposed.
Are you aware of my batch-download function ?
The request-download bug above I think is caused because file is 
actually a directory. So, the port type is 'directory and so the 
insert fails.
Gabriele
13-Jun-2006
[1752]
request-download usually works fine, you just need to provide a file. 
it downloads to the cache by default.
Anton
13-Jun-2006
[1753]
A better error message can be thrown in read-thru by detecting the 
url without a file component.
Rebolek
13-Jun-2006
[1754x2]
yes, because read http://rebol.comworks ok, so i think reqeuset-download 
http://rebol.comshould too
Anton: I know about your batch download, I was just looking for some 
other request function
Anton
13-Jun-2006
[1756]
possibly mine also suffers the same problem.
Rebolek
13-Jun-2006
[1757]
ah :)
Anton
13-Jun-2006
[1758x5]
Actually, no it doesn't cause an error. It doesn't download anything 
though.
The request-download bug is a bug in read-thru. Fix the bug in read-thru 
and you fix the bug in request-download.
>> read-thru http://rebol.com
connecting to: rebol.com
** Script Error: Cannot use insert on this type port
** Where: read-thru
** Near: write/binary file data
if all
If the directory doesn't exist in the cache, it creates it, then 
throws an error. If you try again, the directory already exists and 
there is no error, but of course still nothing is downloaded.
I think the wisest thing to do when given a url without a file component 
is throw an appropriate error. I don't advise downloading anything 
because we don't know how the webserver is mapping the url to its 
filesystem (if it is in fact doing that.)