Skip to content

RSS_MAX_ITEMS Error in "Run daily report pipeline" #17

@RonghaiHe

Description

@RonghaiHe

Thanks for your sharing. I deploy it in Github Action, here is the error:

Traceback (most recent call last):
  File "/home/runner/work/iDeer/iDeer/main.py", line 406, in <module>
    main()
  File "/home/runner/work/iDeer/iDeer/main.py", line ***78, in main
    source_cls.add_arguments(parser)
  File "/home/runner/work/iDeer/iDeer/sources/rss_source.py", line 40, in add_arguments
    "--rss_max_items", type=int, default=int(os.getenv("RSS_MAX_ITEMS", "30")),
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base ***0: ''
Error: Process completed with exit code ***.

I haven't set RSS_MAX_ITEMS in Action variables. Maybe it relates to your latest commit about "feat: add RSS source for Juya AI Daily".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions