Bug 80355 - TB rhpl/executil.py:216:gtkExecWithCaptureStatus: TypeError: len() of unsized object
TB rhpl/executil.py:216:gtkExecWithCaptureStatus: TypeError: len() of unsized...
Product: Red Hat Public Beta
Classification: Retired
Component: rhpl (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
: 80869 81537 (view as bug list)
Depends On:
Blocks: 79578
  Show dependency treegraph
Reported: 2002-12-24 17:23 EST by Warren Togami
Modified: 2008-05-01 11:38 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-02-24 06:40:18 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
NCDevModem.py and executil.py changes (236 bytes, text/*)
2003-01-02 12:49 EST, Paul Coleman
no flags Details

  None (edit)
Description Warren Togami 2002-12-24 17:23:02 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021218

Description of problem:
Read the entire story here

After a text mode install from ISO's on another partition, I have no network
devices configured.  Within redhat-config-network I added my 8139too ethernet
device.  After I clicked "Activate" then "Yes", redhat-config-network crashes
after the "Network device activating..."

window pops Component: redhat-config-network
Version: 1.1.86
Summary: TB

TypeError: len() of unsized object

Traceback (most recent call last):
line 734, in on_deviceActivateButton_clicked
      (status, txt) = intf.activate(device)
"/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
catchfd: 1
searchPath: 0
read: 13
stdin: 0
argv: ['/sbin/ifup', 'eth0']
write: 14
command: /sbin/ifup
closefd: -1
root: /
childpid: 0
up.  Traceback:

I can also reproduce this every time after removing the device and re-adding.

Version-Release number of selected component (if applicable):
Phoebe redhat-config-network-1.1.86-1

How reproducible:

Steps to Reproduce:
1. Start with no devices in redhat-config-network
2. Add 8139too device
3. Click activate
Comment 1 Paul Jenner 2002-12-30 06:52:30 EST
Confirmed the same crash activating an interface in bug #80712.
Comment 2 Paul Coleman 2003-01-02 12:49:15 EST
Created attachment 89061 [details]
NCDevModem.py and executil.py changes
Comment 3 Harald Hoyer 2003-01-08 11:44:54 EST
should be fixed in rhpl > 0.72
Comment 4 Harald Hoyer 2003-01-08 12:00:31 EST
*** Bug 80869 has been marked as a duplicate of this bug. ***
Comment 5 Harald Hoyer 2003-01-13 06:05:43 EST
*** Bug 81537 has been marked as a duplicate of this bug. ***
Comment 6 Jay Turner 2003-01-21 10:35:50 EST
Warren, can you confirm this issue has been resolved?
Comment 7 Warren Togami 2003-02-24 05:01:17 EST
Confirmed with:

Note You need to log in before you can comment on or make changes to this bug.