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

Error when parsing output of PythonFunction #11

Open
KevinRich651 opened this issue Jul 25, 2023 · 4 comments
Open

Error when parsing output of PythonFunction #11

KevinRich651 opened this issue Jul 25, 2023 · 4 comments

Comments

@KevinRich651
Copy link

image

According the error message, the output stderr contains invalid token /. But I am sure that the code in the PythonFunction.node is correct.

How can I get the stderr of PythonFunction.node

@KevinRich651
Copy link
Author

hi @naskio , do you get a chance to take a look at this issue. Might point me a right direction

@KevinRich651
Copy link
Author

In the n8n web page, I got the same error response as this issue.

But in the GCP cloud logging, I got the error log like this. I am quite confused about this.
image

@KevinRich651
Copy link
Author

The python code in the node in the workflow executed normally except output the expected result.
In the attached screenshot of the code, the line of code print(fileNames) executes successfully.

I am wondering what's wrong with the last line return fileNames #CHANGE

image

@KevinRich651
Copy link
Author

Looking forward to your suggestion

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

1 participant