You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by Andy Doerr <an...@swbell.net> on 2004/04/27 20:31:58 UTC

Two Issues with current Rivet version

I just upgraded my Tcl 8.4.4 through the FreeBSD ports, so I decided to grab
the most current version of tcl-rivet and tried to install it on my machine.

2 things:

1. When I add the following lines to the httpd.conf in the correct
VirtualHost I get an error.

RivetServerConf GlobalInitScript "source
/usr/local/rivet/rivet-tcl/handleerror.tcl"
RivetServerConf ErrorScript "handle_error"

Error:
Message=can't find package Trf 2.0 while executing "package require Trf 2.0"
(Message=$::errorInfo)


2. I get the following when I load a page using DIODisplay.

can't upvar from variable to itself
    while executing
"::DIODisplay ::request::$instance \
	-DIO ::request::adminusers \
	-title "Ticket-Ex Admin Users" \
	-functions {Search Add} \
	-rowfunctions {Details..."
    (file "admin.cfg" line 15)
    invoked from within
"source admin.cfg"
    (in namespace eval "::request" script line 9)
    invoked from within
"namespace eval request {
puts -nonewline ""


Code is as follows
<? #admin.rvt

set instance page

source admin.cfg

page show

?>


###### Begin admin.cfg #######
    package require form
    package require DIO
    package require DIODisplay

    source ~ticket-ex/html/admin/tools.tcl

    ::DIO::handle Mysql ::request::adminusers \
        -user neobot \
        -pass Sqlpa55 \
        -db ticket-ex \
        -table AdminUsers \
        -keyfield login \

    ::DIODisplay ::request::$instance \
        -DIO ::request::adminusers \
        -title "Ticket-Ex Admin Users" \
        -functions {Search Add} \
        -rowfunctions {Details Edit Delete} \
        -rowfields {login name email} \

    #BEGIN FIELD CONFIG

    $instance field name \
        -SIZE 40 \

    $instance field email \
        -SIZE 40

    $instance field login \
        -SIZE 40

    $instance field password \
        -SIZE 40 \
        -type extended_password

    #END FIELD CONFIG

    $instance searchfields {name login email}

####### END admin.cfg ##########


Any Thoughts?


---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org