Re: Bug 18 i386 installer

2013-01-21 Thread Radek Vykydal

Hi,

this should be covered by
https://bugzilla.redhat.com/show_bug.cgi?id=893892,
(ie your latest traceback is in
https://bugzilla.redhat.com/show_bug.cgi?id=893892#c26)
We have updates image with simple fix for F18 Common Bugs:
http://fedoraproject.org/wiki/Common_F18_bugs#Live_installation_on_machines_with_WWAN_network_card_freezes
For F19 I'm going to work on more generic fix of ifcfg files handling.

Radek

On 01/20/2013 01:16 AM, Benjamin Adams wrote:

During the network install section I got the fallowing:

Next Item was:
Traceback (most recent call last):
   File /usr/lib/python2.7/site-packages/pyanaconda/threads.py, line 91, in 
run
 threading.Thread.run(self, *args, **kwargs)
   File /usr/lib/python2.7/threading.py, line 504, in run
 self.__target(*self.__args, **self.__kwargs)
   File /usr/lib/python2.7/site-packages/pyanaconda/install.py, line
72, in doConfiguration
 ksdata.network.execute(storage, ksdata, instClass)
   File /usr/lib/python2.7/site-packages/pyanaconda/kickstart.py,
line 759, in execute
 network.write_network_config(storage, ksdata, instClass, ROOT_PATH)
   File /usr/lib/python2.7/site-packages/pyanaconda/network.py, line
929, in write_network_config
 write_sysconfig_network(rootpath, ksdata, overwrite=flags.livecdInstall)
   File /usr/lib/python2.7/site-packages/pyanaconda/network.py, line
840, in write_sysconfig_network
 dev.loadIfcfgFile()
   File /usr/lib/python2.7/site-packages/pyanaconda/network.py, line
311, in loadIfcfgFile
 IfcfgFile.read(self)
   File /usr/lib/python2.7/site-packages/pyanaconda/simpleconfig.py,
line 187, in read
 SimpleConfigFile.read(self, self.path)
   File /usr/lib/python2.7/site-packages/pyanaconda/simpleconfig.py,
line 77, in read
 with open(filename) as f:
IOError: [Errno 2] No such file or directory:
'/etc/sysconfig/network-scripts/ifcfg-ttyUSB0'

contents of /etc/sysconfig/network-scripts:
[liveuser@localhost ~]$ ls /etc/sysconfig/network-scripts/
ifcfg-lo  ifdown-postifup-ipppifup-sit
ifcfg-p2p1ifdown-ppp ifup-ipv6ifup-tunnel
ifcfg-wifinetwork  ifdown-routes  ifup-ipx ifup-wireless
ifdownifdown-sit ifup-isdninit.ipv6-global
ifdown-bnep   ifdown-tunnel  ifup-plipkeys-wifinetwork
ifdown-ethifup   ifup-plusb   network-functions
ifdown-ippp   ifup-aliases   ifup-postnetwork-functions-ipv6
ifdown-ipv6   ifup-bnep  ifup-ppp
ifdown-isdn   ifup-eth   ifup-routes

Still some changes need will look later on.

Ben

On Sat, Jan 19, 2013 at 6:56 PM, Benjamin Adams
benjamindad...@gmail.com wrote:

hello,

I did a fix change to the installer.
This is on i386 not sure about x64 coding.

Fix was in file:
/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py

line 960:
from
 @hostname.setter
 def hostname(self, value):
 self.entry_hostname.set_text(value)

To:
 @hostname.setter
 def hostname(self, value):
+if not value:
+value = 'localhost'
 self.entry_hostname.set_text(value)

Installing also on wireless without network connection.

Thanks,

Ben Adams


On Sat, Jan 19, 2013 at 5:37 PM, Benjamin Adams
benjamindad...@gmail.com wrote:

I'm on a IBM T60  I get the fallowing error on the welcome screen with
languages.  I select English (US) ... Hitting Continue I get:

(Attached is my dmesg)

(anaconda:2413): Gtk-WARNING **: Overriding tab label for notebook
Traceback (most recent call last):
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py,
line 77, in lambda
 self.window.connect(continue-clicked, lambda *args:
self._on_continue_clicked(cb))
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py,
line 287, in _on_continue_clicked
 StandaloneSpoke._on_continue_clicked(self, cb)
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py,
line 73, in _on_continue_clicked
 cb()
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/__init__.py,
line 234, in _on_continue_clicked
 nextAction = self._instantiateAction(self._actions[1])
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/__init__.py,
line 77, in _instantiateAction
 obj = actionClass(self.data, self.storage, self.payload, self.instclass)
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py,
line 1091, in __init__
 self.network_control_box.hostname = self.data.network.hostname
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py,
line 960, in hostname
 self.entry_hostname.set_text(value)
   File /usr/lib/python2.7/site-packages/gi/types.py, line 47, in function
 return info.invoke(*args, **kwargs)
TypeError: Argument 1 does not allow None as a value

I know some python.  Don't have time to debug now but will look tonight.

Ben


--
test mailing list
test@lists.fedoraproject.org
To unsubscribe:

Re: Bug 18 i386 installer

2013-01-19 Thread Benjamin Adams
hello,

I did a fix change to the installer.
This is on i386 not sure about x64 coding.

Fix was in file:
/usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py

line 960:
from
@hostname.setter
def hostname(self, value):
self.entry_hostname.set_text(value)

To:
@hostname.setter
def hostname(self, value):
+if not value:
+value = 'localhost'
self.entry_hostname.set_text(value)

Installing also on wireless without network connection.

Thanks,

Ben Adams


On Sat, Jan 19, 2013 at 5:37 PM, Benjamin Adams
benjamindad...@gmail.com wrote:
 I'm on a IBM T60  I get the fallowing error on the welcome screen with
 languages.  I select English (US) ... Hitting Continue I get:

 (Attached is my dmesg)

 (anaconda:2413): Gtk-WARNING **: Overriding tab label for notebook
 Traceback (most recent call last):
   File 
 /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py,
 line 77, in lambda
 self.window.connect(continue-clicked, lambda *args:
 self._on_continue_clicked(cb))
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py,
 line 287, in _on_continue_clicked
 StandaloneSpoke._on_continue_clicked(self, cb)
   File 
 /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py,
 line 73, in _on_continue_clicked
 cb()
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/__init__.py,
 line 234, in _on_continue_clicked
 nextAction = self._instantiateAction(self._actions[1])
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/__init__.py,
 line 77, in _instantiateAction
 obj = actionClass(self.data, self.storage, self.payload, self.instclass)
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py,
 line 1091, in __init__
 self.network_control_box.hostname = self.data.network.hostname
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py,
 line 960, in hostname
 self.entry_hostname.set_text(value)
   File /usr/lib/python2.7/site-packages/gi/types.py, line 47, in function
 return info.invoke(*args, **kwargs)
 TypeError: Argument 1 does not allow None as a value

 I know some python.  Don't have time to debug now but will look tonight.

 Ben
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test

Re: Bug 18 i386 installer

2013-01-19 Thread Benjamin Adams
During the network install section I got the fallowing:

Next Item was:
Traceback (most recent call last):
  File /usr/lib/python2.7/site-packages/pyanaconda/threads.py, line 91, in run
threading.Thread.run(self, *args, **kwargs)
  File /usr/lib/python2.7/threading.py, line 504, in run
self.__target(*self.__args, **self.__kwargs)
  File /usr/lib/python2.7/site-packages/pyanaconda/install.py, line
72, in doConfiguration
ksdata.network.execute(storage, ksdata, instClass)
  File /usr/lib/python2.7/site-packages/pyanaconda/kickstart.py,
line 759, in execute
network.write_network_config(storage, ksdata, instClass, ROOT_PATH)
  File /usr/lib/python2.7/site-packages/pyanaconda/network.py, line
929, in write_network_config
write_sysconfig_network(rootpath, ksdata, overwrite=flags.livecdInstall)
  File /usr/lib/python2.7/site-packages/pyanaconda/network.py, line
840, in write_sysconfig_network
dev.loadIfcfgFile()
  File /usr/lib/python2.7/site-packages/pyanaconda/network.py, line
311, in loadIfcfgFile
IfcfgFile.read(self)
  File /usr/lib/python2.7/site-packages/pyanaconda/simpleconfig.py,
line 187, in read
SimpleConfigFile.read(self, self.path)
  File /usr/lib/python2.7/site-packages/pyanaconda/simpleconfig.py,
line 77, in read
with open(filename) as f:
IOError: [Errno 2] No such file or directory:
'/etc/sysconfig/network-scripts/ifcfg-ttyUSB0'

contents of /etc/sysconfig/network-scripts:
[liveuser@localhost ~]$ ls /etc/sysconfig/network-scripts/
ifcfg-lo  ifdown-postifup-ipppifup-sit
ifcfg-p2p1ifdown-ppp ifup-ipv6ifup-tunnel
ifcfg-wifinetwork  ifdown-routes  ifup-ipx ifup-wireless
ifdownifdown-sit ifup-isdninit.ipv6-global
ifdown-bnep   ifdown-tunnel  ifup-plipkeys-wifinetwork
ifdown-ethifup   ifup-plusb   network-functions
ifdown-ippp   ifup-aliases   ifup-postnetwork-functions-ipv6
ifdown-ipv6   ifup-bnep  ifup-ppp
ifdown-isdn   ifup-eth   ifup-routes

Still some changes need will look later on.

Ben

On Sat, Jan 19, 2013 at 6:56 PM, Benjamin Adams
benjamindad...@gmail.com wrote:
 hello,

 I did a fix change to the installer.
 This is on i386 not sure about x64 coding.

 Fix was in file:
 /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py

 line 960:
 from
 @hostname.setter
 def hostname(self, value):
 self.entry_hostname.set_text(value)

 To:
 @hostname.setter
 def hostname(self, value):
 +if not value:
 +value = 'localhost'
 self.entry_hostname.set_text(value)

 Installing also on wireless without network connection.

 Thanks,

 Ben Adams


 On Sat, Jan 19, 2013 at 5:37 PM, Benjamin Adams
 benjamindad...@gmail.com wrote:
 I'm on a IBM T60  I get the fallowing error on the welcome screen with
 languages.  I select English (US) ... Hitting Continue I get:

 (Attached is my dmesg)

 (anaconda:2413): Gtk-WARNING **: Overriding tab label for notebook
 Traceback (most recent call last):
   File 
 /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py,
 line 77, in lambda
 self.window.connect(continue-clicked, lambda *args:
 self._on_continue_clicked(cb))
   File 
 /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/welcome.py,
 line 287, in _on_continue_clicked
 StandaloneSpoke._on_continue_clicked(self, cb)
   File 
 /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/__init__.py,
 line 73, in _on_continue_clicked
 cb()
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/__init__.py,
 line 234, in _on_continue_clicked
 nextAction = self._instantiateAction(self._actions[1])
   File /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/__init__.py,
 line 77, in _instantiateAction
 obj = actionClass(self.data, self.storage, self.payload, self.instclass)
   File 
 /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py,
 line 1091, in __init__
 self.network_control_box.hostname = self.data.network.hostname
   File 
 /usr/lib/python2.7/site-packages/pyanaconda/ui/gui/spokes/network.py,
 line 960, in hostname
 self.entry_hostname.set_text(value)
   File /usr/lib/python2.7/site-packages/gi/types.py, line 47, in function
 return info.invoke(*args, **kwargs)
 TypeError: Argument 1 does not allow None as a value

 I know some python.  Don't have time to debug now but will look tonight.

 Ben
-- 
test mailing list
test@lists.fedoraproject.org
To unsubscribe:
https://admin.fedoraproject.org/mailman/listinfo/test