Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 81537

Summary: executil.py:216:gtkExecWithCaptureStatus:TypeError: len() of unsized object
Product: [Retired] Red Hat Linux Reporter: Pam Huntley <pam_huntley>
Component: redhat-config-networkAssignee: Harald Hoyer <harald>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 9CC: wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:51:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 79578    

Description Pam Huntley 2003-01-10 04:40:09 UTC
Description of problem:
redhat-config-network crashes when I try to activate eth0.  It didn't come up
automatically after I installed, so I went to the utility and clicked on add,
and it had the ethernet card (intel etherexpress 1000) listed as an option, so I
clicked on that and set it up as dhcp.  When I went to activate it, it said to
save, so I saved, and then it crashed with the activating interface progress
dialog still up.  then I went to activate eth0 from the command line and it
worked, and deactivating eth0 worked, but whenever I went to activate, it crashed.

Version-Release number of selected component (if applicable):


How reproducible:
always.

Steps to Reproduce:
1.  install pheobe
2.  run config
3.  set up eth0 as dhcp
4.  activate interface
5.  it prompts to save, then crashes.
    
Actual results:
crash

Expected results:
activate interface

Additional info:
lspci for ethernet card:
02:01.0 Ethernet controller: Intel Corp.: Unknown device 101e (rev 03)

Error message from crash:
Component: redhat-config-network
Version: 1.1.86
Summary: TB
/usr/lib/python2.2/site-packages/rhpl/executil.py:216:gtkExecWithCaptureStatus:
TypeError: len() of unsized object
                                                                                 
Traceback (most recent call last):
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/gui/maindialog.py",
line 734, in on_deviceActivateButton_clicked
    (status, txt) = intf.activate(device)
  File "/usr/sbin/../share/redhat-config-network/netconfpkg/Control.py", line
107, in activate
    return gtkExecWithCaptureStatus(command, [command, device])
  File "/usr/lib/python2.2/site-packages/rhpl/executil.py", line 216, in
gtkExecWithCaptureStatus
    if len(catchfd):
TypeError: len() of unsized object
                                                                                 
Local variables in innermost frame:
gtk: <module 'gtk' from '/usr/lib/python2.2/site-packages/gtk-2.0/gtk/__init__.pyc'>
catchfd: 1
searchPath: 0
read: 13
stdin: 0
argv: ['/sbin/ifup', 'eth0']
write: 14
command: /sbin/ifup
closefd: -1
root: /
childpid: 0

Comment 1 Harald Hoyer 2003-01-13 11:05:37 UTC

*** This bug has been marked as a duplicate of 80355 ***

Comment 2 Red Hat Bugzilla 2006-02-21 18:51:04 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.