Fnorb problem, in fnidl

add adrian at softnet.tuc.gr
Thu Mar 27 20:26:38 EST 2003


I am using Redhat 8.0,without python 2.2.1 .I install Fnorb 1.2
normally,with python setup.py install without any errors :


*****************************************************
*****************************************************
[root at adrian Fnorb-1.2]# python setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/Fnorb
copying ./__init__.py -> build/lib/Fnorb
creating build/lib/Fnorb/compiler
copying ./compiler/CodeGenerator.py -> build/lib/Fnorb/compiler
copying ./compiler/IDLCompiler.py -> build/lib/Fnorb/compiler
copying ./compiler/SkelGenerator.py -> build/lib/Fnorb/compiler
........
........
........
copying build/scripts-2.2/fnifr -> /usr/bin
copying build/scripts-2.2/fnior -> /usr/bin
copying build/scripts-2.2/fnmkior -> /usr/bin
copying build/scripts-2.2/fnoptions -> /usr/bin
copying build/scripts-2.2/fnping -> /usr/bin
changing mode of /usr/bin/fnidl to 755
changing mode of /usr/bin/fnaming to 755
changing mode of /usr/bin/fnendian to 755
changing mode of /usr/bin/fnfeed to 755
changing mode of /usr/bin/fngen to 755
changing mode of /usr/bin/fnifr to 755
changing mode of /usr/bin/fnior to 755
changing mode of /usr/bin/fnmkior to 755
changing mode of /usr/bin/fnoptions to 755
changing mode of /usr/bin/fnping to 755
root at adrian Fnorb-1.2]#
*****************************************************
*****************************************************


But when i run official Helloworld.idl(in Fnorb1.2/examples/helloworld/
directory) with $fnidl HelloWorld.idl then i have the next response from
system -->

*****************************************************
*****************************************************
[root at adrian Fnorb-1.2]# cd examples/hello-world/
[root at adrian hello-world]# fnidl HelloWorld.idl
Traceback (most recent call last):
  File "/usr/lib/python2.2/site-packages/Fnorb/parser/IDLParser.py", line
1617, in

line_directive
    components = string.split(yytext)
  File "/usr/lib/python2.2/string.py", line 117, in split
    return s.split(sep, maxsplit)
  File "/usr/lib/python2.2/site-packages/Fnorb/parser/IDLParser.py", line
1617, in

line_directive
    components = string.split(yytext)
  File "/usr/lib/python2.2/string.py", line 117, in split
    return s.split(sep, maxsplit)
  File "/usr/lib/python2.2/site-packages/Fnorb/parser/IDLParser.py", line
1635, in

line_directive
    file = eval(components[2])
  File "<string>", line 1
    "<command
           ^SyntaxError: invalid token
[root at adrian hello-world]#
*****************************************************
*****************************************************


Do you have any idea why,and how i can make it work?

***The install directory is in a /home/user/.../Fnorb1.2/






More information about the Python-list mailing list