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

World: r3wp

[!Cheyenne] Discussions about the Cheyenne Web Server

Dockimbel
15-Dec-2009
[6503]
Endo: it's confirmed, version 0.9.19 fails on your test case while 
the development version seems to run it fine.
Endo
15-Dec-2009
[6504]
I downloded 0.9.20, testing in a minute
Dockimbel
15-Dec-2009
[6505]
Let me know if you need other binaries (the one I've sent you is 
made with enface).
Endo
15-Dec-2009
[6506x3]
Ok, I've tested it, works fine now.
What is the difference enface version?
It doesn't work as a service on my pc. If the other version can work 
as a service, could you please send it to me?
Dockimbel
16-Dec-2009
[6509x3]
Windows Service mode fixed in SVN r40. Enpro binary available here 
: http://cheyenne-server.org/tmp/cheyenne-r40.exe
Enface = enpro + View engine, more info about various REBOL kernels 
here : http://rebol.com/docs/sdk/kernels.html
Btw, I should use /Face and /Pro terms which are more correct when 
talking about kernel flavours.
Endo
16-Dec-2009
[6512]
Both service & session features works now. Thank you so much.
Graham
16-Dec-2009
[6513]
/face version doesn't work in service mode ... is that correct?  
I haven't tried it again recently.
Dockimbel
16-Dec-2009
[6514]
Right, /Face in service mode can't survive a logoff. It's related 
to how REBOL windows are hooked to screen and lack of correct handling 
of some special events sent by the OS during logoff procedure.
sqlab
18-Dec-2009
[6515x2]
I had a problem to start the recent cheyenne version as a service 
after encapping.
I got always crash.logs that it could not find some files.
After manually copying the files it works.
Can it be that in .cache.efs the new features are not included?
ok, this was not a problem running as a service, but cheyenne.exe 
did not start at all, as it could not find some Uniserve modules.
After adding adding all of them to the cache, it works again.
Dockimbel
18-Dec-2009
[6517]
.cache.efs may have been too old. It is refreshed when you start 
Cheyenne from sources. As a rule of thumb : boot Cheyenne in source 
mode to refresh the encap cache definitions before encapping (especially 
if you did a SVN update).
sqlab
18-Dec-2009
[6518]
Thanks,

Cheyenne is really one of the Rebol programs, I use without any own 
modifications.
Janko
18-Dec-2009
[6519x3]
could there be any problem with running two cheyennes on different 
http ports on same computer ?
well, I am quite sure not this is the problem, I thought before that 
the problem was with accepting the port for ex. 8080 but now I put 
nginx in front which will send requests to each othe them depending 
on the virtual host ... but it's the same, one one runs the other 
can't run. Could this be because they use same ports for workers 
or something like that?
not = now
Graham
18-Dec-2009
[6522x3]
You can't run two Cheyennes on the same PC without some issues.
the logging won't work properly .. I think both will be logged by 
one instead of each having their own logs.
Doc has said he will fix it .. but I doubt it's a priority.
Janko
18-Dec-2009
[6525]
I could live with loging , it's a somewhat temporary solution .. 
but here the second cheyenne crashes
Graham
18-Dec-2009
[6526]
Well, I don't think it serves properly either ...
Dockimbel
18-Dec-2009
[6527]
The workers depend on task-master service which will change it's 
listening port number if run on port <> 80. So no issue with workers. 
But others services have been added like RConsole, MTA and Logger 
which are not "multi-instances safe" yet.
Janko
18-Dec-2009
[6528x2]
I want to run another webapp on vps where I have site-assistant on. 
but site assistant is written in older version of cheyenne and I 
don't have time to port it to latest right now. that's why I am doing 
this
(and this new app is written in latest) .. maybe I should try to 
port it.. can't take taht much time
Dockimbel
18-Dec-2009
[6530]
Logger service is for debugging messages btw, it doesn't handle HTTP 
logs.
Graham
18-Dec-2009
[6531x2]
Oh yeah ... it was trace.log I was thinking of.
I don't think I managed to get two Cheyennes working at the same 
time properly.
Dockimbel
18-Dec-2009
[6533]
I used to run several Cheyenne instance on linux server but it was 
a long time ago (v0.9.15 or 16). I didn't do much testing on that 
use case since then.
Janko
18-Dec-2009
[6534x2]
I am using debian .. I will port s-a to new one .. probably won't 
be that many changes, only problem is testing it all again and being 
sure it works ok ..
and I was so proud how I solved the problem with nginx :)
Dockimbel
18-Dec-2009
[6536x2]
I'll have a look this weekend on this issue to see if I can get a 
quick fix (it wasn't simple last time I've checked, but the cold 
freezing wind blowing out here these days might help my brain be 
better irrigated ;-)).
IIRC, having multiple instances on Windows was significantly harder 
than on UNIX platforms. I'll run a full testing on that issue tomorrow 
to get a better picture.
Janko
18-Dec-2009
[6538]
you don't have to for my specific case, I am already porting ... 
I would have to sooner or later
Dockimbel
18-Dec-2009
[6539]
It needs to be fixed anyway. I, sometimes, also may have needs to 
run different Cheyenne versions on the same production server at 
the same time. Graham also has needs for this, so I think it's time 
to settle this issue once and for all.
Janko
18-Dec-2009
[6540]
yes, if it will work it will be very good too.. sooner or later one 
might need somethig like that
Dockimbel
18-Dec-2009
[6541]
I'll have some free time from now 'til the beggining of next year 
that I intend to devote mainly to Cheyenne and CureCode, and if time 
permits, on some new frameworks.
Janko
18-Dec-2009
[6542x3]
my wishlist is solving the compression error wher error happens (probably 
harder) and additional option for debug where I could see error output 
in browser like in debug but there would be no debug toolbar (probably 
simple) :))
and option to globablly in conf file set compression off maybe
none of this is urgent.. just few ideas from a happy user :)
Dockimbel
18-Dec-2009
[6545]
Compression error when error happens

 : that one is solved in 0.9.20 (current development version), see 
 ChangeLog.
Janko
18-Dec-2009
[6546]
oh great!
Dockimbel
18-Dec-2009
[6547]
improved debugging : on my todo list. I might try to emit the debug 
info to a JS console like Firebug's one or a custom one.
Janko
18-Dec-2009
[6548x2]
aha, that would be cool , I use firebug too
and most webdews should if they don't
Dockimbel
18-Dec-2009
[6550]
Just for teasing, I've prototyped a Hibernate-like layer for REBOL, 
just read-only for now (only issuing SELECT queries). I'd like to 
push that prototype further to have a complete database abstraction 
layer with object (or blocks) to relational mapping abilities. The 
goal is to kiss goodbye to SQL (for most operations) and be database 
agnostic (the database drivers would have to conform to a specific 
interface, probably the one used by mysql:// and RT db drivers).
Janko
18-Dec-2009
[6551x2]
interesting .. I specifically am otherwise not the ORM fan , but 
so far I am almost the only one I know (except Maxim) and I talked 
to a lot of people about it :)
so this will  be a good feature to many