dexonline.tcl 1.0 (10/02/2021)

Active 1 Reply 175 Views 2023-02-02 15:55:23 TCL Support
Salut, folosesc scriptul dexonline.tcl si primesc eroarea 
Tcl error [dexonline:cmd]: can't read "state(body)": no such variable


Aici am lasat date despre eggdrop & eroare:
[02/02][15:49:52]  .stat
[02/02][15:49:52] [15:49:36] #Ionut# status
[02/02][15:49:52] I am atw, running eggdrop v1.8.4: 5 users (mem: 182k).
[02/02][15:49:52] Online for 15 days, 23:19 (background) - CPU: 26:51.43 - Cache hit:  1.4%
[02/02][15:49:52] Configured with: 
[02/02][15:49:52] Admin: Ionut
[02/02][15:49:52] Config file: atw.conf
[02/02][15:49:52] OS: Linux 5.15.0-1023-raspi
[02/02][15:49:52] Process ID: 12547 (parent 1)
[02/02][15:49:52] Tcl library: /usr/share/tcltk/tcl8.6
[02/02][15:49:52] Tcl version: 8.6.12 (header version 8.6.12)
[02/02][15:49:52] Tcl is threaded.
[02/02][15:49:52] TLS support is enabled.
[02/02][15:49:52] TLS library: OpenSSL 3.0.2 15 Mar 2022
[02/02][15:49:52] IPv6 support is enabled.
[02/02][15:49:52] Socket table: 20/100


[02/02][15:52:32]  [15:52:17] Tcl error [dexonline:cmd]: can't read "state(body)": no such variable
[02/02][15:52:40] .tcl $errorInfo
[02/02][15:52:40] Tcl error: invalid command name "can't read "state(body)": no such variable
[02/02][15:52:40] Tcl error:     while executing
[02/02][15:52:40] Tcl error: "return $state(body)"
[02/02][15:52:40] Tcl error:     (procedure "http::data" line 4)
[02/02][15:52:40] Tcl error:     invoked from within
[02/02][15:52:40] Tcl error: "http::data $ipq"
[02/02][15:52:40] Tcl error:     (procedure "dexonline:data" line 7)
[02/02][15:52:40] Tcl error:     invoked from within
[02/02][15:52:40] Tcl error: "dexonline:data $cuvant"
[02/02][15:52:40] Tcl error:     (procedure "dexonline:cmd" line 16)
[02/02][15:52:40] Tcl error:     invoked from within
[02/02][15:52:40] Tcl error: "dexonline:cmd $_pub1 $_pub2 $_pub3 $_pub4 $_pub5""


Folosesc package provide http 2.8.5 - package require Tcl 8.6.
BLaCkShaDoW replied
1 Year

BLaCkShaDoW> !dex test
[DEX] Definitii pentru cuvantul test
⇨ TEST2 s.n. Carapace la foraminifere, radiolare, arici. ♦ Cochilia moluștelor. [< fr. test, cf. lat. testum]. --- tip-substantiv-neutru
⇨ TEST2 s. n. carapace la foraminifere, radiolari, arici. ◊ cochilia moluștelor.  (< fr. test, lat. testum) --- tip-substantiv-neutru
[DEX] 9 definitii ramase, tasteaza din nou !dex test.
!dex test
⇨ test (probă, carapace) s. n., pl. téste --- tip-substantiv-neutru
⇨ TEST2, teste, s. n. Înveliș calcaros sau chitinos care protejează corpul unor moluște, crustacee etc. – Din fr. test. --- tip-substantiv-neutru
[DEX] 7 definitii ramase, tasteaza din nou !dex test.
!dex test
⇨ TEST1, teste, s. n. 1. (Psih.) Probă prin care se examinează funcții senzoriale- motorii sau mintale, nivelul dezvoltării intelectuale, aptitudinile etc. 2. Probă (scrisă sau orală) de verificare a cunoștințelor. ◊ Test-grilă = probă scrisă sub formă de grilă. – Din fr., engl. test. --- tip-substantiv-neutru
⇨ țest, țesturi s. n. cap, țeastă --- tip-substantiv-neutru
[DEX] 5 definitii ramase, tasteaza din nou !dex test.


Am testat si functioneaza, eroarea aceea este de la http.tcl si o gaseste debug.tcl dar este data la orice tcl care functioneaza cu un website.
loading...