Traceback (most recent call last):


 "/usr/local/bin/scrapy", line 11, in <module>

sys.exit(execute())


 "/usr/local/lib/python3.5/dist-packages/scrapy/cmdline.py", line 149, in execute

cmd.crawler_process = CrawlerProcess(settings)


 "/usr/local/lib/python3.5/dist-packages/scrapy/crawler.py", line 249, in __init__

super(CrawlerProcess, self).__init__(settings)


 "/usr/local/lib/python3.5/dist-packages/scrapy/crawler.py", line 137, in __init__

self.spider_loader = _get_spider_loader(settings)


 "/usr/local/lib/python3.5/dist-packages/scrapy/crawler.py", line 336, in _get_spider_loader

return loader_cls.from_settings(settings.frozencopy())


 "/usr/local/lib/python3.5/dist-packages/scrapy/spiderloader.py", line 61, in from_settings

return cls(settings)


 "/usr/local/lib/python3.5/dist-packages/scrapy/spiderloader.py", line 25, in __init__

self._load_all_spiders()


 "/usr/local/lib/python3.5/dist-packages/scrapy/spiderloader.py", line 47, in _load_all_spiders

for module in walk_modules(name):


 "/usr/local/lib/python3.5/dist-packages/scrapy/utils/misc.py", line 71, in walk_modules

submod = import_module(fullpath)


 "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module

return _bootstrap._gcd_import(name[level:], package, level)


 "<frozen importlib._bootstrap>", line 986, in _gcd_import


 "<frozen importlib._bootstrap>", line 969, in _find_and_load


 "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked


 "<frozen importlib._bootstrap>", line 673, in _load_unlocked


 "<frozen importlib._bootstrap_external>", line 665, in exec_module


 "<frozen importlib._bootstrap>", line 222, in _call_with_frames_removed


 "/root/develop/selenium/shunqi/shunqi/spiders/shunqiwang.py", line 5, in <module>

from scrapy_selenium import SeleniumRequest


 "/usr/local/lib/python3.5/dist-packages/scrapy_selenium/__init__.py", line 2, in <module>

from .middlewares import SeleniumMiddleware


 "/usr/local/lib/python3.5/dist-packages/scrapy_selenium/middlewares.py", line 30

webdriver_base_path = f'selenium.webdriver.{driver_name}'

^
SyntaxError: invalid syntax


Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/gunicorn/workers/base.py", line 135, in load_wsgi

self.wsgi = self.app.wsgi()


 "/usr/local/lib/python3.6/site-packages/gunicorn/app/base.py", line 67, in wsgi

self.callable = self.load()


 "/usr/local/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 65, in load

return self.load_wsgiapp()


 "/usr/local/lib/python3.6/site-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp

return util.import_app(self.app_uri)


 "/usr/local/lib/python3.6/site-packages/gunicorn/util.py", line 352, in import_app

__import__(module)


 "/ihatemoney/ihatemoney/wsgi.py", line 3, in <module>

application = create_app()


 "/ihatemoney/ihatemoney/run.py", line 114, in create_app

load_configuration(app, configuration)


 "/ihatemoney/ihatemoney/run.py", line 70, in load_configuration

app.config.from_pyfile('ihatemoney.cfg', silent=True)


 "/usr/local/lib/python3.6/site-packages/flask/config.py", line 130, in from_pyfile

exec(compile(config_file.read(), filename, 'exec'), d.__dict__)


 "/etc/ihatemoney/ihatemoney.cfg", line 5

SECRET_KEY = ""xxxxxxxxxxxxxxxx""

^

SyntaxError: invalid syntax
