Skip to content

Error on debug node #17

@jianlao8

Description

@jianlao8

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions