Skip to main content

Hi,

When I´m trying to read a layer using the ArcGIS Feature reader it´s resulting in the following error:

Creating reader for format: Esri ArcGIS Server Feature Service

Trying to find a PYTHON plugin for reader named `ARCGISFEATURES'

Loaded Python module `arcgisonlinefeatures' from file `C:\\apps\\FMEBeta\\plugins/python27\\arcgisonlinefeatures\\__init__.pyc'

Python Exception <ImportError>: No module named parser

Could not create Python Reader `ARCGISFEATURES'

A fatal error has occurred. Check the logfile above for details

The weird thing is that in the scripting parameter the Python compatibility is set to Python 3.4+ but still it´s using the Python 2.7 plugin?

I´m using the latest build (20170517 Build 17494).

Christian

Hi @rkcha - that does seem incorrect. Can you open a support case with us to help us investigate the issue?


Hi @rkcha - that does seem incorrect. Can you open a support case with us to help us investigate the issue?

Thanks for looking into it, Carson. If you could keep us updated on the results here as well it would be much appreciated.

Hi @carsonlam can you provide any update on this issue? I appear to be getting the same error.

Thanks,

Warren


Hi @carsonlam can you provide any update on this issue? I appear to be getting the same error.

Thanks,

Warren

By the way, I'm using build 92017.1.0.0 (20170731 - Build 17539 - WIN32)

 

 

Warren

 

 


Hello @warren156

 

 

I believe the issue is when there are leftover modules from a previous FME installation.

 

 

Try deleting the following files:

fme\\python\\js2py\\translators\\pyjsparser.pyc

 

fme\\python\\js2py\\translators\\pyjsparserdata.pyc

 

fme\\python\\js2py\\translators\\std_nodes.pyc

 

 

These are the old .pyc files from the older FME installs.

 

 

This should resolve the issue. Please let me know.

Hello @warren156

 

 

I believe the issue is when there are leftover modules from a previous FME installation.

 

 

Try deleting the following files:

fme\\python\\js2py\\translators\\pyjsparser.pyc

 

fme\\python\\js2py\\translators\\pyjsparserdata.pyc

 

fme\\python\\js2py\\translators\\std_nodes.pyc

 

 

These are the old .pyc files from the older FME installs.

 

 

This should resolve the issue. Please let me know.
Hi @trentatsafe that worked perfectly! thanks!

 

 

Warren

 


I had the same error message when upgraded to the newest build 17539.

I followed @trentatsafe comment, and it worked!

For the next FME update, I hope it'll automatically delete the older .pyc files.


Removing the old pyc files as instructed works fine. BIG hug @trentatsafe!


I had the same error message when upgraded to the newest build 17539.

I followed @trentatsafe comment, and it worked!

For the next FME update, I hope it'll automatically delete the older .pyc files.

I got the error with build 17536 and again with 17652. Happened when trying to access both Mapbox and ArcGIS Online background maps. Agree that it would be best to remove these files with a future installer. This post, and therefore the solution, was not easy to find.

 

 


Hi @sami_snunu, @aaron, and others

The
installer will now clean up any leftover files within Python
directories upon uninstall in FME 2018.0 and newer. This should make
in-place upgrades a little smoother.

Thank you for your patience as we worked to resolve this issue.

Kind regards,

Debbi


Hello @warren156

 

 

I believe the issue is when there are leftover modules from a previous FME installation.

 

 

Try deleting the following files:

fme\\python\\js2py\\translators\\pyjsparser.pyc

 

fme\\python\\js2py\\translators\\pyjsparserdata.pyc

 

fme\\python\\js2py\\translators\\std_nodes.pyc

 

 

These are the old .pyc files from the older FME installs.

 

 

This should resolve the issue. Please let me know.

@trentatsafe can you please let me know the full path, can't seem to find it and I am having the same issue. thanks in advance!


Reply