On 03/04/13 16:39, Dmitrij D. Czarkoff wrote:
> On Mon, Mar 04, 2013 at 01:18:56PM -0500, Stuart Cassoff wrote:
>>> The port builds and runs fine. Still I would suggest the following changes:
>>
>> As I mentioned in my last message, I get crashes when trying to login to a 
>> server.
>> Mind you, I don't know jabber well, so any tips are welcome.
> 
> Could you please describe the problem in more details? Any error messages? Any
> output to terminal?

can't set "lib(1,sessionid)": can't read "lib(1,sasltoken)": no such element in 
array
can't read "lib(1,sasltoken)": no such element in array
    while executing
"$lib($connid,sasltoken) auth  -command [list [namespace current]::login_aux5 
$connid $cmd]"
    (procedure "login_aux3" line 7)
    invoked from within
...

Full err log attached.


>> Why not just have these as RUN_DEPENDS?
>> Give the user the maximum experience.
> 
> I'm not sure whether forcing optional dependencies is a good idea: any of
> these may happen to be an optional dependency elsewhere, so it may break
> things. I believe I had some problems of the kind with xosd before, and ISpell
> may also get caught up somewhere.
> 
> IMO it's generally wise to keep optional things up to users.
> 

*shrug*

Personally, as a dummy who's not entirely familiar with tkabber I may
possibly install tkabber and never read the README and thus think
that obsd's tkabber lacks features.
But that's just me. Most users are probably smarter.


> I'm not particularly sure why I thought KHIM needed 8.4. Probably I had a
> reason to think so.
> 

Maybe because khim.tcl contains:
package require Tcl 8.4
package require Tk 8.4


Stu

can't set "lib(1,sessionid)": can't read "lib(1,sasltoken)": no such element in 
array
can't read "lib(1,sasltoken)": no such element in array
    while executing
"$lib($connid,sasltoken) auth  -command [list [namespace current]::login_aux5 
$connid $cmd]"
    (procedure "login_aux3" line 7)
    invoked from within
"login_aux3 $connid $cmd"
    (procedure "login_aux1" line 9)
    invoked from within
"login_aux1 $connid $cmd"
    (procedure "::jlib::login_aux" line 9)
    invoked from within
"::jlib::login_aux 1 {recv_auth_result 1 {proxyuseragent {Mozilla/4.0 
(compatible; MSIE 6.0; OpenBSD 5.3)} resource [email protected] sslcertfile 
{} p..."
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 $cmd"
    (procedure "::jlib::wait_for_stream_aux" line 6)
    invoked from within
"::jlib::wait_for_stream_aux 1 {::jlib::login_aux 1 {recv_auth_result 1 
{proxyuseragent {Mozilla/4.0 (compatible; MSIE 6.0; OpenBSD 5.3)} resource 
tcl@..."
    (write trace on "lib(1,sessionid)")
    invoked from within
"set lib($connid,sessionid) $sessionid"
    (procedure "::jlib::got_stream" line 16)
    invoked from within
"::jlib::got_stream 1 {xmlns http://etherx.jabber.org/streams from 
all.tclers.tk id fgmeodime8hbwg6rbydxi3uqpq7s5ieky1zneiat version 1.0}"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 "$wrapper($id,streamstartcmd) [list $newvarlist]""
    (procedure "::jlib::wrapper:elementstart" line 44)
    invoked from within
"::jlib::wrapper:elementstart wrap#8 stream {from all.tclers.tk id 
fgmeodime8hbwg6rbydxi3uqpq7s5ieky1zneiat version 1.0} -namespace 
http://etherx.jabbe...";
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 $options(-elementstartcommand) [list $tag $attr1] $empty $ns 
$nsdecls"
    invoked from within
"ParseEvent:ElementOpen $tag $param [array get options]"
    invoked from within
"::sgml::parseEvent {{} {} {} {} ?xml {} { version='1.0'?} {} stream:stream {} 
{ xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' ..."
    ("eval" body line 1)
    invoked from within
"eval ::sgml::parseEvent [list $tokenised] $parseOptions"
    (procedure "parse" line 62)
    invoked from within
"parse _parser_wrap#8 {<?xml version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' 
from='all.tclers.tk' v..."
    (in namespace inscope "::xml::tclparser" script line 1)
    invoked from within
"::namespace inscope ::xml::tclparser parse _parser_wrap#8 {<?xml 
version='1.0'?><stream:stream xmlns:stream='http://etherx.jabber.org/streams' 
xmlns='..."
    ("eval" body line 1)
    invoked from within
"eval $classinfo(-parsecommand) [list $name] $args"
    (procedure "::xml::ParserCmd" line 48)
    invoked from within
"::xml::ParserCmd _parser_wrap#8 parse {<?xml version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' from=..."
    ("eval" body line 1)
    invoked from within
"eval ::xml::ParserCmd _parser_wrap#8 [list $method] $args"
    (procedure "::jlib::_parser_wrap#8" line 1)
    invoked from within
"::jlib::_parser_wrap#8 parse {<?xml version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' 
from='all.tcle..."
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 "[list $wrapper($id,parser)] $args""
    (procedure "wrapper:parser" line 7)
    invoked from within
"wrapper:parser $lib($connid,wrap) parse $msg"
    (procedure "jlib::inmsg" line 13)
    invoked from within
"jlib::inmsg $connid $msg [eof $sock]"
    (procedure "::jlib::transport::tcp::inmsg" line 5)
    invoked from within
"::jlib::transport::tcp::inmsg 1 sock88214908"

Reply via email to