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 on debug node #17

Open
jianlao8 opened this issue Feb 6, 2022 · 0 comments
Open

Error on debug node #17

jianlao8 opened this issue Feb 6, 2022 · 0 comments

Comments

@jianlao8
Copy link

jianlao8 commented Feb 6, 2022

Hi,

I am using Node-red 2.2. I created a simple flow by use inject, python-function and debug nodes. Flowing code is in the python-function node:

import yfinance as yf

df = yf.download("AAPL", start="2021-12-01", end="2022-02-01")
msg['payload'] = df.tail()

return msg


It runs fine in a python file. But I got errors on debug node in Node-Red.
One of the error is following:

Traceback (most recent call last):
File "", line 75, in


Could you help to resolve the issue?

Thank you so much!

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