nightsh / cdep_ro_voting_scraper

Voting results for cdep.ro


Contributors nightsh

Last run failed with status code 1.

Console output of last run

Injecting configuration and compiling... Injecting scraper and running... Gettings summaries Gettings summaries Gettings summaries Gettings summaries Found 20060206 Traceback (most recent call last): File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context context) File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: unrecognized token: "{" The above exception was the direct cause of the following exception: Traceback (most recent call last): File "scraper.py", line 123, in <module> get_summaries() File "scraper.py", line 108, in get_summaries get_date_summary(rows, formatted_date) File "scraper.py", line 67, in get_date_summary scraperwiki.sql.execute("insert into data values ({}, {}, {}, {}, {}, {}, {}, {}, {})").format( File "/app/.heroku/python/lib/python3.6/site-packages/scraperwiki/sql.py", line 144, in execute result = connection.execute(query, data) File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 939, in execute return self._execute_text(object, multiparams, params) File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1097, in _execute_text statement, parameters File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1189, in _execute_context context) File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1402, in _handle_dbapi_exception exc_info File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause reraise(type(exception), exception, tb=exc_tb, cause=cause) File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 186, in reraise raise value.with_traceback(tb) File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context context) File "/app/.heroku/python/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute cursor.execute(statement, parameters) sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unrecognized token: "{" [SQL: 'insert into data values ({}, {}, {}, {}, {}, {}, {}, {}, {})']

Statistics

Total run time: 25 minutes

Total cpu time used: less than 10 seconds

Total disk space used: 112 MB

History

  • Manually ran revision 2ee36851 and failed .
    nothing changed in the database
  • Manually ran revision 2c29319a and failed .
    nothing changed in the database
  • Manually ran revision ef515a38 and failed .
    nothing changed in the database
  • Created on morph.io