Forum OpenACS Development: Re: problems with tcl threads2.6 and aolserver4

Collapse
Posted by Orzenil Silva Junior on
Gustaf,

My threadPoolCmd.c version is newer than v 1.26

* RCS: @(#) $Id: threadPoolCmd.c,v 1.28 2004/11/27 06:11:02 vasiljevic Exp $

i downloaded threads2.6 from tcl.sf.net: http://prdownloads.sourceforge.net/tcl/thread2.6.tar.gz?download

following changes were introducing in v 1.28 over v 1.26 (directly from cvs):

http://cvs.sourceforge.net/viewcvs.py/tcl/thread/generic/threadPoolCmd.c?r1=1.28&r2=1.26&diff_format=u

More info about my environment:
debian gnu/linux ( linux kernel: 2.6.5-1-686)
tcl8.4.5
aolserver4.0.0r2

Unfortunately xotcl-stuff still doesnt work in my openacs-5-1-3 + dotlrn-2-1b install. Errors:

- http://servername/status/index

invalid command name "seconds"
while executing
"seconds set trend"
invoked from within
"thread::send $tid "$o $args""
(procedure "do" line 37)
::throttleThread ::THREAD->do
invoked from within
"throttleThread do $t set trend"
(procedure "counterTable" line 4)
invoked from within
"counterTable Views [list seconds Second minutes Minute hours Hour]"
invoked from within
"set views_trend [counterTable Views [list seconds Second minutes Minute hours Hour]]"
("uplevel" body line 102)
invoked from within
"uplevel {

# present usage statistics, active users, etc

...

- http://servername:8000/status/whos-online

invalid command name "Users"
while executing
"Users totalInfo"
invoked from within
"thread::send $tid "$o $args""
(procedure "do" line 37)
::throttleThread ::THREAD->do
invoked from within
"throttleThread do Users totalInfo"
invoked from within
"foreach element [throttleThread do Users totalInfo] {
foreach {user_id pa timestamp hits} $element break
if {[string first . $user_id] > 0} {
..."
("uplevel" body line 49)
invoked from within
"uplevel {
ad_page_contract {
Displays who's currently online

thanks,

Happy new year

.: My wish for 2005: learn xotcl ("exotickle" 😊 )