Menu

#42 Error intranet-resource-management can't read "start_date::date": no such variable

v1.0_(example)
closed
None
5
2015-02-12
2014-04-01
Xavi
No

He actualizado intranet-resource-management intranet-planning, intranet-reporting con el proceso de siempre CVS reiniciando etc...
Pero ahora me aparece el siguiente error:

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 "start_date::date": no such variable
    while executing
"db_list get_work_days "select * from im_absences_working_days_period_weekend_only($start_date::date, $end_date::date) as series_days (days date)""
    (procedure "im_absence_working_days_weekend_only" line 3)
    invoked from within
"im_absence_working_days_weekend_only -start_date {2014-12-08 09:00:00+01} -end_date 2014-12-13"
    ("eval" body line 1)
    invoked from within
"eval $script"
    invoked from within
"ns_cache eval util_memoize $script {
        list $current_time [eval $script]
    }"
    (procedure "util_memoize" line 20)
    invoked from within
"util_memoize [list im_absence_working_days_weekend_only -start_date "$start_date" -end_date "$end_date"]"
    ("uplevel" body line 138)
    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 36)
    invoked from within
"db_foreach planned_hours_loop $planned_hours_sql {

    if {"" == $planned_units} { set planned_units 0 }
    if {"" == $percent_completed} { set percent_co..."
    (procedure "im_resource_mgmt_resource_planning" line 765)
    invoked from within
"im_resource_mgmt_resource_planning  -start_date $start_date  -end_date $end_date  -top_vars $top_vars  -project_id $project_id  -project_status_id $pr..."
    ("uplevel" body line 94)
    invoked from within
"uplevel {
# /packages/intranet-reporting/www/resources-planning.tcl
#
# Copyright (c) 2003-2006 ]project-open[
#
# All rights reserved. Please check
#..."
    (procedure "code::tcl::/web/projop/packages/intranet-resource-management..." 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
      adp_init t..."
    (procedure "adp_prepare" line 2)
    invoked from within
"adp_prepare"
    invoked from within
"template::adp_parse [file root [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 tcl_url2path..."

Discussion

  • Anonymous

    Anonymous - 2014-04-01

    Hi!

    Please update your intranet-resource-management package via CVS using:

    cd /web/projop/packages/intranet-resource-management

    cvs update -PdA

    killall -9 nsd

    Please make sure you are running ]po[ V4.0.4 or higher before. Otherwise please upgrade to 4.0.4 before performing this patch.

    Cheers!
    Frank

     
  • Frank Bergmann

    Frank Bergmann - 2014-04-01
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,4 +1,3 @@
    -
     He actualizado intranet-resource-management intranet-planning, intranet-reporting con el proceso de siempre CVS reiniciando etc...
     Pero ahora me aparece el siguiente error:
    
    • status: open --> closed
     
  • Xavi

    Xavi - 2014-04-02

    He actualizado otra vez y he reiniciado pero ahora aparece un error parecido pero diferente aparece el sigueinte error:

    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:

    invalid command name "im_resource_mgmt_resource_planning"
        while executing
    "im_resource_mgmt_resource_planning  -start_date $start_date  -end_date $end_date  -top_vars $top_vars  -project_id $project_id  -project_status_id $pr..."
        ("uplevel" body line 94)
        invoked from within
    "uplevel {
    # /packages/intranet-reporting/www/resources-planning.tcl
    
     

Anonymous
Anonymous

Add attachments
Cancel





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.