frontera icon indicating copy to clipboard operation
frontera copied to clipboard

Module 'frontera.contrib.backends.memory' doesn't define any object named 'FIFO'

Open Rockyzsu opened this issue 6 years ago • 3 comments

Frist time to use frontera, after install frontera and option in https://frontera.readthedocs.io/en/latest/topics/installation.html#options

then run the example under requests/link_followers.py. But it come with error :

raise NameError("Module '%s' doesn't define any object named '%s'" % (module, name))

NameError: Module 'frontera.contrib.backends.memory' doesn't define any object named 'FIFO'

how to fix it or i am missing something ?

Rockyzsu avatar Jul 18 '19 03:07 Rockyzsu

my best guess is the example was already outdated, https://github.com/scrapinghub/frontera/commit/1f1f4a14d02509091e308c422efc33f29f9e9bae

I think u should directly go to single mode for trying or testing.

ghost avatar Jul 18 '19 04:07 ghost

thx @liho00 So link_followers.py is not the single mode ? This link https://frontera.readthedocs.io/en/latest/topics/quick-start-single.html is the real single mode with scrapy ?

Do you have the latest demo code ?

Rockyzsu avatar Jul 18 '19 06:07 Rockyzsu

thx @liho00 So link_followers.py is not the single mode ? This link https://frontera.readthedocs.io/en/latest/topics/quick-start-single.html is the real single mode with scrapy ?

Do you have the latest demo code ?

nope, it just an example. you just follow the documentation will do. I have tried distributed mode, i have never try single mode before.

ghost avatar Jul 21 '19 17:07 ghost