This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

package require tdom

Help for those learning Tcl or writing their own scripts.
n
neocharles
Voice
Posts: 34
Joined: Tue Apr 23, 2013 4:29 pm

Post by neocharles »

Can I hijack this?

I am having an issue running an eggdrop with a tcl that uses tdom. I used apt-get to install tdom and tdom-dev

Code: Select all

[11:01:57] can't find package tdom
    while executing
"package require tdom"
    (file "scripts/fweather.tcl" line 12)
    invoked from within
"source scripts/fweather.tcl"
    (file "eggdrop.conf" line 1405)
[11:01:57] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

Code: Select all

$ tclsh
% package require tdom
0.8.3

Code: Select all

me@me:~/eggdrop/$ dpkg -l tcl*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                       Version            Architecture       Description
+++-==========================-==================-==================-==========================================================
un  tcl                        <none>                                (no description available)
ii  tcl-lib:amd64              8.5.0-2ubuntu5     amd64              Tcl (the Tool Command Language) run-time library files
un  tcl-tclreadline            <none>                                (no description available)
ii  tcl-tls                    1.6+dfsg-3         amd64              TLS OpenSSL extension to Tcl
ii  tcl-trf                    2.1.4-dfsg1-1      amd64              Tcl data transformations - runtime library
ii  tcl-trf-dev                2.1.4-dfsg1-1      amd64              Tcl data transformations - development files
ii  tcl-trf-doc                2.1.4-dfsg1-1      all                Tcl data transformations - development files
un  tcl74                      <none>                                (no description available)
ii  tcl8.5-lib:amd64           8.5.13-1ubuntu4    amd64              Tcl (the Tool Command Language) v8.5 - run-time library fi
ii  tcl8.6                     8.6.0-1            amd64              Tcl (the Tool Command Language) v8.6 - run-time files
ii  tcl8.6-dev                 8.6.0-1            amd64              Tcl (the Tool Command Language) v8.6 - development files
ii  tcl8.6-doc                 8.6.0-1            all                Tcl (the Tool Command Language) v8.6 - manual pages
un  tcldoc                     <none>                                (no description available)
ii  tcllib                     1.14-dfsg-3        all                Standard Tcl Library
un  tclsh                      <none>                                (no description available)
un  tcltls                     <none>                                (no description available)

Code: Select all

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 13.04
Release:	13.04
Codename:	raring

Halp?
Post Reply