Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot get transformation result status Carte #34

Closed
3pm opened this issue Nov 2, 2023 · 7 comments
Closed

cannot get transformation result status Carte #34

3pm opened this issue Nov 2, 2023 · 7 comments

Comments

@3pm
Copy link

3pm commented Nov 2, 2023

Hello!
Pentaho 9.4 + Carte
When using CarteTransOperator it cannot get execution status:
airflow.exceptions.AirflowException: Unexpected server response: {"webresult": {"result": "ERROR", "message": "The specified transformation [trans.ktr] could not be found", "id": null}}

It's because it passes .ktr along to transformation name. If ".ktr" is removed in _get_trans_name (carte.py file) - it works.

That's not the case in CarteJobOperator, it works.

@piffall
Copy link
Member

piffall commented Nov 2, 2023

Hi @3pm, did you try to use just the name, without the extension? I think that the .ktr is not necessary.

@3pm
Copy link
Author

3pm commented Nov 3, 2023

Hello.
The only place I pass path is trans='/home/xxx/pentaho/local/tmp/trans.ktr' parameter. Without full path (including .ktr) it is not working. Later the name is taken from this path in CarteTransOperator.

@3pm
Copy link
Author

3pm commented Nov 3, 2023

This helps for me:
def _get_trans_name(self):
return self.trans.split('/').pop().replace(".ktr","")

@piffall
Copy link
Member

piffall commented Nov 3, 2023

Fixed in v1.1.2: 87895d1

@piffall piffall closed this as completed Nov 3, 2023
@3pm
Copy link
Author

3pm commented May 7, 2024

Hello, can you put it on release 1.1.2 please?

@piffall
Copy link
Member

piffall commented May 7, 2024

That should be already there @3pm

@3pm
Copy link
Author

3pm commented May 7, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants