gnue-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUe-dev] gnue-common/src/util/uuid.py - patch for broken (?) interface


From: Ross Golder
Subject: [GNUe-dev] gnue-common/src/util/uuid.py - patch for broken (?) interface detection
Date: Thu, 24 Nov 2005 20:04:06 +0700

My (Ubuntu Breezy x86_64) machine barfs with:

...
 286, in Generator
    _NIC = NICInformation ()
  File
"/home/rossg/gnue/gnue-svn/.cvsdevelbase/gnue/common/utils/uuid.py",
line 148, in __init__
    self.hwaddresses = [self.getHWAddress (i) for i in self.interfaces]
  File
"/home/rossg/gnue/gnue-svn/.cvsdevelbase/gnue/common/utils/uuid.py",
line 185, in getHWAddress
    data   = fcntl.ioctl (sfhd.fileno (), self.SIOCGIFHWADDR, ifreq)
IOError: [Errno 19] No such device

I've found the attached patch, which uses safer (?) alternative code to
enumerate the interfacegnus, to work for me :) Hope it helps.

--
Ross


Attachment: interfaces-ioerror.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]