error: missing jlib::compress package

Bug #180108 reported by sander
2
Affects Status Importance Assigned to Milestone
Coccinella
Fix Released
High
Mats

Bug Description

Sergio gets on Windows XP the following error during login:

missing jlib::compress package
missing jlib::compress package
   while executing
"$cmd $jlibname someone@3gnt.net XXX -command {::Login::HighLoginCB ::Login::high3} -http 0 -compress 1 -digest 1 -minpollsecs 4 -port {} -ip {} -met..."
   ("eval" body line 1)
   invoked from within
"eval {$cmd $jlibname} $args"
   (procedure "::jlib::connect::cmdproc" line 4)
   invoked from within
"::jlib::connect::cmdproc ::jlib::jlib1 connect someone@3gnt.net XXX -command {::Login::HighLoginCB ::Login::high3} -http 0 -compress 1 -digest 1 -mi..."
   ("uplevel" body line 1)
   invoked from within
"uplevel #0 $ensamble($cmd,cmd) $jlibname $args"
   (procedure "jlib::cmdproc" line 6)
   invoked from within
"jlib::cmdproc ::jlib::jlib1 connect connect someone@3gnt.net XXX -command {::Login::HighLoginCB ::Login::high3} -http 0 -compress 1 -digest 1 -minpo..."
   ("eval" body line 1)
   invoked from within
"eval jlib::cmdproc {::jlib::jlib1} $cmd $args"
   (procedure "::jlib::jlib1" line 1)
   invoked from within
"$jstate(jlib) connect connect $jid $password -command $cb -http 0 -compress 1 -digest 1 -minpollsecs 4 -port {} -ip {} -method sasl -invisible 0 -prio..."
   ("eval" body line 1)
   invoked from within
"eval {$jstate(jlib) connect connect $jid $password -command $cb} $args"
   (procedure "HighLogin" line 31)
   invoked from within
"HighLogin $server $username $resource $password [namespace current]::LoginCallback -http 0 -compress 1 -digest 1 -minpollsecs 4 -port {} -ip {} -meth..."
   ("eval" body line 1)
   invoked from within
"eval {HighLogin $server $username $resource $password [namespace current]::LoginCallback} $opts"
   (procedure "::Login:[grin]oLogin" line 75)
   invoked from within
"::Login:[grin]oLogin"
   invoked from within
".jlogin.frall.f.b.btok invoke "
   invoked from within
".jlogin.frall.f.b.btok instate {pressed !disabled} { .jlogin.frall.f.b.btok state !pressed; .jlogin.frall.f.b.btok invoke } "
   (command bound to event)

sander (s-devrieze)
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → High
Revision history for this message
Mats (matsben) wrote :

Somehow the -compress option has sneaked in even if the settings are disable in the dialog if jlib::compress is not loaded. I now guard against this and verify the validity for each in the profiles/login dialog(s).

On my XP box jlib::compress loads OK. It depends on:
package require -exact zlib 2.0.1
so perhaps the likely issue is there.

NB1: ejjabberd has the wrong order of using compression before SASL. This can be switched on by editing jabberlb/connect.tcl and the
 -saslthencomp 1
set to 0 instead.

NB2: I still have a very weird bug where non 7bit ascii characters results in "fatal xml". No idea what is going on.

Changed in coccinella:
milestone: none → 0.96.4.1
status: New → Fix Committed
Revision history for this message
sander (s-devrieze) wrote :

It seems not fixed yet...

me: does it work?
sergio: nope, same error, the enable compression button cannot be disabled

Revision history for this message
Mats (matsben) wrote : Re: [Bug 180108] Re: error: missing jlib::compress package

One more try.
I had got the widget token instead of the state token for the tabbed
option notebook.
This time I even tested it ;-)
Why zlib wont load I don't know.
You could do
package require zlib
in the console and see what you get.

Revision history for this message
sander (s-devrieze) wrote :

me: does it work this time?
sergio: it is not possible to enable or disable the compression
checkbox, but i can login now
me: ok, that's better ;-)
does your server support compression?
sergio: no clue
me: can you try this command as Mats says?
sergio: how can i open the console ?
me: no idea :-p
I only know how to execute such commands on Linux using Coccinella source ;-)
maybe the debug screen in the Info menu?
sergio: package require zlib
1.1
i guess i have it
me: ok, I add your comment to the bug report ;-)
are there any other things that make it impossible for you to start
translating Coccinella to Portuguese? ;-)
sergio: dont think so, will try to do it on the weekend
me: nice

Revision history for this message
Mats (matsben) wrote :

I had left some debug code which made compress fail in all cases. Now
fixed. Sorry for this.
Not sure why you get zlib 1.1. On my XP box I can load zlib. Note that
there are several zlib around, all with identical names :-( But only
one works. Perhaps you could try to do (in console; Info/Debug menu):
cd coccinella (depending on where you are)

load bin/windows/intel/zlib/zlib201.dll

This loads the dll into Tcl and writes some error if it fails.

On 1/4/08, sander <email address hidden> wrote:
> me: does it work this time?
> sergio: it is not possible to enable or disable the compression
> checkbox, but i can login now
> me: ok, that's better ;-)
> does your server support compression?
> sergio: no clue
> me: can you try this command as Mats says?
> sergio: how can i open the console ?
> me: no idea :-p
> I only know how to execute such commands on Linux using Coccinella source
> ;-)
> maybe the debug screen in the Info menu?
> sergio: package require zlib
> 1.1
> i guess i have it
> me: ok, I add your comment to the bug report ;-)
> are there any other things that make it impossible for you to start
> translating Coccinella to Portuguese? ;-)
> sergio: dont think so, will try to do it on the weekend
> me: nice
>
> --
> error: missing jlib::compress package
> https://bugs.launchpad.net/bugs/180108
> You received this bug notification because you are a bug assignee.
>

sander (s-devrieze)
Changed in coccinella:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.