gnue-dev
[Top][All Lists]
Advanced

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

[Gnue-dev] Adventures with geas: strange old parser?


From: Holger Schurig
Subject: [Gnue-dev] Adventures with geas: strange old parser?
Date: Sun, 6 Jan 2002 21:20:05 +0100

This morning I had some adventures with geas. I've got the CVS version 
of it and had some sort of trouble. So I compiled it with 
--enable-debug. I was able to resolve some of it with on #gnuenterprise 
with neilt. Other things remain open.

I used the geas.conf file in the geas/src directory as a starting point 
and changed it so that one one classdir and methodir line was in there, 
pointing to the ../examples.

When I started geas-server, it said something like:

holger:/usr/src/gnue/geas/src# ./geas-server
Trying to open config file '/usr/local/etc/geas.conf'
nope, so trying config file 'geas.conf'
Loading aliases from file 'geas-alias.cfg'

GNU Enterprise Application Server
Version 0.0.6 DEBUG
Database support compiled for: PostgreSQL
Copyright 2001 Free Software Foundation

See the file 'COPYING' for details of the Gnu Public License
that covers this program

http://www.gnue.org/

warning: [geas-server.c/994] [readOptions] Debugging support has been 
turned off.
Preparing server side data handling classes
Initialising data monitor and log system.
geas.log tracks all data accesses.
Debugging output logged to 'geas.debug.log'
Loading initial list of reserved words
Load business class definitions (old parser)

++++ Pass 1 File: ../examples/businessobjects/addrbook.gcd
error: file ../examples/businessobjects/addrbook.gcd, line 21:
Duplicate class name found.
class person
      ^

++++ Pass 1 File: ../examples/businessobjects/test.gcd
     Found include: ../businessobjects/subdir/test2.inc, processing now.
error: file ../examples/businessobjects/test.gcd, line 9:
Duplicate class name found.
class test
      ^

error: file ../examples/businessobjects/test.gcd, line 27:
Duplicate class name found.
type money
     ^

error: file ../examples/businessobjects/test.gcd, line 33:
Duplicate class name found.
class rtest
      ^

error: file ../examples/businessobjects/test.gcd, line 54:
Duplicate class name found.
class timetest
      ^

message: Too many errors. File load failed.
Load business class definitions (new parser)
addrbook.gcd:7: no format allowed for this type
    text name<20>;
                ^
addrbook.gcd:16: no format allowed for this type
    text description<16>;
                       ^
addrbook.gcd:17: no format allowed for this type
    text value<16>;
                 ^
addrbook.gcd:18: unknown type 'object'
    object person;
           ^
addrbook.gcd:26: unknown type 'lookup'
    lookup country : addressbook::country(id).name = countrycode;
           ^
Initialising business class method handling.
Loading file ../examples/businessobjects/methods/addrbook.geas.py
Loading file ../examples/businessobjects/methods/test.geas.py
Now registering methods from gcds.
geas-server: classdata.c:1002: odl_tree_list_classes: Assertion `tree 
!= ((void *)0)' failed.
Aborted



reply via email to

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