After installing the tclplugin31-win32-ix86.xpi in Mozilla Firefox 2.0.0.6 and loading a web page with an embedded tclet I get an error:
[NpInitInterp] Failed to initialize Tcl!
After confirming the dialog box I get a subsequent error:
[PANIC] could not find token "npInstance" in RegisterToken
After confirming this dialog box the browser terminates with a runtime error.
Running the plugin in Internet Explorer 7 works fine. Also running the Linux plugin in Firefox 2.0.0.5 works great!
Any suggestion? Does the plugin work with the windows version of Mozilla Firefox? Has anyone tested this?
Thank you in advance.
Logged In: YES
user_id=1890189
Originator: YES
The log from the plugin shows that the bug relies on an error comparing the variable tcl_version with a constant. But why does is appear only in Firefox and not in Internet Explorer?
Here is the log:
[1189757210]
###### LOG STARTED ###### [NEW]
[1189757210] ENTERING NpCreateMainInterp
[1189757210] Attempt to load basekit dll (ourpath) 'C:\PROGRA~1\Mozilla Firefox\plugins/nptcl/tclplugin.dll'
[1189757210] NpCreateMainInterp: Using dll 'C:\PROGRA~1\Mozilla Firefox\plugins\nptcl\tclplugin.dll'
[1189757210] NpCreateMainInterp: SetKitPath(C:\PROGRA~1\Mozilla Firefox\plugins\nptcl\tclplugin.dll)
[1189757210] Tcl_FindExecutable(C:\PROGRA~1\Mozilla Firefox\plugins\nptcl\tclplugin.dll)
[1189757210] Tcl_CreateInterp()
[1189757210] Tcl_InitStubs(02B91A50)
[1189757210] tcl_Init(02B91A50) func 03172680 0316BE00
[1189757210] >>> NpInitInterp TclKit_AppInit error:
syntax error in expression "$tcl_version > 8.4": extra tokens at end of expression
("if" test expression)
while compiling
"if {$tcl_version > 8.4} {
encoding dirs [list [file join [info library] encoding]]
} else {
librarypath [info library]
}"
("if" then script line 22)
while compiling
"if {![file isdirectory $noe]} {
load {} pwb
load {} vfs
# lookup and emulate "source" of lib/vfs/{vfs*.tcl,mk4vfs.tcl}
# must use raw MetaKit cal..."
(compiling body of proc "tclInit", line 18)
invoked from within
"tclInit"
[1189757210] MSG [NpInitInterp]: Failed to initialize Tcl!
[1189757213] NPP_Initialize: interp == NULL
[1189757213] ENTERED NPP_New, oldServiceMode == 0
[1189757213] [[ STACK = 1, INSTANCES = 0, STREAMS = 0 ]]
[1189757213] NpGetInstanceInterp - use main interp 02B91A50
[1189757213] MSG [PANIC]: could not find token table "npInstance" in RegisterToken
Logged In: YES
user_id=72656
Originator: NO
I've received multiple reports on this now, and I believe the issue is one of locale. If you use a numeric comma (where 1 == 1,0), then that is getting improperly propagated to us by FF, but not by IE.
Logged In: YES
user_id=1350198
Originator: NO
I support your hypothesis, Jeff: just tested it on WinXP Pro (SP2) Russian and FireFox 2.0.0.12 -- it has "," as the decimal separator in the system locale settings and firefox crashes as reported. If I change it to ".", all works OK.