Hello,
update yesterday mine VPS on debian 7.8 (TCL 8.5), since then i can't start the bot with mel included.. any help i s welcome.. THANK YOU
error:
[09:45:34] Initializing mEL 2.0....
[09:45:34] mEL 2.0 - Running startup tests...
[09:45:34] mEL 2.0 - Tcl version 8.5 detected... OK.
[09:45:34] mEL 2.0 - Eggdrop version 1.8.0+infiniteinfo detected... OK.
[09:45:34] mEL 2.0 - mel exists and is a directory... OK.
[09:45:34] mEL 2.0 - mel/logs exists and is a directory... OK.
[09:45:34] mEL 2.0 - memyselfandi is a valid user on this bot... OK.
[09:45:34] Tcl error in file 'justbot.conf':
[09:45:34] invalid bareword "08"
in expression "08 -1";
should be "$08" or "{08}" or "08(...)" or ... (invalid octal number?)
(parsing expression "08 -1")
invoked from within
"expr [lindex $t 3] -1"
(procedure "::mel::checktimer" line 57)
invoked from within
"::mel::checktimer"
invoked from within
"if {[::mel::starttests]} {
putlog $::mel::starterror
die "Fatal error - Can not continue"
} else {
::mel::arrayinit
::mel::logfile datestamp all
..."
(file "scripts/mel2.tcl" line 1105)
invoked from within
"source scripts/mel2.tcl"
(file "justbot.conf" line 1501)
can be closed..
fixed with:
replace
expr [lindex $t 3] -1
with
expr [string trimleft [lindex $t 3] "0"] -1
I can confirm that it works.
It seems to be related to [#17].
Related
Bugs: #17
Complete error details:
mel2.tcl uploaded here.
Last edit: Zangune 2015-08-20