I don't have access to fme server linux box. I came to know from fme documentation that you can upload module as a resource. Which file should I upload as a resource? Is it cx_Oracle.so or some other.
Cheers
John
I don't have access to fme server linux box. I came to know from fme documentation that you can upload module as a resource. Which file should I upload as a resource? Is it cx_Oracle.so or some other.
Cheers
John
unless you're already on FME Server 2015, I think you'll have to install the modules "the old fashioned way". If I'm not mistaken, modules as resources was introduced in FME 2015.0
More info here: http://fmepedia.safe.com/articles/How_To/Python-on-FME-Server
David
Some info here: http://stackoverflow.com/questions/4307479/install-cx-oracle-for-python
Unless somebody else can chime in here with specific details I recommend contacting Safe support.
But rather than using cx_Oracle, why not use fmeobjects.FMEUniversalReader/Writer?
David
http://fmepedia.safe.com/articles/How_To/Pass-a-List-of-Tables-or-Layers-to-an-FME-Reader-using-Python-Scripted-Parameters#heading_toc_j_5
Is there any better way?
David
You then tell the "Schema (any format)" reader to use this resource for the connection. Just tested on my machine and it works as advertised.
David
Say I have to convert 3 tables A,B,C. I have another table, LIST which has list of table I want to convert in this case A,B,C. Using the python script I was able to converts all tables mentioned in the table LIST.
But now I am not able to convert with the schema reader.
Could you please explain further.
Cheers.