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

File contains no section headers #37

Open
NAlmaghraby opened this issue May 30, 2019 · 0 comments
Open

File contains no section headers #37

NAlmaghraby opened this issue May 30, 2019 · 0 comments

Comments

@NAlmaghraby
Copy link

Hello there,
Please, I need help with this error. whenever I try to run the first line of the code, I get this error. how can I fix it, please.
Thank you
(base) C:\Users\NoNo\Desktop\scrapy\fbcrawl>scrapy crawl fbcrawl -a email="[email protected]" -a password="10wnyu31" -a page="Nike" -a date="2019-01-01" -a lang="en" -o Trump.csv
Traceback (most recent call last):
File "C:\Users\NoNo\Anaconda3\Scripts\scrapy-script.py", line 10, in
sys.exit(execute())
File "C:\Users\NoNo\Anaconda3\lib\site-packages\scrapy\cmdline.py", line 110, in execute
settings = get_project_settings()
File "C:\Users\NoNo\Anaconda3\lib\site-packages\scrapy\utils\project.py", line 63, in get_project_settings
init_env(project)
File "C:\Users\NoNo\Anaconda3\lib\site-packages\scrapy\utils\conf.py", line 84, in init_env
cfg = get_config()
File "C:\Users\NoNo\Anaconda3\lib\site-packages\scrapy\utils\conf.py", line 98, in get_config
cfg.read(sources)
File "C:\Users\NoNo\Anaconda3\lib\configparser.py", line 696, in read
self._read(fp, filename)
File "C:\Users\NoNo\Anaconda3\lib\configparser.py", line 1079, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: 'C:\Users\NoNo\Desktop\scrapy\fbcrawl\scrapy.cfg', line: 7
'\n'

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

1 participant