Index: openacs-4/packages/xotcl-core/tcl/06-package-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xotcl-core/tcl/06-package-procs.tcl,v diff -u -r1.41.2.58 -r1.41.2.59 --- openacs-4/packages/xotcl-core/tcl/06-package-procs.tcl 16 Aug 2024 13:55:53 -0000 1.41.2.58 +++ openacs-4/packages/xotcl-core/tcl/06-package-procs.tcl 25 Aug 2024 17:05:12 -0000 1.41.2.59 @@ -254,13 +254,20 @@ # the call and result. # set site_wide_instance_id [::xo::xotcl_package_cache eval site_wide_package-${:package_key} { - acs_admin::require_site_wide_package \ - -package_key ${:package_key} \ - -configuration_command $cmd}] + set r [acs_admin::require_site_wide_package \ + -package_key ${:package_key} \ + -configuration_command $cmd] + if {$r eq ""} { + ns_log warning "acs_admin::require_site_wide_package -package_key ${:package_key}" \ + "returned empty pacakge_id. Do not cache!" + break + } + set r + }] } - + #ns_log notice "======require_site_wide_info site_wide_instance_id -> <$site_wide_instance_id>" - + # # During install, no xo::cc is available, but it seems to be # needed for instantiating prototype pages. So provide a best @@ -281,7 +288,7 @@ } return ${:site_wide_info} } - + PackageMgr instproc configure_fresh_instance { {-package_id:required} {-parameter_page_info ""}