Excuse me calling it like this:

package require sqlite3
package require Session
package require DIO
::DIO::handle Tdbc Sqlite3 ::DIO -db "session.db"

Greetings

Quoting [email protected]:

Defining DIO like this solved the error:
::DIO::handle ::DIO::Tdbc ::Sqlite3 ::DIO -db "session.db"

Greetings Louis
Quoting [email protected]:

Hello Everyone,
I encountered a bug that appears sometimes while loading a simple session example site.

command "DIO" already exists in namespace "::"
   while executing
"::itcl::parser::handleClass ::DIO::Tdbc ::DIO::Tdbc DIO Sqlite3 -db session.db"
   invoked from within
"::DIO::Tdbc DIO Sqlite3 -db session.db"
   ("uplevel" body line 1)
   invoked from within
"uplevel \#0 ::DIO::$interface $obj $tdbc_driver {*}$args"
   (procedure "::DIO::handle" line 24)
   invoked from within
"::DIO::handle Tdbc Sqlite3 DIO -db "session.db""
   (in namespace eval "::request" script line 6)
   invoked from within
"namespace eval ::request $script"
   ("::try" body line 12)

CODE:
package require sqlite3
package require Session
package require DIO
::DIO::handle Tdbc Sqlite3 DIO -db "session.db"
Session SESSION -debugMode 0
SESSION activate

Currently trying to solve this.

Thank you


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to