[WP3] Sourcelists
Jan Snigula
snigula at usm.uni-muenchen.de
Tue Jan 27 13:47:36 CET 2004
Hello,
I'm trying to implement the photred code in python and was trying out the
SourceList interface. When trying to generate a sourcelist I run across
the following error:
12:31:09 - Running : ldacconv -i sex.cat -o ldac.cat -b 1 -c OMEGACAM -f
842
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/home/pegasus/snigula/work/AWPipeline/opipe/Experimental/SourceList.py",
line 402, in make
self.make_sourcelist_from_catalog()
File
"/home/pegasus/snigula/work/AWPipeline/opipe/Experimental/SourceList.py",
line 277, in make_sourcelist_from_catalog
self.commit()
File
"/home/pegasus/snigula/work/AWPipeline/opipe/astro/database/DBMain.py",
line 124, in commit
DBObject.database.commit(self)
File
"/home/pegasus/snigula/work/AWPipeline/opipe/astro/database/DBOracle.py",
line 269, in commit
self.insert_or_update(other)
File
"/home/pegasus/snigula/work/AWPipeline/opipe/astro/database/DBOracle.py",
line 297, in insert_or_update
self.insert_into_database(other)
File
"/home/pegasus/snigula/work/AWPipeline/opipe/astro/database/DBOracle.py",
line 396, in insert_into_database
sub_type = register_objecttype(supertype, attributes)
File
"/home/pegasus/snigula/work/AWPipeline/opipe/astro/database/DBOracle.py",
line 127, in register_objecttype
cursor.execute(query)
File
"/home/pegasus/snigula/work/AWPipeline/opipe/i686-pc-linux/lib/python2.2/site-packages/DCOracle2/DCOracle2.py",
line 973, in execute
result = self._cursor.execute()
dco2.DatabaseError: (6576, 'ORA-06576: not a valid function or procedure
name')
To me this looks like an inconsitency between python and the database,
but as database I use a fresh test database.
Any hints?
Jan
More information about the WP3
mailing list