Bugs/Notifier
From Eggdrop Wiki
(Difference between revisions)
(Created page with 'As of Eggdrop 1.6.20 the Tcl notifier is replaced by one that handles Eggdrop events and doesn't spin a control thread. Unfortunately, it's currently buggy if you nest it (vwait…') |
m (moved Notifier to Bugs/Notifier: introducing common "Bugs" prefix) |
||
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | + | {{Alertbox|red|This page is deprecated as of Eggdrop 1.6.21. You should upgrade instead of applying the fixes below!}} | |
- | Unfortunately, it's currently buggy if you nest it (vwait/update) under certain conditions. | + | As of Eggdrop 1.6.20 the Tcl notifier is replaced by one that handles Eggdrop events and doesn't operate in a seperate thread. |
+ | |||
+ | Unfortunately, it's currently buggy if you nest it (vwait/update) under certain conditions and can throw the compilation errors "Tcl_NotifierProcs has no member named initNotifierProc"/"Tcl_NotifierProcs has no member named finalizeNotifierProc" with at least Tcl 8.4 (Current stable Tcl version: {{LSR/Tcl}}) | ||
To disable it: | To disable it: | ||
Line 13: | Line 15: | ||
#undef HAVE_TCL_SETNOTIFIER | #undef HAVE_TCL_SETNOTIFIER | ||
}} | }} | ||
+ | |||
Carry on with your make config && make && make install. Do not ./configure again, or it'll overwrite config.h | Carry on with your make config && make && make install. Do not ./configure again, or it'll overwrite config.h |
Current revision as of 11:37, 6 May 2012

As of Eggdrop 1.6.20 the Tcl notifier is replaced by one that handles Eggdrop events and doesn't operate in a seperate thread.
Unfortunately, it's currently buggy if you nest it (vwait/update) under certain conditions and can throw the compilation errors "Tcl_NotifierProcs has no member named initNotifierProc"/"Tcl_NotifierProcs has no member named finalizeNotifierProc" with at least Tcl 8.4 (Current stable Tcl version: 8.6.4)
To disable it:
./configure your bot. Open the config.h file in your editor.
Search for (around line 282)
/* Define for Tcl that has Tcl_SetNotifier() (8.2b1 and later). */ #define HAVE_TCL_SETNOTIFIER 1
and replace it with
/* Define for Tcl that has Tcl_SetNotifier() (8.2b1 and later). */ #undef HAVE_TCL_SETNOTIFIER
Carry on with your make config && make && make install. Do not ./configure again, or it'll overwrite config.h