World: r3wp
[RAMBO] The REBOL bug and enhancement database
older newer | first last |
Anton 10-Feb-2005 [144x4] | Or perhaps you think it could cause problems of automatic decoding when ( if it ever happens ), the public cache path is converted back to a URL! ? |
Anyway, I think the "?" replacement is the one that fixes the most common problem. I think ports are not such a common problem. Obviously you needed it to work for something..., but I wonder what your opinion on it was. We shall need to make a total solution at some stage... | |
Gosh! now I think it might be better to replace the "?" with a slash "_query/" (<-- note the slash), so it becomes a new directory. | |
eg: path-thru http://www.dom.com/cgi.r?hello ;== view-root/public/www.dom.com/cgi.r/hello | |
Allen 10-Feb-2005 [148] | Anton, if you do that, how do you convert it back? |
Anton 10-Feb-2005 [149x6] | I guess you can't, unless you know more. I just leapt at that idea because I thought it would reduce the amount of repetition in path and filenames. |
(so all the cgi.r queries would be grouped as files in the cgi.r/ directory) | |
Mmm.. similar to Oldes' method, you could replace "?" -> "_query/", then directories that end with "_query/" are converted back to "?" | |
Ahha! I just re-read my previous post... :) Duh! | |
The example should have been: | |
eg: path-thru http://www.dom.com/cgi.r?hello ;== view-root/public/www.dom.com/cgi.r_query/hello | |
Anton 11-Feb-2005 [155x3] | I just found a strange bug: >> read %rebol.r == { REBOL [ Title: "REBOL Extended Definitions" Date: cvs-date "$Date: 2001/04/29 16:00:17 $" Rights: "Copyright (C)... >> read %rebol.r. == { REBOL [ Title: "REBOL Extended Definitions" Date: cvs-date "$Date: 2001/04/29 16:00:17 $" Rights: "Copyright (C)... >> read %rebol.r..... == { REBOL [ Title: "REBOL Extended Definitions" Date: cvs-date "$Date: 2001/04/29 16:00:17 $" Rights: "Copyright (C)... |
Trust me, these files do not exist: [ %rebol.r. %rebol.r..... ] | |
I'm on WInXP NTFS, can anyone try linux or another filesystem ? | |
Sunanda 11-Feb-2005 [158] | No such problem on Win98 -- tried it with the live and latest betas. |
PeterWood 11-Feb-2005 [159x2] | I'm on Win/XP and got this with Core 2.5.6 >> print read %rebol.r REBOL[ Title: "REBOL Extended Definitions" ] feedback: func [ "Send REBOL feedback." ][ print "Go to http://www.rebol.com/feedback.htmlto send feedback." ] |
There is a file rebol.r in the directory where rebol0301.exe | |
Anton 11-Feb-2005 [161x4] | Actually, this looks like a WindowsXP or NTFS problem, not a problem of rebol at all, because I can "Run D:\Anton\Dev\Rebol\View\rebol.r...." and my text editor (associated with .R files) pops up to edit rebol.r |
Peter, now do this: | |
print read %rebol.r....... | |
(including all those extra period markers.....) | |
PeterWood 11-Feb-2005 [165x2] | When I tried the same with Rebol 2.5.8 which is just sitting on my desktop and got >> print read %rebol.r ** Access Error: Cannot open /C/Documents and Settings/Peter/Desktop/rebol.r ** Near: print read %rebol.r |
Same results with the periods | |
Anton 11-Feb-2005 [167x3] | That's a different issue. Try the bolded code exactly as above. |
Ok. So you see the bug too. | |
Sunanda, are you using NTFS ? | |
Sunanda 11-Feb-2005 [170] | No, just plain FAT |
Anton 11-Feb-2005 [171] | So problem on WinXP/NTFS, no problem on Win98/FAT. Definitely not a problem of rebol. I hesitate to post a RAMBO ticket. |
DideC 11-Feb-2005 [172x2] | Anton: what "list-dir" give you as result ??? |
And "what-dir" ??? | |
Anton 11-Feb-2005 [174x2] | Just the one file, trust me :) |
The bug is shown for any file, not just rebol.r | |
Gabriele 11-Feb-2005 [176] | i can confirm your observation |
Anton 11-Feb-2005 [177] | eg. rebol.exe.... |
Gabriele 11-Feb-2005 [178x2] | looks like ntfs ignores leading dots |
what can you expect from ms... | |
Anton 11-Feb-2005 [180] | yeah... trailing you mean. :) >> exists? %...rebol.r == false >> exists? %rebol.r.... == true |
Pekr 11-Feb-2005 [181x3] | has anyone found out the cause for red icons in IOS? |
I noticed one entry in RAMBO from Oldes or someone else, describing incorrect handling of timezones or something like that ... | |
but dunno if it is realted or not .... | |
Anton 11-Feb-2005 [184x3] | I think so. Bad timezone found by QUERY (as used by INFO?). Replacement is to use GET-MODES file 'modification date. |
(from memory) | |
(my brain memory, that is) | |
Sunanda 11-Feb-2005 [187] | Red icons ...usually a problem with syncing when Daylight Saving Time goes on or off. reset-dates.r utility available from RT to correct them (doesn't always work). |
DideC 11-Feb-2005 [188] | (Ups, I did not notice the trailing dot. My wrong) |
Anton 11-Feb-2005 [189] | oops, that should be GET-MODES file 'modification-date, but Sunanda's answer is more relevant.. |
Pekr 11-Feb-2005 [190x2] | Sunanda - but t hat problem of bad syncing happens only on certain systems. Here in CZ for most or all Win versions ... bad timezone or something must be the reason. I remember RT stating Win98 returned incorrect (shifted) time-stamp under some conditions, but that is not only W98 related imo ... |
I'll stop promoting IOS here, if that issue is not resolved! I would not hesitate to push my client to use some correction script, but it does not work always :-( ..... I need proved solution and full resync is not that ... | |
Sunanda 11-Feb-2005 [192] | It's a wierd problem, and RT don't seem able to fix it/ reset-dates.r is a sort of symptom suppressant. I've had to do full reysncs a couple of times.....Not a good thing to ask **everyone** to do. |
Anton 15-Feb-2005 [193] | Who thinks that maybe load parser should be mroe relaxed with paths ? eg: >> view-root/public/ ** Syntax Error: Invalid path -- public/ ** Near: (line 1) view-root/public/ |
older newer | first last |