Skip to main content
Question

Crashing workspace when using PythonCaller


Forum|alt.badge.img

Dear All,

 

I am experencing the following problem on FME (FME Desktop 2022.1.0.0 - Build 22618 - WIN64)  : when I work with PythonCaller, my workspaces randomly crash.

For example, starting from empty workspace, I add a Creator followed by a PythonCaller ; run to the PythonCaller -> it works fine ; I add "import arcpy" in the PythonCaller and run -> it works ; I add "print("hello")" in any function of the FeatureProcessor class -> it crashes.

Also, the crashes happen in an unpredictable way : sometimes, it crashes after having inserted "import arcpy" ; sometimes I can add 2-3 five more lines in the function of the FeatureProcessor and it works and then after 1 more line it crashes.

By crashing, I mean the following : after clicking "run", the mouse cursor takes the form of a blue waiting circle during a few seconds and the window suddenly closes -> when it crashes, it seems that the translation never really starts (nothing happens in the "translation log" window), there is no log file produced.

I have been trying thousands of things to solve this problem for more than a week now (changing Python interpreter, working on another machine, etc., etc.), I am running out of ideas...

 

Has any of you already encountered such a problem ?

 

Thanks

2 replies

Forum|alt.badge.img
  • Author
  • July 24, 2023

update : by looking at the Window event observer, I see that the ''module défaillant" [failure module ?] was often Qt6_Widgets_fme.dll (more rarely Qt6Core_fme.dll) => do you know what is the purpose of the Qt6_Widgets_fme.dll ?image.png


verdoodtdries
Supporter
Forum|alt.badge.img+18

It is a known issue. Please check this article for more information. An update of the FME Version will resolve the error.


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