Re: [Cooker] mcc observations

2002-03-04 Thread Yves Duret

garrick <[EMAIL PROTECTED]> writes:

> Should all be current cooker... 
> userdrake-0.3-21mdk
> drakxtools-1.1.7-85mdk
> drakxtools-newt-1.1.7-85mdk
> 
> 
> The Mail/SMS Alert (accessed from within logdrake) setup window isn't
> wide enough to show it's buttons.  It appears that the only button
> options are "Cancel" and "<- Previous".  The "Next ->" button is hidding
> off to the right of the window.
> 
> The "Configure the way the system will alert you" pane needs some
> cleanup.  I don't think "smtp ??" is a good option name =P  Also, the
> cursor won't show up in the text boxes.
 
yep.

> The title bar on most of the mcc apps get nicely formatted names,
> logdrake just says "logdrake".
 
it wil say a tool to monitor your logs.

> Enabling the log window in mcc (logdrake) just creates alot of logdrake
> zombie processes.  I can see a log window, but nothing is every printed
> there.

yep reproductible.
-- 
Yves Duret
[EMAIL PROTECTED]
piouk toujours et meme apres !





Re: [Cooker] mcc observations

2002-03-04 Thread dams

[EMAIL PROTECTED] (Garrick Staples) writes:

> On Fri, Mar 01, 2002 at 01:38:33PM +, dams alleged:
> > [EMAIL PROTECTED] (Guillaume Cottenceau) writes:
> > 
> > > garrick <[EMAIL PROTECTED]> writes:
> > > 
> > > > > > Clicking on "Console" in mcc results in this error:
> > > > > > sh: -c: line 1: syntax error near unexpected token `ARRAY(0x84eb9a8)'
> > > > > > sh: -c: line 1: `ARRAY(0x84eb9a8) &'
> > > > > > Someone didn't dereference an array correctly :)
> > > > > 
> > > > > Line 583 of drakconf.real:
> > > > >   system(($alternate ? $alternate : $exec) . " &");
> > > > > 
> > > > > $alternative is actually an array ref, this fixes this problem:
> > > > >   system(($alternate ? $alternate->[0] : $exec) . " &");
> > > > 
> > > > My bad, the correct line is:
> > > >system(($alternate->[0] ? $alternate->[0] : $exec) . " &");
> > > 
> > > Well better:
> > > 
> > > system(($alternate->[0] || $exec) . " &");
> > > 
> > > Dams?
> > 
> > well, $alternete is a simple string in the case of gtk tool, and an array ref
> > in the case of external application. I have not tested it in the case of non
> > embedded mode. Thanks for the bug. So the pb is not a dereferencing, I'm not
> > that bad at perl :)
> 
> I just started looking at this code for my first time.  It looks fun to
> play with; and I have to say, this embedded/non-embedded thing is pretty
> slick :)  Maybe I'll finally learn this gtk stuff.

yes, it's a good piece of code, with some interesting things. Embedding
external application like rxvt is still ugly, but we didn't find anything
cleaner.

btw, look at /usr/share/mcc/* If you guys want to do some themes, you're
welcome :)

-- 
dam's




Re: [Cooker] mcc observations

2002-03-01 Thread Garrick Staples

On Fri, Mar 01, 2002 at 01:38:33PM +, dams alleged:
> [EMAIL PROTECTED] (Guillaume Cottenceau) writes:
> 
> > garrick <[EMAIL PROTECTED]> writes:
> > 
> > > > > Clicking on "Console" in mcc results in this error:
> > > > >   sh: -c: line 1: syntax error near unexpected token `ARRAY(0x84eb9a8)'
> > > > >   sh: -c: line 1: `ARRAY(0x84eb9a8) &'
> > > > > Someone didn't dereference an array correctly :)
> > > > 
> > > > Line 583 of drakconf.real:
> > > >   system(($alternate ? $alternate : $exec) . " &");
> > > > 
> > > > $alternative is actually an array ref, this fixes this problem:
> > > >   system(($alternate ? $alternate->[0] : $exec) . " &");
> > > 
> > > My bad, the correct line is:
> > >system(($alternate->[0] ? $alternate->[0] : $exec) . " &");
> > 
> > Well better:
> > 
> > system(($alternate->[0] || $exec) . " &");
> > 
> > Dams?
> 
> well, $alternete is a simple string in the case of gtk tool, and an array ref
> in the case of external application. I have not tested it in the case of non
> embedded mode. Thanks for the bug. So the pb is not a dereferencing, I'm not
> that bad at perl :)

I just started looking at this code for my first time.  It looks fun to
play with; and I have to say, this embedded/non-embedded thing is pretty
slick :)  Maybe I'll finally learn this gtk stuff.





Re: [Cooker] mcc observations

2002-03-01 Thread dams

[EMAIL PROTECTED] (Guillaume Cottenceau) writes:

> garrick <[EMAIL PROTECTED]> writes:
> 
> > > > Clicking on "Console" in mcc results in this error:
> > > > sh: -c: line 1: syntax error near unexpected token `ARRAY(0x84eb9a8)'
> > > > sh: -c: line 1: `ARRAY(0x84eb9a8) &'
> > > > Someone didn't dereference an array correctly :)
> > > 
> > > Line 583 of drakconf.real:
> > >   system(($alternate ? $alternate : $exec) . " &");
> > > 
> > > $alternative is actually an array ref, this fixes this problem:
> > >   system(($alternate ? $alternate->[0] : $exec) . " &");
> > 
> > My bad, the correct line is:
> >system(($alternate->[0] ? $alternate->[0] : $exec) . " &");
> 
> Well better:
> 
> system(($alternate->[0] || $exec) . " &");
> 
> Dams?

well, $alternete is a simple string in the case of gtk tool, and an array ref
in the case of external application. I have not tested it in the case of non
embedded mode. Thanks for the bug. So the pb is not a dereferencing, I'm not
that bad at perl :)

-- 
dam's




Re: [Cooker] mcc observations

2002-03-01 Thread Guillaume Cottenceau

garrick <[EMAIL PROTECTED]> writes:

> > > Clicking on "Console" in mcc results in this error:
> > >   sh: -c: line 1: syntax error near unexpected token `ARRAY(0x84eb9a8)'
> > >   sh: -c: line 1: `ARRAY(0x84eb9a8) &'
> > > Someone didn't dereference an array correctly :)
> > 
> > Line 583 of drakconf.real:
> >   system(($alternate ? $alternate : $exec) . " &");
> > 
> > $alternative is actually an array ref, this fixes this problem:
> >   system(($alternate ? $alternate->[0] : $exec) . " &");
> 
> My bad, the correct line is:
>system(($alternate->[0] ? $alternate->[0] : $exec) . " &");

Well better:

system(($alternate->[0] || $exec) . " &");

Dams?


-- 
Guillaume Cottenceau - http://www.frozen-bubble.org/




Re: [Cooker] mcc observations

2002-02-28 Thread garrick

On Thu, Feb 28, 2002 at 03:13:30PM -0800, garrick alleged:
> drakboot is taking a few minutes to start.  If mcc is in "Embedded
> Mode", then it times out.  The "Bootloader main options" window
> (accessible from clicking "Configure" in drakboot) is missing a window
> title and the Basic/Advanced doesn't work quite right.  The window warps
> to the center of your screen, and doesn't resize itself when you toggle
> to "Basic".

I just timed this at 2.5 minutes!!  That's too long!

The is that it's doing excessive NIS lookups.  When I stop ypbind, it
starts up just fine.  But if ypbind is running, strace shows a massive
number of NIS lookups.

It's doing yp lookups for every user in the passwd map.  It's taking so
long because my NIS domain has over 45000 users.  I know it's not an NIS
performance issue because every other test performs perfectly.





Re: [Cooker] mcc observations

2002-02-28 Thread garrick

On Thu, Feb 28, 2002 at 05:19:47PM -0800, garrick alleged:
> On Thu, Feb 28, 2002 at 03:13:30PM -0800, garrick alleged:
> > Should all be current cooker... 
> > userdrake-0.3-21mdk
> > drakxtools-1.1.7-85mdk
> > drakxtools-newt-1.1.7-85mdk
> > 
> > Clicking on "Console" in mcc results in this error:
> > sh: -c: line 1: syntax error near unexpected token `ARRAY(0x84eb9a8)'
> > sh: -c: line 1: `ARRAY(0x84eb9a8) &'
> > Someone didn't dereference an array correctly :)
> 
> Line 583 of drakconf.real:
>   system(($alternate ? $alternate : $exec) . " &");
> 
> $alternative is actually an array ref, this fixes this problem:
>   system(($alternate ? $alternate->[0] : $exec) . " &");

My bad, the correct line is:
   system(($alternate->[0] ? $alternate->[0] : $exec) . " &");


 




Re: [Cooker] mcc observations

2002-02-28 Thread garrick

On Thu, Feb 28, 2002 at 03:13:30PM -0800, garrick alleged:
> Should all be current cooker... 
> userdrake-0.3-21mdk
> drakxtools-1.1.7-85mdk
> drakxtools-newt-1.1.7-85mdk
> 
> Clicking on "Console" in mcc results in this error:
>   sh: -c: line 1: syntax error near unexpected token `ARRAY(0x84eb9a8)'
>   sh: -c: line 1: `ARRAY(0x84eb9a8) &'
> Someone didn't dereference an array correctly :)

Line 583 of drakconf.real:
  system(($alternate ? $alternate : $exec) . " &");

$alternative is actually an array ref, this fixes this problem:
  system(($alternate ? $alternate->[0] : $exec) . " &");