Hello all,

currently we are trying to publish local accounted jobs via RGMA.

The first step was to do this via building LcgRecords and writing them to the DB on the MON node.
The entrys were builded correctly but were ignored/not published by APEL.

The next step, to publish the data directly via the RGMA-PYTHON-API was also unsuccessfull.
I followed the example from the

"R-GMA User Guide for Python Programmers"

as described in the chapter

"4. PRIMARY PRODUCER EXAMPLES"

...
    try:
        storage = rgma.Storage(rgma.StorageType.MEMORY)
        properties = rgma.ProducerProperties(storage)
        terminationInterval = rgma.TimeInterval(60, rgma.Units.MINUTES)
        producer = rgma.PrimaryProducer(terminationInterval, properties)
        predicate = "WHERE (ExecutingSite='GSI-LCG2')"
        latestRetentionPeriod = rgma.TimeInterval(60, rgma.Units.MINUTES)
        historyRetentionPeriod = rgma.TimeInterval(60, rgma.Units.MINUTES)
        producer.declareTable("LcgRecords", predicate, latestRetentionPeriod, historyRetentionPeriod)
        producer.insert(insert)
        producer.close()
    except (rgma.RGMAException, rgma.RemoteException, rgma.UnknownResourceException), e:
        sys.stderr.write("RGMA Error: %s\n" % e)
        sys.exit(1)
                                       
    except:
        sys.stderr.write("Unexpected error: %s\n" % sys.exc_info()[0])
        sys.exit(1)
....


No Records appeared in the remote DB under  https://rgma20.pp.rl.ac.uk:8443/R-GMA/

Unfortunately I got also no error messages from SQL, RGMA or PHYTON.

Has anybody already experiences with this stuff?


Thanks in advantage,

Carsten.

-----------------------------------------
Carsten Preuss
Gesellschaft fuer Schwerionenforschung mbH
IT
Planckstr. 1, D-64291 Darmstadt, Germany
phone: +49-6159-71-1339

-----------------------------------------