[omniORB] omniifr backend problem
Frédéric Bouvier
frbouvi@wanadoo.fr
Wed, 25 Jul 2001 12:52:09 +0200
C'est un message de format MIME en plusieurs parties.
------=_NextPart_000_000D_01C11508.9DF16850
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hello,
I am trying omniifr and I have the following problem: omniidl is not =
able to import
the ifr backend although the file ifr.py is present in the same =
directory as showast.py
and example.py. By the way, how omniidl find its back-ends and in what =
path ?
I am trying omniifr 1.1.4 with omniORB 3.0.4
Thank you
Fred
C:\omniORB\omni\src\examples\echo>dir ..\..\..\lib\python\omniidl_be
Le volume dans le lecteur C s'appelle W2000
Le num=E9ro de s=E9rie du volume est 1505-2459
R=E9pertoire de C:\omniORB\omni\lib\python\omniidl_be
15/07/2001 22:28 <DIR> .
15/07/2001 22:28 <DIR> ..
15/07/2001 22:28 62 __init__.py
15/07/2001 22:28 11 756 dump.py
15/07/2001 22:28 1 809 example.py
15/07/2001 22:57 76 __init__.pyc
15/07/2001 22:57 12 780 dump.pyc
15/07/2001 22:57 1 513 example.pyc
15/07/2001 22:29 <DIR> cxx
15/07/2001 22:29 13 645 showast.py
15/07/2001 22:57 15 605 showast.pyc
15/07/2001 23:04 34 164 ifr.py
25/07/2001 12:29 34 065 ifr.pyc
10 fichier(s) 125 475 octets
3 R=E9p(s) 1 482 096 640 octets libres
C:\omniORB\omni\src\examples\echo>omniidl -bifr echo.idl
omniidl: Could not import back-end `ifr'
omniidl: Maybe you need to use the -p option?
omniidl: (The error was `No module named omniORB')
C:\omniORB\omni\src\examples\echo>omniidl -bexample echo.idl
Echo::echoString()
C:\omniORB\omni\src\examples\echo>omniidl -bshowast echo.idl
Showing the AST tree:
AST {
declarations:
interface {
Traceback (innermost last):
File "<string>", line 31, in ?
File ".\main.py", line 424, in main
File ".\showast.py", line 58, in run
File ".\idlast.py", line 162, in accept
File ".\showast.py", line 110, in visitAST
File ".\idlast.py", line 334, in accept
File ".\showast.py", line 134, in visitInterface
File ".\showast.py", line 87, in showID
File ".\tyutil.py", line 228, in mapID
TypeError: second argument must be a class
------=_NextPart_000_000D_01C11508.9DF16850
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am trying omniifr and I have the =
following=20
problem: omniidl is not able to import</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the ifr backend although the file =
ifr.py is present=20
in the same directory as showast.py</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>and example.py. By the way, how omniidl =
find its=20
back-ends and in what path ?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I am trying omniifr 1.1.4 with omniORB=20
3.0.4</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thank you</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Fred</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2>C:\omniORB\omni\src\examples\echo>dir=20
..\..\..\lib\python\omniidl_be<BR> Le volume dans le lecteur C =
s'appelle=20
W2000<BR> Le num=E9ro de s=E9rie du volume est =
1505-2459</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2> R=E9pertoire de=20
C:\omniORB\omni\lib\python\omniidl_be</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>15/07/2001 =20
22:28 =20
<DIR> =20
.<BR>15/07/2001 22:28 =20
<DIR> =20
..<BR>15/07/2001 =20
22:28 &n=
bsp; =20
62 __init__.py<BR>15/07/2001 =20
22:28 &n=
bsp; =20
11 756 dump.py<BR>15/07/2001 =20
22:28 &n=
bsp; =20
1 809 example.py<BR>15/07/2001 =20
22:57 &n=
bsp; =20
76 __init__.pyc<BR>15/07/2001 =20
22:57 &n=
bsp; =20
12 780 dump.pyc<BR>15/07/2001 =20
22:57 &n=
bsp; =20
1 513 example.pyc<BR>15/07/2001 =20
22:29 =20
<DIR> =20
cxx<BR>15/07/2001 =20
22:29 &n=
bsp; =20
13 645 showast.py<BR>15/07/2001 =20
22:57 &n=
bsp; =20
15 605 showast.pyc<BR>15/07/2001 =20
23:04 &n=
bsp; =20
34 164 ifr.py<BR>25/07/2001 =20
12:29 &n=
bsp; =20
34 065=20
ifr.pyc<BR> &n=
bsp; =20
10 fichier(s) =
125 475=20
octets<BR> &nb=
sp; =20
3 R=E9p(s) 1 482 096 640 octets =
libres</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2>C:\omniORB\omni\src\examples\echo>omniidl -bifr=20
echo.idl<BR>omniidl: Could not import back-end `ifr'<BR>omniidl: Maybe =
you need=20
to use the -p option?<BR>omniidl: (The error was `No module named=20
omniORB')</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial =
size=3D2>C:\omniORB\omni\src\examples\echo>omniidl=20
-bexample echo.idl<BR>Echo::echoString()</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial =
size=3D2>C:\omniORB\omni\src\examples\echo>omniidl=20
-bshowast echo.idl<BR>Showing the AST tree:<BR>AST {<BR> =20
declarations:<BR> interface {<BR>Traceback (innermost =
last):<BR> =20
File "<string>", line 31, in ?<BR> File ".\main.py", line =
424, in=20
main<BR> File ".\showast.py", line 58, in run<BR> File=20
".\idlast.py", line 162, in accept<BR> File ".\showast.py", line =
110, in=20
visitAST<BR> File ".\idlast.py", line 334, in accept<BR> =
File=20
".\showast.py", line 134, in visitInterface<BR> File =
".\showast.py", line=20
87, in showID<BR> File ".\tyutil.py", line 228, in =
mapID<BR>TypeError:=20
second argument must be a class</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_000D_01C11508.9DF16850--