Bug 110516 - TB GUI_functions.py:524:gui_run_dialog:OSError: [Errno 1] Operasjonen er ikke tillatt
Summary: TB GUI_functions.py:524:gui_run_dialog:OSError: [Errno 1] Operasjonen er ikke...
Status: CLOSED DUPLICATE of bug 109604
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-config-network (Show other bugs)
(Show other bugs)
Version: 1
Hardware: All Linux
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2003-11-20 17:33 UTC by Kyrre Ness Sjøbæk
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-21 19:00:04 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
"Network Device Control" crash dump after pressing the cancel button (2.15 KB, text/plain)
2003-11-20 18:01 UTC, petrosyan
no flags Details

Description Kyrre Ness Sjøbæk 2003-11-20 17:33:37 UTC
Description of problem:
I have given ordinary users the rigth to activate eth0 (in neat), but 
when I try to do so (in redhat-config-network, applications -> system 
tools -> network device control or something like that), pushing 
activate works fine. But if I push cancel, the app crashes

Reasons to push cancel:
- My smootwall (dhcp) box is off, don't care to wait
- Network jack not plugged in
- etc

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

How reproducible:
every time i tried, it crashed

Steps to Reproduce:
1. Open redhat-config-network
2. Push "activate"
3. Push cancel, dont wait for it to finish getting the IP info
Actual results:
Component: redhat-config-network
Version: 1.3.10
Summary: TB3fbf821d GUI_functions.py:524:gui_run_dialog:OSError: 
[Errno 1] Operasjonen er ikke tillatt
Traceback (most recent call last):
  File "/usr/bin/redhat-control-network", line 184, in 
    (ret, msg) = dev.activate()
/netconfpkg/NCDevice.py", line 385, in activate
    dialog = dialog)
/netconfpkg/NC_functions.py", line 512, in generic_run_dialog
    dialog = dialog)
/netconfpkg/gui/GUI_functions.py", line 524, in gui_run_dialog
OSError: [Errno 1] Operasjonen er ikke tillatt

Local variables in innermost frame:
fdin: []
swindow: <gtk.ScrolledWindow object (GtkScrolledWindow) at 0x9139dec>
string: <module 'string' from '/usr/lib/python2.2/string.pyc'>
okbutton: <gtk.Button object (GtkButton) at 0x9139e74>
buffer: <gtk.TextBuffer object (GtkTextBuffer) at 0x9147acc>
cancelbutton: <gtk.Button object (GtkButton) at 0x913a44c>
command: /sbin/ifup
argv: ['/sbin/ifup', 'eth0', 'up']
searchPath: 0
CancelException: netconfpkg.gui.GUI_functions.CancelException
root: /
label: Aktiverer nettverksenhet eth0, vennlist vent...
lbl: <gtk.Label object (GtkLabel) at 0x9139dc4>
select: <module 'select' from '/usr/lib/python2.
stdin: 0
xml: <gtk.glade.XML object (GladeXML) at 0x8c79bdc>
catchfd: (1, 2)
fderr: []
dlg: <gtk.Dialog object (GtkDialog) at 0x909551c>
errlabel: Kan ikke aktivere nettverksenhet eth0!

fdout: []
vadj: <gtk.Adjustment object (GtkAdjustment) at 0x90a422c>
gtk: <module 'gtk' from '/usr/lib/python2.2/site-packages/gtk-2.
iter: <GtkTextIter at 0x91479e8>
mark: <gtk.TextMark object (GtkTextMark) at 0x9147c8c>
write: 4
read: 3
s: Determining IP information for eth0...
childpid: 7079
closefd: -1
dialog: None
Determining IP information for eth0...
title: redhat-config-network:

Nettverksenheten aktiveres...
os: <module 'os' from '/usr/lib/python2.2/os.pyc'>
textview: <gtk.TextView object (GtkTextView) at 0x91402d4>

Expected results:
it should be canceled!

Additional info:

Language: Norwegian
Using DHCP
Usually the dhcp server sets the hostname (if booted with network 
connected (laptop))

Comment 1 Kyrre Ness Sjøbæk 2003-11-20 17:35:35 UTC
As i see you are norwegian, (or guess by your name at least) here are 
the norwegian instructions for opening the app (through a NOR menu):

Applikasjoner (gnome) -> systemverktøy -> kontroll av nettverksenhet

Comment 2 petrosyan 2003-11-20 18:00:08 UTC
I get the same behaviour on a US English system.
I am also attaching the crash dump.

Comment 3 petrosyan 2003-11-20 18:01:09 UTC
Created attachment 96091 [details]
"Network Device Control" crash dump after pressing the cancel button

Comment 4 Harald Hoyer 2003-11-25 15:50:32 UTC

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

Comment 5 Red Hat Bugzilla 2006-02-21 19:00:04 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

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