Forum OpenACS Development: Re: update of the xotcl packages for oacs

Collapse
Posted by Malte Sussdorff on
xowiki 0.14 does not work on a fresh install at all. Sadly I cannot detect what exactly is wrong with it as I have no clue about xotcl. Maybe someone more knowledgable can take a look.

One error right from the beginning preventing the loading of xowiki-procs.tcl

[14/Dec/2005:17:38:05][5796.134557696][-main-] Error: Ns_PgExec: result status: 7 message: ERROR: column "page_id" duplicated
CONTEXT: PL/pgSQL function "content_type__refresh_view" line 55 at execute statement
PL/pgSQL function "content_type__create_type" line 54 at perform

[14/Dec/2005:17:38:05][5796.134557696][-main-] Error: Error sourcing /usr/local/aolserver/dotlrn-demo/packages/xowiki/tcl/xowiki-procs.tcl:
Database operation "0or1row" failed (exception NSDB, "Query was not a statement returning rows.")

ERROR: column "page_id" duplicated
CONTEXT: PL/pgSQL function "content_type__refresh_view" line 55 at execute statement
PL/pgSQL function "content_type__create_type" line 54 at perform

SQL:
select content_type__create_type(
'CrWikiPage','::xowiki::Page','Wiki Page', 'Wiki Pages',
'generic_cr_wiki_page', 'page_id', NULL
)

while executing
"ns_pg_bind 0or1row nsdb0 {
select content_type__create_type(
:object_type,:supertype,:pretty_name, :pretty_plural,
:table_name, :id_..."
("uplevel" body line 1)
invoked from within