Forum OpenACS Q&A: xowiki templates

Collapse
Posted by Jon Griffin on
I am trying to use templates and I get the following error:
This is with head versions of xowiki and xotcl-core.
Also, my search seems to not work, I have tsearch installed etc.

list element in quotes followed by ":" instead of space
while executing
"lindex $source 0"
(procedure "substitute_markup" line 11)
::830 ::xowiki::Page->substitute_markup
invoked from within
"my substitute_markup $T"
(procedure "get_content" line 12)
::830 ::xowiki::PageInstance->get_content
invoked from within
"my get_content"
(procedure "render" line 12)
::830 ::xowiki::Page->render
invoked from within
"my render"
(procedure "view" line 9)
::830 ::xowiki::Page->view
invoked from within
"$object $method"
(procedure "call" line 6)
::779 ::xowiki::Package->call
invoked from within
"my call $page $method"
(procedure "invoke" line 8)
::779 ::xowiki::Package->invoke
invoked from within
"::$package_id invoke -method $m"
invoked from within
"::$package_id reply_to_user [::$package_id invoke -method $m]"
(file "/home/jon/web/salsab-dev/live/packages/xowiki/www/index.vuh" line 21)
invoked from within
"source [ad_conn file]"
(procedure "rp_handle_tcl_request" line 3)
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 -noredirect -nodirectory -extension_pattern ".vuh" "$root$prefix""
("uplevel" body line 3)
invoked from within
"uplevel $code"
invoked from within
"ad_try {
ad_conn -set path_info [string range $path [expr [string length $prefix] - 1] end]
rp_serve_abstract_file -noredirect -nodirectory -e..."

Collapse
2: Re: xowiki templates (response to 1)
Posted by Jon Griffin on
Also, I am trying to use the insert image feature and get this error:

No page 'en/xinha/insert-image' available.

Is there a setting somewhere that needs to be changed?

Collapse
3: Re: xowiki templates (response to 1)
Posted by Gustaf Neumann on
fixed in cvs head.
Collapse
4: Re: xowiki templates (response to 1)
Posted by Jon Griffin on
Gustaf
I am still getting this.

No page 'en/xinha/insert-ilink'

Collapse
5: Re: xowiki templates (response to 1)
Posted by Jon Griffin on
BTW,
Here is my cvs co

cvs -d:pserver:mailto:anonymous@cvs.openacs.org:/cvsroot co xowiki

I hate cvs, can someone please put up a link that actually says the proper way to co a package from the different branches.

There used to be one in an obvious place, but I can't find it.

This page 404's
https://openacs.org/xowiki/pages/en/Get+the+Code?

Collapse
6: Re: xowiki templates (response to 5)
Posted by Gustaf Neumann on
Hi Jon,

Gustaf
I am still getting this.

No page 'en/xinha/insert-ilink'

the message http://www.openacs.org/forums/message-view?message_id=496772 referred to the first bug of this thread only. I have to find a proper way to address the insert-ilink problem...

concerning CVS: what i do usually is to get the full openacs-4 tree from cvs head (added the command to the "Get the Code" page) and link packages/xowiki and packages/xotcl-core into my installation. to update, i use then in these directories a "cvs -q update".

btw, the link from your posting does not 404 (at least not under firefox or safari). What browser are you using?

Collapse
7: Re: xowiki templates (response to 4)
Posted by Gustaf Neumann on
Jon, if you upgrade acs-templating and blank-master from cvs head, the problem will magically go away. Newer versions of openacs mount acs-templating, which contains these the tcl files for the xinha dialogs.