Python/Fnorb : No constant for typecode

David CROSSON david.crosson at vx.cit.alcatel.fr
Tue Sep 28 08:41:49 EDT 1999


Hello
  Does anyone know what the fnorb error code "No constant
for this typecode" means ? And how I can debug this ?
The used idl file involve Any, TypeCode types.

HP-UX:tcvh721::~/SIMULATION/SNMP-IDL> ./_server.py &
HP-UX:tcvh721::~/SIMULATION/SNMP-IDL> ./_client.py
Traceback (innermost last):
  File "./_client.py", line 20, in ?
    print server.getAllAtmfM4VpXConn()
  File "./ATM_FORUM_SNMP_M4_MIB/__init__.py", line 14500, in
getAllAtmfM4VpXConn

    self.ifInOctets = _ifInOctets
  File
"/home/atmwkgrp/python-HP-UXB.10.20/lib/python1.5/site-packages/Fnorb/orb/TypeCode.py",

line 2873, in typecode
    typecode_constant = tm.get_typecode_constant(ifr_id)
  File
"/home/atmwkgrp/python-HP-UXB.10.20/lib/python1.5/site-packages/Fnorb/orb/TypeManager.py",

line 111, in get_typecode_constant
    raise 'No constant for this typecode!'
No constant for this typecode!

Thanks for all,
David.


--
// David Crosson - Software Engineer
// Alcatel Telecom, Transmission Systems Division
// Phone: 01 6449 2985, Fax: 01 6449 2189
// mailto:david.crosson at vx.cit.alcatel.fr







More information about the Python-list mailing list