aurelg / feedspora

FeedSpora posts RSS/Atom feeds to your social network accounts.
35 stars 5 forks source link

TypeError: load() missing 1 required positional argument: 'Loader' #81

Closed nedson closed 1 year ago

nedson commented 1 year ago

Could anyone assist? After installing using the instructions posted, I run python3 -m feedspora, I get this error:

Traceback (most recent call last): File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.9/runpy.py", line 87, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.9/dist-packages/feedspora/main.py", line 100, in main() File "/usr/local/lib/python3.9/dist-packages/feedspora/main.py", line 84, in main config = read_config_file(root_name + '.yml') File "/usr/local/lib/python3.9/dist-packages/feedspora/main.py", line 33, in read_config_file return load(config_file) TypeError: load() missing 1 required positional argument: 'Loader'

nedson commented 1 year ago

Okay!

The solution is:

!pip install pyyaml==5.4.1

Now I am seeing this error:

AttributeError: 'NoneType' object has no attribute 'text'