Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata is not saved to db in single process mode #396

Open
Prometheus3375 opened this issue Jun 12, 2020 · 2 comments
Open

Metadata is not saved to db in single process mode #396

Prometheus3375 opened this issue Jun 12, 2020 · 2 comments

Comments

@Prometheus3375
Copy link

Metadata is saved in distributed mode if there is a db worker with no flag --no-incoming. When I switched to single process mode, metadata is not saved. I did not find any setting that enables it. Is it indented? According to documentation metadata should be saved.

image

Here you can find my project. I am using discovery strategy. To add seeds, run python -m frontera.utils.add_seeds --config config.single --seeds-file seeds.txt. To start crawl, run scrapy crawl spider.

@sibiryakov
Copy link
Member

Hi, is sqlite file created, is anything written there?

@Prometheus3375
Copy link
Author

@sibiryakov, yes, queue, states and domain metadata tables are filling with data. Only metadata is always empty in single process mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants