Bugs item #1259533, was opened at 2005-08-15 04:06
Message generated for change (Comment added) made by laudares
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=1259533&group_id=9368

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Interface
Group: 4.2
Status: Open
Resolution: Fixed
Priority: 9
Submitted By: Bernard Li (bernardli)
Assigned to: Fernando Laudares Camargos (laudares)
Summary: Export/Import MACs dialogs freeze

Initial Comment:
Steps to re-produce:

1) Click on "Setup Networking"
2) Perform either Import MACs from file or Export MACs
to file (make sure you complete the operation)
3) Close the "Setup Networking" window
4) Now open it again and you will notice that if you
click on either "Import MACs from file" or "Export MACs
to file" the dialog will be wedged entirely (i.e. you
cannot perform any operations in those menus)
 
The only way to get out of the dialog is to close the
window by using "X".

Tested on RHEL4u1 x86.

It seems that newer version of perl-Tk (804.026) fixes
this problem.

----------------------------------------------------------------------

>Comment By: Fernando Laudares Camargos (laudares)
Date: 2005-08-31 15:22

Message:
Logged In: YES 
user_id=931808

I haven't had time to do as Dave suggested, which would be
the better way to do it. Instead, I added an if clause that
copies to /tftpboot/rpm all the 'mdk' type rpms if the
distro is 'mandrake' or all the others rpms if the distro is
not 'mandrake'.
It's not elegant, but will prevent the 'brake'.
Bernard, if you have time, please try the changed
'script/setup' to see if it works for 'the others'; it does
for Mandriva.

----------------------------------------------------------------------

Comment By: David N. Lombard (dnl)
Date: 2005-08-31 05:23

Message:
Logged In: YES 
user_id=27334

That Mandriva RPM will be selected on all distros.  It
CANNOT be blindly dumped in; it needs to be isolated in a
distro/mdk directory.  You might be able to get away with
just putting the 804.026-1 in common-rpms as the mdk rpm
will always override it for mdk.

----------------------------------------------------------------------

Comment By: Bernard Li (bernardli)
Date: 2005-08-31 04:58

Message:
Logged In: YES 
user_id=879102

This last check-in probably broke all the distros except for
Mandriva.  I tested branch-4-2 r3640 on RHEL3u5 x86 and got
the following:

--> We do need to install perl-Tk
 
 
 
==> /usr/bin/update-rpms '--check' '--quiet' '--cache=u'
'--cachedir=/var/cache/update-rpms' 'perl-Tk'
<== NG  perl-Tk /tftpboot/rpm/perl-Tk-804.027-2mdk.i686.rpm
    requires perl-base >= 2:5.8.3 (UNKNOWN) requires
perl-base (UNKNOWN)
<== t=9s
<== $? 1
 
DepMan: update-rpms failed to select the following packages:
  
 
ERROR: Prerequisite failure! at ./wizard_prep line 115
Oscar Wizard preparation script failed to complete at
./install_cluster line 212.

Dave, is there some magic that can be worked into
update-rpms to fix this?  If not, then Fernando I think we
need to selectively copy the RPMs to /tftpboot/rpm depending
whether the distro is mdk or not.

----------------------------------------------------------------------

Comment By: Fernando Laudares Camargos (laudares)
Date: 2005-08-30 18:11

Message:
Logged In: YES 
user_id=931808

Actually, Bernard, even in Mandriva 10.1 the rpm that
update-rpms choose to pick is the one I rebuild in 10.0 -
with the --target i686. The one that comes with 10.1 is a
i586 one.
But eveything works, thought.
I commited the rpm and its source to both trunk and branch
and changed the scripts/setup only in the trunk.

"Alternatively, I think we can selectively copy the RPMs
depending on the distro to /tftpboot/rpm." - that would be
nice, once we would have the correct rpm installed for 10,1
and one in a ix86 platform wouldn't have ia64 packages in
hit /tftpboot/rpm. We left this for 5.0, I suggest.

The bug is fixed but will remain open until the necessary
tests are made.

----------------------------------------------------------------------

