Skip to main content
Solved

GoogleBigQueryConnector return error Python Exception


Hi,

 

The GoogleBigQueryConnector return the error of Python Exception. I'm not too sure what should I do to resolve this exception. I'm using the new version of FME 2022.1. Previously this transformer is working well in the FME 2020.

Message error detail:

Python Exception <ImportError>: cannot import name 'decodeWWJDString' from 'fmegeneral.fmeutil' (/Library/FME/2022.1/python/python39/fmegeneral/fmeutil.pyc)
PythonFactory failed to load python symbol `fmepy_google_bigquery.connector.GoogleBigQueryConnector'
Factory proxy not initialized
GoogleBigQueryConnector_CALLER (PythonFactory): PythonFactory failed to process feature

 

Can someone help me on this please.

 

Thanks

Best answer by markw

Hi @mhprawiro​ @stevenjh​, my apologies for the late response! This is caused by a bug (FMEENGINE-71653) that affected FME 2022, but it's since been fixed. Below are the steps to fix the issue:

  • In FME Workbench, you will need to upgrade the Google BigQuery and/or Azure Storage to the latest package version (instructions here).
  • You don't need to update the transformers, just the package.
  • If you're using these workspaces on FME Server, republish a workspace that uses the package. Make sure the package is selected on the "Upload Package" step of the publishing wizard. Once the workspace is published, run it once on FME Server (this will install the package).
    • You only need to do this once, and all other workspaces on FME Server that use the GoogleBigQueryConnector will use the updated package.
View original
Did this help you find an answer to your question?

3 replies

stevenjh
Contributor
Forum|alt.badge.img+1
  • Contributor
  • August 10, 2022

This same python error is appearing in the AzureBlobStorageConnector for FME 20222.0, reverting back to a 2021 version works.


markw
Forum|alt.badge.img
  • Best Answer
  • September 2, 2022

Hi @mhprawiro​ @stevenjh​, my apologies for the late response! This is caused by a bug (FMEENGINE-71653) that affected FME 2022, but it's since been fixed. Below are the steps to fix the issue:

  • In FME Workbench, you will need to upgrade the Google BigQuery and/or Azure Storage to the latest package version (instructions here).
  • You don't need to update the transformers, just the package.
  • If you're using these workspaces on FME Server, republish a workspace that uses the package. Make sure the package is selected on the "Upload Package" step of the publishing wizard. Once the workspace is published, run it once on FME Server (this will install the package).
    • You only need to do this once, and all other workspaces on FME Server that use the GoogleBigQueryConnector will use the updated package.

  • Author
  • September 7, 2022

Thank you @Mark Warren​ the solution works on my side. 😊


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