Menu

I can't access Resource assignments

2020-06-08
2022-02-22
  • Hamna Hashmi

    Hamna Hashmi - 2020-06-08

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

    I agree with the privacy statement.

    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 "object_availability_hash(526)": no such element in array while executing "set val $object_availability_hash($parent_cc_id)" ("uplevel" body line 12) invoked from within "uplevel 1 $code_block " ("uplevel" body line 1) invoked from within "uplevel 1 $code_block " invoked from within "db_with_handle -dbn $dbn db { set selection [db_exec select $db $full_statement_name $sql] set counter 0 while { [db_getrow $..." (procedure "db_foreach" line 38) invoked from within "db_foreach ccs $cc_sql { set object_parent_hash($cost_center_id) $parent_id set object_type_hash($cost_center_id) "im_cost_center" set object_name_..." (procedure "im_resource_mgmt_resource_planning_percentage" line 340) invoked from within "im_resource_mgmt_resource_planning_percentage -report_start_date $start_date -report_end_date $end_date -top_vars $top_vars -report_project_id $pr..." ("uplevel" body line 93) invoked from within "uplevel { # /packages/intranet-reporting/www/resources-planning.tcl # # Copyright (c) 2003-2006 ]project-open[ # # All rights reserved. Please che..." (procedure "code::tcl::c:/project-open/servers/projop/packages/intranet-..." line 2) invoked from within "code::tcl::$__adp_stub" ("uplevel" body line 12) invoked from within "uplevel { if { [file exists $__adp_stub.tcl] } { # ensure that data source preparation procedure exists and is up-to-date ..." (procedure "adp_prepare" line 2) invoked from within "adp_prepare" invoked from within "template::adp_parse [file rootname [ad_conn file]] {}" (procedure "adp_parse_ad_conn_file" line 6) 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/$extra_url"" ("uplevel" body line 2) invoked from within "uplevel $code" invoked from within "ad_try { rp_serve_abstract_file "$root/$extra_url" set tcl_url2file([ad_conn url]) [ad_conn file] set ..."

     
  • Frank Bergmann

    Frank Bergmann - 2020-06-09

    Hi Hamna,

    Sorry, the error message is not enough.
    Which version do you run?
    How did you create this situation? (steps to reproduce)
    * Can you reproduce this on the demo.project-open.com server?

    Cheers
    Frank

     
  • Frank Bergmann

    Frank Bergmann - 2020-06-09

    Hi Hamma,

    There were issues in a previous version of ]po[ with the resource management, that's why it's so important to understand which version you are using.

    This is a very difficult bug, because it is probably related to some data in your system which isn't entered 100% correctly. Probably some field is "null" while the system expects a value there.

    => One path according to the error message:
    "can't read object_availability_hash(526)".
    I've checked 526 is the "Administration"
    cost center. Please check there and make
    sure all cost centers form a tree. Did you
    change something about cost centers
    recently?

    => Another path is to check the data in the system and
    make sure that all tasks (tables im_projects and
    im_timesheet_tasks) have reasonable values in
    all fields.

    => Another path would be to upgrade to the latest
    version of ]po[ and see if the error still occurs
    (which it should not). At least we would be able
    to fix it there.

    Sorry, there is no easy solution here.

    Cheers
    Frank

     
  • lizettee boucher

    Same issue facing with me.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.