Comment By: Bernard Li (bernardli)
Date: 2005-08-30 17:27

Message:
Logged In: YES 
user_id=879102

Hey Fernando, the RPMs in
share/prereqs/perl-Tk/media/RPMS/5.8 are being used by
_every distro_ so please do not delete them :)

Please go ahead and clean up the setup script, though maybe
you can clean it up in trunk and leave it be in the branch
(less testing).

I believe update-rpms should be able to choose the correct
RPMs for the corresponding distro, so put your Mandriva RPM
there and test to see if it is preferred over the other
ones.  We will need to test on Red Hat systems to make sure
that the Mandriva RPM is not selected...

Alternatively, I think we can selectively copy the RPMs
depending on the distro to /tftpboot/rpm.

----------------------------------------------------------------------

Comment By: Fernando Laudares Camargos (laudares)
Date: 2005-08-30 16:28

Message:
Logged In: YES 
user_id=931808

I rebuilded perl-Tk-804.027-2mdk in 10.0, included it in
share/prereqs/perl-Tk/media/RPMS/5.8 and changed the
setup/script for both 10.0 and 10.1 to install "perl-Tk" and
"perl-Tie-Watch".

It worked. So, if no other distro uses the rpms in
share/prereqs/perl-Tk/media/RPMS/5.8 I would like to remove
them and update setup/script accordingly (which include
remove the sections for MDK 9.0, 9.1 and 9.2, that are no
longer supported).

One last question: if there's a package in both
share/prereqs/perl-Tk/media/RPMS/5.8 and /tftpboot/rpm with
the same name/version, I expect the one choosed will be from
/tftpboot.rpm. Am I correct?

----------------------------------------------------------------------

Comment By: Fernando Laudares Camargos (laudares)
Date: 2005-08-30 15:53

Message:
Logged In: YES 
user_id=931808

Here's the deal:

10.1 comes with perl-Tk-804.027-2mdk.i586.rpm. 
perl-Tie-Watch is also needed (as pre-req for some other
pack.) and it's not provided in the cds (I guess it is in
the 'Contribs' or something) and that's why we added it to
share/prereqs/perl-Tk/media/RPMS/5.8/. This combination runs
smoothly, no problem.

10.0 comes with the old perl-Tk-800.024-4mdk.i586.rpm. I
tried to install the one that comes with 10.1 but then
there's a major problem: that package needs perl-base-5.8.4,
while 10.0 uses 5.8.3 - and you can imagine how many
packages need 5.8.3.

So as we update systemimmager, 10.0 should not work anymore.
I will try to rebuild a more recent package of perl-Tk for it. 

----------------------------------------------------------------------

Comment By: Bernard Li (bernardli)
Date: 2005-08-30 01:38

Message:
Logged In: YES 
user_id=879102

Hi Fernando, I thought Mandrakelinux 10.0 comes with
perl-Tk-800.024-4mdk.i586.rpm - at least this mirror is
saying so:

http://ftp.club-internet.fr/pub/linux/Mandrake/10.0/i586/Mandrake/RPMS/

I just checked the gulus mirror, it's giving me the same thing:

http://gulus.usherbrooke.ca/pub/distro/Mandrakelinux/official/10.0/i586/Mandrake/RPMS/

This bug only occurs if you are using perl-Tk-800, if you
are using perl-Tk-804, then you should not encounter this.

Therefore what I suggested was try to install the perl-Tk
which came with Mandriva Linux 10.1 (perl-Tk-804), and see
if it installs in Mandrakelinux 10.0, if it does, then let's
include this in our distribution tarball to ensure that this
version is installed, instead of the one provided by
Mandrivalinux 10.0.

However, if it is true that it already comes with
perl-Tk-804, and you have tested that this bug does not
occur on Mandrivalinux 10.0 then this is a moot point and
this bug can be closed.

Thanks!

----------------------------------------------------------------------

Comment By: David N. Lombard (dnl)
Date: 2005-08-30 01:14

Message:
Logged In: YES 
user_id=27334

