Forum OpenACS Development: Re: Xowiki - Error after umounting instance

Collapse
Posted by Iuri Sampaio on
You're right. I did changed standard deifinitions. I've read this old standard

https://openacs.org/doc/acs-content-repository/tutorial

create function pm_task__new_task_item (
p_task_id integer,
p_project_id integer,
p_title varchar,
p_description varchar,
p_end_date timestamptz,
p_percent_complete numeric,
p_estimated_hours_work numeric,
p_estimated_hours_work_min numeric,
p_estimated_hours_work_max numeric,
p_creation_date timestamptz,
p_creation_user integer,
...

But I dropped them all (all plsql functions) , restarted and the error remains.

Best wishes,

Collapse
Posted by Iuri Sampaio on
By the way, the old standard seems more logic to avoid wrong datatype assignments while coding new plsql.

Why have we changed to

CREATE OR REPLACE FUNCTION mandat__new(
integer,
varchar,
varchar,

...

DECLARE
p_mandat_id ALIAS FOR $1;
p_type_of_transaction ALIAS FOR $2;
p_type_of_property ALIAS FOR $3;
...

Collapse
Posted by Iuri Sampaio on
Gustaff,

Ok. Fixed. I have left one version of mandat__new left. Now, I will rewrite all plsql and run the scripts again.

Best wishes,
Iuri

Collapse
Posted by Gustaf Neumann on
The problem was in mandat__new(), and not not in pm_task__new_task_item(). If you change the definition to:
CREATE OR REPLACE FUNCTION mandat__new(
   p_mandat_id  integer,
   p_type_of_transaction varchar,
   p_type_of_property varchar,
...
at least this error should go away. I was not able to reproduce the problem with the provided definition, but i made the code more robust (updated in CVS).
Collapse
Posted by Iuri Sampaio on
I rolled back to the preivous standard within ... ALIAS FOR $1 ... instead. Later on I'll download it from CVS and try coding that way.

Thanks again.

Collapse
Posted by Iuri Sampaio on
Gustaf,

Here it's the plsql definition:

CREATE OR REPLACE FUNCTION mandat__new(
p_mandat_id integer,
p_code varchar,
p_type_of_transaction smallint,
p_type_of_property smallint,
p_subtype_of_property smallint,
p_rooms_min smallint,
p_surface_min numeric,
p_budget_max numeric,
p_selected_regions text,
p_selected_routes text,
p_unwanted_areas text,
p_charac_required text,
p_requests text,
p_status smallint,
p_payment_mode smallint,
p_tva_p boolean,
p_card_provider varchar,
p_search_reason text,
p_photo_instead_visit_p boolean,
p_current_residence_date date,
p_assurer_company varchar,
p_assurer_contract varchar,
p_doc_not_porsuing boolean,
p_doc_holerite boolean,
p_doc_identity boolean,
p_doc_job_contract boolean,
p_doc_job_rec_letter boolean,
p_customer_id integer,
p_guarantor_id integer,
p_cotenant_id integer,
p_creation_user integer,
p_creation_ip varchar,
p_context_id integer
) RETURNS integer AS $$
DECLARE

BEGIN
...

Collapse
Posted by Iuri Sampaio on
Gustaff,

The problem is not resolved. At first I thought the error was gone, but after inserting the first register (i.e. acs_object) it starts ti fail again.
The complete plsql is defined bellow. As well as the full statup logs

CREATE OR REPLACE FUNCTION mandat__new(
integer,
varchar,
smallint,
smallint,
smallint,
smallint,
numeric,
numeric,
text,
text,
text,
text,
text,
smallint,
smallint,
boolean,
varchar,
text,
boolean,
timestamp,
varchar,
varchar,
boolean,
boolean,
boolean,
boolean,
boolean,
integer,
integer,
integer,
integer,
varchar,
integer
) RETURNS integer AS '
DECLARE
p_mandat_id ALIAS FOR $1;
p_code ALIAS FOR $2;
p_type_of_transaction ALIAS FOR $3;
p_type_of_property ALIAS FOR $4;
p_subtype_of_property ALIAS FOR $5;
...
p_creation_user ALIAS FOR $31;
p_creation_ip ALIAS FOR $32;
p_context_id ALIAS FOR $33;

BEGIN


PERFORM acs_object__new (
p_mandat_id, -- object_id
''mandat_object'', -- object_type
now(), -- creation_date
p_creation_user, -- creation_user
p_creation_ip, -- cretion_ip
p_context_id, -- context_id
true --
);

INSERT INTO mandats (
mandat_id,
code,
type_of_transaction,
type_of_property,

...



) VALUES (
p_mandat_id,
p_code,
p_type_of_transaction,
p_type_of_property,
...
p_cotenant_id
);

RETURN 0;

END;' LANGUAGE 'plpgsql';

25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: obtain fnargs for WORKFLOW_CASE_PKG__DELETE from PostgreSQL via parsing function definition
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Error: Error sourcing /var/www/1contact/packages/xotcl-core/tcl/05-db-procs.tcl:
argument with no name
(creating proc "new")
invoked from within
"::nsf::method::create [self] -per-object $name $arguments $body {*}$conditions"
(procedure "proc" line 6)
::xo::db::sql::mandat ::xotcl::Object->proc
invoked from within
"::xo::db::sql::mandat proc new {{-dbn {}} {-
mandat_id:required} {-
code:required} {-
customer_id:required} {-
type_of_tr..."
("uplevel" body line 1)
invoked from within
"uplevel [list [self] proc {*}$flags $proc_name $arguments $body]"
(procedure "ad_proc" line 3)
::xo::db::sql::mandat ::xotcl::Object->ad_proc
invoked from within
"my ad_proc $object_name $nonposarg_list {Automatically generated method} [dict get $sql_info body]"
(procedure "dbproc_nonposargs" line 52)
::xo::db::sql::mandat ::xo::db::Class->dbproc_nonposargs
invoked from within
"$class_name dbproc_nonposargs [string tolower $object_name]"
(procedure "create_all_functions" line 22)
::xo::db::Class->create_all_functions
invoked from within
"::xo::db::Class create_all_functions"
(in namespace eval "::xo::db" script line 659)
invoked from within
"namespace eval ::xo::db {
#
# ::xo::db::Class is a meta class for interfacing with acs_object_types.
# acs_object_types are instances of this me..."
(file "/var/www/1contact/packages/xotcl-core/tcl/05-db-procs.tcl" line 862)
invoked from within
"source $__file "
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/05-db-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/06-package-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Error: Error sourcing /var/www/1contact/packages/xotcl-core/tcl/06-package-procs.tcl:
superclass: expected a list of classes but got "::xo::db::Object"
::xotcl::Class::slot::superclass ::nx::ObjectParameterSlot->onError
invoked from within
"::xotcl::Class::slot::superclass onError {::xotcl::Class::slot::superclass value=set ::xo::Package superclass ::xo::db::Object} {superclass: expected ..."
::xo::Package ::xotcl::Class->superclass
::xo::PackageMgr ::xotcl::Class->create
invoked from within
"PackageMgr create ::xo::Package -superclass ::xo::db::Object -table_name apm_packages -id_column package_id -object_type apm_package -package_key a..."
(in namespace eval "::xo" script line 200)
invoked from within
"namespace eval ::xo {
#
# Meta-Class for Application Package Classes
#

Class create ::xo::PackageMgr \
-superclass ::xo::db::Class \
..."
(file "/var/www/1contact/packages/xotcl-core/tcl/06-package-procs.tcl" line 9)
invoked from within
"source $__file "
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/06-package-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/06-param-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Error: Error sourcing /var/www/1contact/packages/xotcl-core/tcl/06-param-procs.tcl:
superclass: expected a list of classes but got "::xo::db::Object"
::xotcl::Class::slot::superclass ::nx::ObjectParameterSlot->onError
invoked from within
"::xotcl::Class::slot::superclass onError {::xotcl::Class::slot::superclass value=set ::xo::db::apm_parameter superclass ::xo::db::Object} {superclass:..."
::xo::db::apm_parameter ::xotcl::Class->superclass
::xo::db::Class ::xotcl::Class->create
invoked from within
"::xo::db::Class create $classname -superclass [my object_type_to_class $supertype] -object_type $object_type -supertype $supertype -pretty_name $p..."
(procedure "get_class_from_db" line 13)
::xo::db::Class->get_class_from_db
invoked from within
"::xo::db::Class get_class_from_db -object_type apm_parameter"
(in namespace eval "::xo" script line 8)
invoked from within
"namespace eval ::xo {

Class create ::xo::parameter

# Every OpenACS parameter should work with the methods defined here.
# So, fetch first th..."
(file "/var/www/1contact/packages/xotcl-core/tcl/06-param-procs.tcl" line 108)
invoked from within
"source $__file "
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/06-param-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/10-recreation-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: update_object_doc ::xotcl::RecreationClass ...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: -- softrecreate
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/10-recreation-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/20-Ordered-Composite-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/20-Ordered-Composite-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/30-widget-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/30-widget-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/40-thread-mod-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/40-thread-mod-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/50-protocol-handler-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/50-protocol-handler-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/bgdelivery-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: mutex mid0 created
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/bgdelivery-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/chat-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/chat-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/cluster-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/cluster-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/context-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: update_object_doc ::xo::Context ...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/context-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/cr-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: update_object_doc ::xo::db::CrClass ...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: --Postgres Version 9.5
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Error: Error sourcing /var/www/1contact/packages/xotcl-core/tcl/cr-procs.tcl:
superclass: expected a list of classes but got "::xo::db::Object"
::xotcl::Class::slot::superclass ::nx::ObjectParameterSlot->onError
invoked from within
"::xotcl::Class::slot::superclass onError {::xotcl::Class::slot::superclass value=set ::xo::db::CrItem superclass ::xo::db::Object} {superclass: expect..."
::xo::db::CrItem ::xotcl::Class->superclass
::xo::db::CrClass ::xotcl::Class->create
invoked from within
"::xo::db::CrClass create ::xo::db::CrItem -superclass ::xo::db::Object -table_name cr_revisions -id_column revision_id -object_type content_revisio..."
(in namespace eval "::xo::db" script line 631)
invoked from within
"namespace eval ::xo::db {

::xotcl::Class create ::xo::db::CrClass \
-superclass ::xo::db::Class \
-parameter {
{supertype conte..."
(file "/var/www/1contact/packages/xotcl-core/tcl/cr-procs.tcl" line 9)
invoked from within
"source $__file "
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/cr-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/doc-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/doc-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/generic-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: update_object_doc ::Generic::Form ...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: update_object_doc ::Generic::List ...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/generic-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/html-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/html-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/http-client-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/http-client-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/ical-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: update_object_doc ::xo::ical ...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/ical-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/install-check-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/install-check-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xotcl-core/tcl/policy-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xotcl-core/tcl/policy-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/adp-generator-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Notice: create ADP /var/www/1contact/packages/xowiki/tcl/../www/view-plain.adp, ::xowiki::view-plain ::xowiki::ADP_Generator->init (0ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Notice: create ADP /var/www/1contact/packages/xowiki/tcl/../www/view-links.adp, ::xowiki::view-links ::xowiki::ADP_Generator->init (0ms, 0ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Notice: create ADP /var/www/1contact/packages/xowiki/tcl/../www/view-default.adp, ::xowiki::view-default ::xowiki::ADP_Generator->init (0ms, 0ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Notice: create ADP /var/www/1contact/packages/xowiki/tcl/../www/oacs-view.adp, ::xowiki::oacs-view ::xowiki::ADP_Generator->init (0ms, 0ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Notice: create ADP /var/www/1contact/packages/xowiki/tcl/../www/oacs-view2.adp, ::xowiki::oacs-view2 ::xowiki::ADP_Generator->init (0ms, 0ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Notice: create ADP /var/www/1contact/packages/xowiki/tcl/../www/oacs-view3.adp, ::xowiki::oacs-view3 ::xowiki::ADP_Generator->init (0ms, 0ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Notice: create ADP /var/www/1contact/packages/xowiki/tcl/../www/view-book.adp, ::xowiki::view-book ::xowiki::ADP_Generator->init (0ms, 0ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Notice: create ADP /var/www/1contact/packages/xowiki/tcl/../www/view-book-no-ajax.adp, ::xowiki::view-book-no-ajax ::xowiki::ADP_Generator->init (0ms, 0ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/adp-generator-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/bootstrap-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: --sourcing /var/www/1contact/packages/xowiki/tcl/menu-procs.tcl, ::xo::library ->require (0ms, 1ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: update_object_doc ::xo::Table::BootstrapTableRenderer::AnchorField ...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: update_object_doc ::xo::Table::BootstrapTableRenderer::AnchorField ...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/bootstrap-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/category-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/category-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/chat-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/chat-procs.tcl.
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/folder-procs.tcl...
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: --sourcing /var/www/1contact/packages/xowiki/tcl/xowiki-procs.tcl, ::xo::library ->require (0ms, 11ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Error: Error sourcing /var/www/1contact/packages/xowiki/tcl/xowiki-procs.tcl:
superclass: expected a list of classes but got "::xo::db::CrItem"
::xotcl::Class::slot::superclass ::nx::ObjectParameterSlot->onError
invoked from within
"::xotcl::Class::slot::superclass onError {::xotcl::Class::slot::superclass value=set ::xowiki::Page superclass ::xo::db::CrItem} {superclass: expected..."
::xowiki::Page ::xotcl::Class->superclass
::xo::db::CrClass ::xotcl::Class->create
invoked from within
"::xo::db::CrClass create Page -superclass ::xo::db::CrItem -pretty_name "#xowiki.Page_pretty_name#" -pretty_plural "#xowiki.Page_pretty_plural#" -ta..."
(in namespace eval "::xowiki" script line 5)
invoked from within
"namespace eval ::xowiki {
#
# Create classes for different kind of pages
#
::xo::db::CrClass create Page -superclass ::xo::db::CrItem \
..."
(file "/var/www/1contact/packages/xowiki/tcl/xowiki-procs.tcl" line 9)
invoked from within
"source $__file "
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: --sourcing /var/www/1contact/packages/xowiki/tcl/includelet-procs.tcl, ::xo::library ->require (0ms, 3ms)
[25/Apr/2017:10:52:48][3619.7f136a8cf700][-main-] Notice: --sourcing /var/www/1contact/packages/xowiki/tcl/form-field-procs.tcl, ::xo::library ->require (0ms, 24ms)
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/folder-procs.tcl.
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/import-procs.tcl...
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/import-procs.tcl.
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/lcs-procs.tcl...
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/lcs-procs.tcl.
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/link-procs.tcl...
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/link-procs.tcl.
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/notification-procs.tcl...
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/notification-procs.tcl.
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/package-procs.tcl...
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Error: Error sourcing /var/www/1contact/packages/xowiki/tcl/package-procs.tcl:
superclass: expected a list of classes but got "::xo::Package"
::xotcl::Class::slot::superclass ::nx::ObjectParameterSlot->onError
invoked from within
"::xotcl::Class::slot::superclass onError {::xotcl::Class::slot::superclass value=set ::xowiki::Package superclass ::xo::Package} {superclass: expected..."
::xowiki::Package ::xotcl::Class->superclass
::xo::PackageMgr ::xotcl::Class->create
invoked from within
"::xo::PackageMgr create ::xowiki::Package -superclass ::xo::Package -pretty_name "XoWiki" -package_key xowiki -parameter {
{folder_id 0}
..."
(in namespace eval "::xowiki" script line 3)
invoked from within
"namespace eval ::xowiki {

::xo::PackageMgr create ::xowiki::Package \
-superclass ::xo::Package \
-pretty_name "XoWiki" \
-packag..."
(file "/var/www/1contact/packages/xowiki/tcl/package-procs.tcl" line 9)
invoked from within
"source $__file "
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loaded packages/x

25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Error: Error sourcing /var/www/1contact/packages/xowiki/tcl/xowiki-procs.tcl:
superclass: expected a list of classes but got "::xo::db::CrItem"
::xotcl::Class::slot::superclass ::nx::ObjectParameterSlot->onError
invoked from within
"::xotcl::Class::slot::superclass onError {::xotcl::Class::slot::superclass value=set ::xowiki::Page superclass ::xo::db::CrItem} {superclass: expected..."
::xowiki::Page ::xotcl::Class->superclass
::xo::db::CrClass ::xotcl::Class->create
invoked from within
"::xo::db::CrClass create Page -superclass ::xo::db::CrItem -pretty_name "#xowiki.Page_pretty_name#" -pretty_plural "#xowiki.Page_pretty_plural#" -ta..."
(in namespace eval "::xowiki" script line 5)
invoked from within
"namespace eval ::xowiki {
#
# Create classes for different kind of pages
#
::xo::db::CrClass create Page -superclass ::xo::db::CrItem \
..."
(file "/var/www/1contact/packages/xowiki/tcl/xowiki-procs.tcl" line 9)
invoked from within
"source $__file "
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/xowiki-procs.tcl.
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/xowiki-sc-procs.tcl...
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/xowiki-sc-procs.tcl.
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/xowiki-utility-procs.tcl...
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: create/recreate ::xowiki::utility without cleanup
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/xowiki-utility-procs.tcl.
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/xowiki-www-procs.tcl...
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Error: Error sourcing /var/www/1contact/packages/xowiki/tcl/xowiki-www-procs.tcl:
invalid command name "Page"
while executing
"Page instproc clipboard-add {} {
my instvar package_id

if {![my exists_form_parameter "objects"]} {
my msg "nothing to copy"
}
..."
(in namespace eval "::xowiki" script line 10)
invoked from within
"namespace eval ::xowiki {
#
# This block contains the externally callable methods. We use as
# naming convention dashes as separators.
#

#
..."
(file "/var/www/1contact/packages/xowiki/tcl/xowiki-www-procs.tcl" line 12)
invoked from within
"source $__file "
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loaded packages/xowiki/tcl/xowiki-www-procs.tcl.
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: Loading packages/xowiki/tcl/yui-procs.tcl...
[25/Apr/2017:10:52:49][3619.7f136a8cf700][-main-] Notice: update_object_doc ::YUI::loader ...