Forum OpenACS Q&A: Strange error message

Collapse
Posted by Ben Koot on
Hi folks,

On a clean install oacs 5.13 I get this message on events package http://www.timedeskblog.com/ictp/events/ . Any idea how to solve this? All information is accesible, but the public URL is messed up. If you need code access, mail mailto:ben@timedesk.nl. I did ad an organizer, so the response is weerd. It worked great for about 7 hours, and than created this error message

Thanks

Ben
__________________________________________________________
Server Error

There was a server error processing your request. We apologize.

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:

can't read "organizer(role)": no such variable
while executing
"lang::util::localize $organizer(role)"
invoked from within
"if {"[ad_quotehtml [lang::util::localize ${organizers:rowcount}]]" > "0"} {
append __adp_output "

Organizers:

    "


    ..."
    ("uplevel" body line 120)
    invoked from within
    "uplevel {
    set __adp_output ""

    set __adp_master [template::util::url_to_file "[ad_parameter -package_id [ad_conn subsite_id] DefaultMaster ..."
    (procedure "template::code::adp::/var/lib/aolserver/newinstance/packages..." line 2)
    invoked from within
    "template::code::${template_extension}::$__adp_stub"
    (procedure "template::adp_parse" line 68)
    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
2: Re: Strange error message (response to 1)
Posted by Harish Krishnan on
You would need to make a small correction in the event-info.tcl file. The multirow name is misspelled as @organizer.role@ .. where as it should be @organizers.role@.
Collapse
3: Re: Strange error message (response to 1)
Posted by Michael Steigman on
Harish/Ben,

Is this a known issue with the 5.1 compatible version? If so, can you file a bug?

Collapse
4: Re: Strange error message (response to 1)
Posted by Malte Sussdorff on
Ben, this is a bug and should be submitted to the bug-tracker, not the forums. Though I have to agree, due to the fact that the bug-tracker RSS is down, at least I'm not following up on bugs as quickly as I used to.

Harish, thanks for your comment. Actually it was in event-info.adp. Had you fixed this issue before or did you just detect it? If you had this before, it would be great if you could post patches to the bug-tracker.

Last but not least, the fix was commited on oacs-5-1.

Collapse
5: Re: Strange error message (response to 1)
Posted by Harish Krishnan on
Thanks for the correction Malte. The events package seems to be available only from HEAD and that too it was in contrib. I was looking at the functionality that the package offered and had done some fixing for my instance.
Collapse
6: Re: Strange error message (response to 1)
Posted by Ben Koot on
Hi folks

Thanks for the replies. Bug is filed. https://openacs.org/bugtracker/openacs/bug?bug%5fnumber=2248

Collapse
Posted by Malte Sussdorff on
Hi Ben, when I write "the fix is commited", you do not have to file the bug. After all, it is already fixed and now I have to close it :).