Forum OpenACS Development: Problem install or update packages

Hi, I have a problem with OpenACS, someone can help me, thanks for your help.

-------------------------------------------------
HTTP/1.1 500 Internal Server Error Set-Cookie: ad_session_id=830918%2c624%2c1+%7b642+1241726604+156A95491C187CC19B0AED5D00A1EF48B114ECE9%7d; Path=/; Max-Age=1200 Expires: Thu, 7 May 2009 19:43:24 GMT Pragma: no-cache Cache-Control: no-cache Server: AOLserver/4.5 MIME-Version: 1.0 Date: Thu, 7 May 2009 19:43:24 GMT Content-Type: text/html; charset=utf-8 Content-Length: 12016 Connection: close

----------------------------------------------

Here is a detailed dump of what took place at the time of the error, which may assist a programmer in tracking down the problem:

no encoding for type "text/html"
while executing
"ns_startcontent -type $content_type"
(procedure "ReturnHeaders" line 6)
invoked from within
"ReturnHeaders"
(procedure "ad_progress_bar_begin" line 6)
invoked from within
"ad_progress_bar_begin -title "Installing Packages" -message_1 "Installing selected packages, please wait ..." -message_2 "We will continue automati..."
("uplevel" body line 18)
invoked from within
"uplevel {
ad_page_contract {
Install packages -- actual installation

@param install Tcl list of packages to install in the order in wh..."
(procedure "code::tcl::/web/projop/packages/acs-admin/www/install/instal..." line 2)
invoked from within
"code::tcl::$__adp_stub"
invoked from within
"if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init tcl $__adp_stub
..."
("uplevel" body line 3)
invoked from within
"uplevel {

if { [file exists $__adp_stub.tcl] } {

# ensure that data source preparation procedure exists and is up-to-date
adp_init t..."
(procedure "adp_prepare" line 2)
invoked from within
"adp_prepare "
(procedure "template::adp_parse" line 30)
invoked from within
"template::adp_parse [file root [ad_conn file]] {}"
(procedure "adp_parse_ad_conn_file" line 5)
invoked from within
"$handler"
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
$handler
} ad_script_abort val {
# do nothing
}"
invoked from within
"rp_serve_concrete_file [ad_conn file]"
(procedure "rp_serve_abstract_file" line 60)
invoked from within
"rp_serve_abstract_file "$root/$path""
("uplevel" body line 2)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
rp_serve_abstract_file "$root/$path"
set tcl_url2file([ad_conn url]) [ad_conn file]
set tcl_url2path_info..."

Collapse
Posted by Gustaf Neumann on
Dear Jonathan,

You are using a version of OpenACS not compatible with aolserver 4.5. I have added this compatibility in July 2006 (nearly three years ago).

One of the changes in this regard was:
http://fisheye.openacs.org/changelog/OpenACS/?cs=MAIN:gustafn:20060701105724

I would recommend to upgrade to a newer version of OpenACS and to use Aolserver 4.5.1 instead of 4.5.0.

Best regards
-gustaf neumann

Collapse
Posted by Iuri Sampaio on
the problem is not clear to me,

if you want to adventure i would start with the line at error.log. do you see the API ad_progress_bar_begin?

procedure "ad_progress_bar_begin" line 6)
invoked from within
"ad_progress_bar_begin -title "Installing Packages" -message_1 "Installing selected packages, please wait ..." -message_2 "We will continue automati..."
("uplevel" body line 18)
invoked from within

or just listen to gustaf:
"I would recommend to upgrade to a newer version of OpenACS and to use Aolserver 4.5.1 instead of 4.5.0."

and get yourself out of it ;)