World: r3wp
[!Cheyenne] Discussions about the Cheyenne Web Server
older newer | first last |
Kaj 11-May-2011 [10551] | It says cannot use path near cfg/root-dir, so that seems to me to mean that the configuration lacks a root-dir :-) |
onetom 11-May-2011 [10552] | >> cfg: none == none >> cfg/root-dir ** Script Error: Cannot use path on none! value ** Near: cfg/root-dir like this? |
Kaj 11-May-2011 [10553] | Almost. cfg is probably defined, but not the root-dir in it |
onetom 11-May-2011 [10554x2] | >> cfg: [] == [] >> cfg/root-dir ** Script Error: Invalid path value: root-dir ** Near: cfg/root-dir |
it would be like this, wouldn't it? | |
Kaj 11-May-2011 [10556] | Ah, maybe cfg is completely lacking, then |
onetom 11-May-2011 [10557] | but why am i not getting such a nice and descriptive error? btw, i was trying to catch this error, but no luck: >> e: catch [cfg/root-dir] ** Script Error: Invalid path value: root-dir ** Near: cfg/root-dir >> e: try [cfg/root-dir] ** Script Error: Invalid path value: root-dir ** Near: cfg/root-dir how can i get this as an error object, do i can explore? |
Kaj 11-May-2011 [10558x2] | I think you're focusing too much on the details. I never noticed all those ' and ! :-) |
If you would FORM that error, it may be a bit more like English. Or at least in R3 | |
onetom 11-May-2011 [10560] | :) i've been told im too meticulous or what |
Kaj 11-May-2011 [10561] | I notice that most programmers have a tendency to loose sight of the wood for the trees |
onetom 11-May-2011 [10562] | btw, the thing above worked. 'e got its value. i was just confused by the output. didn't know that an error! is displayed like that in the console |
Kaj 11-May-2011 [10563] | It's a good skill to be able to sort out details. Most people can't. But you need to start with the overview to see the meaning and decide where to focus your efforts |
onetom 11-May-2011 [10564] | i think i have a better understanding of most of the things compared to my collegues, so i usually excel in debugging and i think i thank this ability of mine being curious about such details, so i can understand things a lot deeper than the average fellows |
Kaj 11-May-2011 [10565] | Probably |
onetom 11-May-2011 [10566x2] | im just fucking curious, nah. can't help w that :) |
and thx for putting me on track :) | |
Kaj 11-May-2011 [10568x3] | Me too, but it's times like these that differences with other people's brains pop up that I can't really put my finger on, either :-) |
I always considered myself detail oriented, but there's still a difference with my peers | |
By the way, I also removed my default host, but I don't get errors when I go to localhost | |
Dockimbel 12-May-2011 [10571x3] | but why am i not getting such a nice and descriptive error? Because I am so used to read disarmed errors, that I don't require pretty printing them. I guess I should change that. |
I get an error when accessing a not defined vhost, but not the same as yours (it stops on missing 'default section here). | |
(and why can't we see a line number for the error, btw?) See my answer in ~Chit Chat group. | |
onetom 12-May-2011 [10574x2] | i was running on r136 when i got this error... |
13/5-8:10:46.9889960-[HTTPd] Connection closed 13/5-8:11:31.0776360-[HTTPd] Connection closed 13/5-8:12:11.7342000-[HTTPd] Connection closed 13/5-8:12:53.2066060-[HTTPd] Connection closed 13/5-8:13:33.7584240-[HTTPd] Connection closed 13/5-8:14:41.3166000-[HTTPd] Connection closed im seeing such messages on the cheyenne console in the past few hours. any idea what can it be? is it normal to have such a message every minute? | |
Maxim 12-May-2011 [10576] | probably when the keep alive is being released. |
onetom 12-May-2011 [10577x2] | but every minute for hours? im not getting any other messages... and actually - theoretically - there is no browser window open showing anything from the site this cheyenne is supposed to serve |
are http://localhost/docs/rfq/and http://localhost/docs/rfqconsidered the same resources? | |
Maxim 12-May-2011 [10579] | http://localhost/docs/rfqredirects to http://localhost/docs/rfq/ |
onetom 12-May-2011 [10580x3] | i was not talking about any specific implementation but about the theory of URIs / URLs |
of course in the context of apache and the context of mapping a filesystem to urls, i know it's the common practice | |
but should i give different results if it's a webservice? i had a use case for this ~2days ago, but i cant recall it atm | |
Maxim 12-May-2011 [10583] | the rfc doesn't say how URIs are supposed to be analysed. its up to each server to decide such issues. |
onetom 12-May-2011 [10584x2] | ah, versioning: GET obj -- would return the latest version GET obj/ -- would return the list of version ids GET obj/version -- would return that specific version |
amazon is doing this with GET obj GET obj?versions GET obj?versionID=xxx | |
Dockimbel 13-May-2011 [10586] | Connection closed messages: the HTTPd keepalive connection are closed in a lazy way and only when there is a network activity. In your case, it looks odd to me as they should all be closed at the same time. |
onetom 13-May-2011 [10587] | i still have the process running and it's still spitting these messages. i can peek into it if u tell me what would help u to find out the root of the problem |
Dockimbel 13-May-2011 [10588] | Could you <Esc> the process and type: netstat? How many HTTP connection do you have? |
onetom 13-May-2011 [10589] | >> netstat wait-list length: 7 Scheme Port Client-IP Service Expire-time ---------------------------------------------------------- tcp 9801 none none none tcp 9802 none none none system none none none none tcp 9803 none none none tcp 8080 none none none tcp 9799 none none none tcp 62879 127.0.0.1 task-master none |
Dockimbel 13-May-2011 [10590x2] | Ok, so if you get a new "Connection closed", it means a new HTTP request was sent to Cheyenne. |
BTW, what verbose level are you using? (how many "v" in the command line?) | |
GrahamC 13-May-2011 [10592] | I know v is for verbose, but when you string them together they look like w so vv and w are very similar ... pity you didn't pick another letter such as b :) |
Dockimbel 13-May-2011 [10593] | It depends on the used font, using a monospaced one, it shouldn't have readability issues. ;-) |
GrahamC 13-May-2011 [10594] | Can you change the default font in Altme ? |
Dockimbel 13-May-2011 [10595] | Unfortunately, it doesn't seem possible. |
GrahamC 13-May-2011 [10596x3] | Anyone got a suggestion for a text editor to use on a textarea in a RSP based site ? |
I was using googledocs .. but that keep breaking. | |
ie. editor button brings up a new doc in googledocs .. which is then imported back again. | |
onetom 13-May-2011 [10599x2] | [1]+ Stopped rebol -s cheyenne.r -w 1 -vv this time i started w 2 only for some weird reason |
GrahamC: any url which explains how to do that w google docs? | |
older newer | first last |