Written by

Architect at Placid Sky Consulting
Question Herman Slagman · Nov 3, 2024

Python import Iris AccessDenied

I've enabled the CallIn service (unauthenticated), but I'm still getting 'ImportError: IrisStart failed: IRIS_ACCESSDENIED (-15)'

Any clues?

Comments

John Murray · Nov 3, 2024

Any clues in the IRIS audit log? Make sure relevant system events are enabled first. 

0
Herman Slagman  Nov 4, 2024 to John Murray

Thanks John, the Audit log did it: the Resource %DB_USER needed to be RW enabled.

0
Guillaume Rongier · Nov 4, 2024

did you try to put thoses var env :

export IRISUSERNAME=...
export IRISPASSWORD=...
export IRISNAMESPACE=...
0
Herman Slagman  Nov 4, 2024 to Guillaume Rongier

I didn't but it wasn't needed for the import to work.
Now I did together with IRISINSTALLDIR.
Thanks

0
Herman Slagman  Nov 6, 2024 to Guillaume Rongier

Is there a more structured way of specifying these values, such as a config.file ?

0