Skip to main content
Question

Getting the error: Python Exception : No module named parser


Forum|alt.badge.img

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

11 replies

carsonlam
Safer
Forum|alt.badge.img
  • Safer
  • May 29, 2017

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


david_r
Evangelist
  • May 30, 2017
carsonlam wrote:

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.

warren156
Forum|alt.badge.img
  • August 10, 2017

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

Thanks,

Warren


warren156
Forum|alt.badge.img
  • August 10, 2017
warren156 wrote:

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

 

 


trentatsafe
Safer
Forum|alt.badge.img+6
  • Safer
  • August 10, 2017

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.

warren156
Forum|alt.badge.img
  • August 10, 2017
trentatsafe wrote:

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

 


samisnunu
Contributor
Forum|alt.badge.img+10
  • Contributor
  • August 11, 2017

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.


helmoet
Forum|alt.badge.img+8
  • September 15, 2017

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


aaron
Contributor
Forum|alt.badge.img+10
  • Contributor
  • December 5, 2017
samisnunu wrote:

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.

 

 


debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • February 17, 2018

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


trentatsafe wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings