Question

Issues with Emailer and FME2019.1

  • 20 September 2019
  • 1 reply
  • 2 views

Badge +1

Hi, I downloaded a workbench which was on FME Server to a FME 2019.1 desktop workspace but I can't get it to run due to an issue with Emailer and Python as per the message below. The workbench was previously a FME 2017.1 workbench when it was first uploaded to FME Server.

 

2019-09-20 12:04:19| 17.1| 0.0|ERROR |Python Exception <ImportError>: bad magic number in 'Emailer': b'\\x17\\r\\r\\n'

 

2019-09-20 12:04:19| 17.1| 0.0|FATAL |PythonFactory failed to load python symbol `Emailer.Emailer'

 

2019-09-20 12:04:19| 17.1| 0.0|FATAL |Emailer_2_CALLER (PythonFactory): PythonFactory failed to close properly

 

2019-09-20 12:04:19| 17.1| 0.0|ERROR |Emailer_2_CALLER (PythonFactory): A fatal error has occurred. Check the logfile above for details

 

I have tried upgrading the Emailer transformer to the most recent version but this didn't make a difference.

I have also tried changing the Python Compatibility from Python 3.5+ to Python 2.7 but then the workbench fails at the very start and won't read in my Oracle Spatial table.

Any ideas?

Thanks,

 

 

 


1 reply

Userlevel 3
Badge +17

Hi @aquamarine

I'm sorry you ran into this issue.

In general, "Python Exception <ImportError>: bad magic number in ..." errors occurs when an old incompatible .pyc file is loaded. The old .pyc file is likely from a previous install of FME and this situation can occur when your current FME build is installed over an older FME build in the same folder.

 

 

I would suggest performing a clean uninstall of FME following the instructions from this article: https://knowledge.safe.com/articles/962/re-installing-fme-if-there-is-a-problem-with-the-i.html and reinstall FME.

Reply