Description of problem: Unhandled exception when activating network device control if no modem is found Version-Release number of selected component (if applicable): component is a python script with no easily identifiable release number on it How reproducible: 100% Steps to Reproduce: 1. configure ppp conection through modem 2. remove the modem (from pc card slot, in my case) 3. try to bring up the connection with redhat-control-network Actual results: Get message with dump, reporting unhandled exception, and suggesting the dump be sent to bugzilla. Expected results: A reasonable error message telling the user what might be wrong. Additional info: Dump available on request (2053 bytes)
please attach the traceback
Component: redhat-config-network Version: 1.2.15 Summary: TB79414994 GUI_functions.py:523:gui_run_dialog:OSError: [Errno 1] Operation not permitted Traceback (most recent call last): File "/usr/bin/redhat-control-network", line 199, in on_deactivateButton_clicked (ret, msg) = dev.deactivate() File "/usr/src/build/290630-noarch/install/usr/share/redhat-config-network/netconfpkg/NCDevice.py", line 396, in deactivate dialog = dialog) File "/usr/src/build/290630-noarch/install/usr/share/redhat-config-network/netconfpkg/NC_functions.py", line 420, in generic_run_dialog dialog = dialog) File "/usr/src/build/290630-noarch/install/usr/share/redhat-config-network/netconfpkg/gui/GUI_functions.py", line 523, in gui_run_dialog OSError: [Errno 1] Operation not permitted Local variables in innermost frame: fdin: [] swindow: <gtk.ScrolledWindow object (GtkScrolledWindow) at 0x868941c> string: <module 'string' from '/usr/lib/python2.2/string.pyc'> okbutton: <gtk.Button object (GtkButton) at 0x8689554> buffer: <gtk.TextBuffer object (GtkTextBuffer) at 0x8675c6c> cancelbutton: <gtk.Button object (GtkButton) at 0x868950c> command: /usr/sbin/usernetctl argv: ['/usr/sbin/usernetctl', 'ppp1', 'down'] searchPath: 0 label: Deactivating network device GalaxyMV, please wait... lbl: <gtk.Label object (GtkLabel) at 0x868930c> select: <module 'select' from '/usr/lib/python2.2/lib-dynload/selectmodule.so'> stdin: 0 xml: <gtk.glade.XML object (GladeXML) at 0x867eaac> catchfd: (1, 2) fderr: [] dlg: <gtk.Dialog object (GtkDialog) at 0x8688cac> errlabel: Cannot deactivate network device GalaxyMV! fdout: [] root: / gtk: <module 'gtk' from '/usr/lib/python2.2/site-packages/gtk-2.0/gtk/__init__.pyc'> CancelException: netconfpkg.gui.GUI_functions.CancelException mark: <gtk.TextMark object (GtkTextMark) at 0x867be84> write: 4 read: 3 s: 1 childpid: 13531 closefd: -1 dialog: None rc: title: redhat-config-network: Network device deactivating... os: <module 'os' from '/usr/lib/python2.2/os.pyc'> textview: <gtk.TextView object (GtkTextView) at 0x86894dc>
*** This bug has been marked as a duplicate of 103421 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.