To properly test, open and dismiss the dialog a number of
times; it should be sufficient to just hit <Read MACs from
file...> and immediately cancel five times <Read-1>,
<Cancel-1>, <Read-2>, <Cancel-2>, ... <Read-5>, <Cancel-5>.

If you survive that, congrats, Mandriva does better than
everybody else at 804.024 and you can close :-)

----------------------------------------------------------------------

Comment By: Fernando Laudares Camargos (laudares)
Date: 2005-08-29 21:39

Message:
Logged In: YES 
user_id=931808

Hi,
I tried to install Perl-Tk from the distribution rpm and it
works.  I just need to keep intalling perl-tie-watch.
What was the bug about? Wheter I was able to launch the
wizard and click  in "Import MACs from file" on step 6, I
didn't had a file to open, but it seemed to work...
Tomorrow I will try a complete install, I just want to tell
that I followed the procedure in the summary and I could not
reproduce the bug (so, it works).
The version that comes with 10.1 is
perl-Tk-804.027-2mdk.i586.rpm.
10.0 comes with perl-Tk-804.024-4mdk.i586.rpm thought.

----------------------------------------------------------------------

Comment By: Bernard Li (bernardli)
Date: 2005-08-24 04:01

Message:
Logged In: YES 
user_id=879102

Fernando, Mandrakelinux 10.0 is the only remaining distro
which uses the old version of perl-Tk - would you be able to
test the perl-Tk RPM which came from 10.1
(perl-Tk-804.027-2mdk.i586.rpm) and see if it installs on
10.0?  If it does, then I think we can check this in and
close this bug.

----------------------------------------------------------------------

Comment By: Erich Focht (efocht)
Date: 2005-08-22 17:00

Message:
Logged In: YES 
user_id=338721

I cannot reproduce the problem on RHEL3 u5 x86_64 (with 
perl-Tk-804.026 installed). 

----------------------------------------------------------------------

Comment By: Erich Focht (efocht)
Date: 2005-08-19 08:56

Message:
Logged In: YES 
user_id=338721

Rebuilt perl-Tk-804.026-1.oscar for i686 and ia64 under RHEL3. 
The RPMs install fine on rhel3 and rhel4 machines, there is no 
need for 804.026-2 (RHEL3 has tk-devel). 
AFAIK, mdk comes with its own perl-Tk. The RHEL3 built RPM 
does not install on mdk. 
 
Committed to trunk: svn 3550. 
Merged to branch-4-2: svn 3551. 
 
Regards, 
Erich 

----------------------------------------------------------------------

Comment By: David N. Lombard (dnl)
Date: 2005-08-19 04:05

Message:
Logged In: YES 
user_id=27334

I have an RHL9 804.026-2oscar, which fixes the "tk-devel"
dependency, which is not usable in RHL9 (and I will guess
RHEL3).

----------------------------------------------------------------------

Comment By: Bernard Li (bernardli)
Date: 2005-08-19 04:01

Message:
Logged In: YES 
user_id=879102

Can someone who have access to RHEL3 x86 and ia64 rebuild
perl-Tk-804.026-1.oscar.src.rpm and check it into trunk and
branch-4-2?

Thanks.

----------------------------------------------------------------------

Comment By: David N. Lombard (dnl)
Date: 2005-08-18 14:38

Message:
Logged In: YES 
user_id=27334

Confirm which "this?"  The original problem, confirmed by
Bernard?  Or the solution, confirmed by me? :-)

----------------------------------------------------------------------

Comment By: John (muglerj)
Date: 2005-08-18 13:00

Message:
Logged In: YES 
user_id=505737

Can anyone else confirm this? Setting to 9. 

----------------------------------------------------------------------

Comment By: David N. Lombard (dnl)
Date: 2005-08-16 06:09

Message:
Logged In: YES 
user_id=27334

I have confrmed 804.026 fixes problem.

I recommend we upgrade to perl-Tk >= 804.026 on whatever
distros we can to avoid the getOpenFile bug in 804.024

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109368&aid=1259533&group_id=9368


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Oscar-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oscar-devel

Reply via email to