[gnue-appserver] fails to start while scanning NIC information under FreeBSD

Frank Henkel <[email protected]>
Newsgroups gmane.comp.gnu.enterprise.general
Organization NEC High Performance Computing Europe GmbH
Message-ID <[email protected]>
Hi,

I'm in the course of evaluating GNUe.  I'm running a server with FreeBSD 5.4
(tried also SuSE 9.3, but didn't succeed to get so far as for FreeBSD).

* I successfully resolved the prereqisities for gnue-common 
  and gnue-appserver,
* initialised the gnue DB with gnue-setupdb
* edited the /usr/local/gnue/etc/connections.conf and .../gnue.conf
  according to gnue-common-0.5.14/INSTALL

Thought, the server should be ready to execute gnue-appserver, but I get
following failure:

-bash-2.05b$ gnue-appserver 
Traceback (most recent call last):
  File "/usr/local/gnue/bin/gnue-appserver", line 30, in ?
    from gnue.appserver import geasRpcServer
  File "/usr/local/gnue/lib/python/gnue/appserver/geasRpcServer.py", line 39, 
in ?
    from gnue.appserver import geasSessionManager
  File "/usr/local/gnue/lib/python/gnue/appserver/geasSessionManager.py", line 
26, in ?
    import geasSession
  File "/usr/local/gnue/lib/python/gnue/appserver/geasSession.py", line 32, 
in ?
    from gnue.appserver import data, geasList, geasInstance
  File "/usr/local/gnue/lib/python/gnue/appserver/data.py", line 31, in ?
    from gnue.common.utils.uuid import UUID
  File "/usr/local/gnue/lib/python/gnue/common/utils/uuid.py", line 279, in ?
    class Generator:
  File "/usr/local/gnue/lib/python/gnue/common/utils/uuid.py", line 286, in 
Generator
    _NIC = NICInformation ()
  File "/usr/local/gnue/lib/python/gnue/common/utils/uuid.py", line 147, in 
__init__
    self.interfaces  = self.__getInterfaces ()
  File "/usr/local/gnue/lib/python/gnue/common/utils/uuid.py", line 237, in 
__getInterfaces
    data   = fcntl.ioctl (sfhd.fileno (), self.SIOCGIFCONF, ifconf)
IOError: [Errno 25] Inappropriate ioctl for device
-bash-2.05b$ echo $PYTHONPATH
/usr/local/gnue/lib/python
-bash-2.05b$ ls $PYTHONPATH
gnue
-bash-2.05b$ ls $PYTHONPATH/gnue
__init__.py     __init__.pyc    appserver       common          forms           
navigator       paths.py        paths.pyc       reports
-bash-2.05b$ 

Is this specific to FreeBSD?  Has anyone experiece with this failure?
(New to GNUe and Python, so any help welcome.)

Thank you.
BR,
Frank
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.