Type error when we try to retrieve the FEEDS
setting via CLI and it has a Path
objects as a key
#5383
Labels
FEEDS
setting via CLI and it has a Path
objects as a key
#5383
Description
When a
Path
object is used as a key in theFEEDS
dictionary and we try to obtain theFEEDS
setting via CLIscrapy settings --get FEEDS
, a type error is raised:A complete stack trace is attached below under "Actual behavior".
Path
objects as keys are allowed as documented in the FEEDS section of the Feed exports chapter.Steps to Reproduce
scrapy project feeds_bug
), prepend the following lines tosettings.py
:scrapy settings --get FEEDS
Expected behavior: Some string representation of the
FEEDS
setting gets printed to standard out, maybe like this:Actual behavior: A type error is raised:
Reproduces how often: 100%
Versions
The text was updated successfully, but these errors were encountered: