/home/dan/.virtualenvs/taxhaven/local/lib/python2.7/site-packages/scraperwiki/sqlite.py in _connect(dbname)
7 'Initialize the database (again). This is mainly for testing'
8 global dt
----> 9 dt = DumpTruck(dbname = dbname, adapt_and_convert = False)
10
11 _connect()
TypeError: init() got an unexpected keyword argument 'adapt_and_convert'
Due to the age of the issue I'm going to close this since I can't reproduce locally. Please comment, re-open or make a new issue if you still encounter this problem.
Using github checkouts of scraperwik-local and dumptruck, this is what happens when I try to import scraperwiki:
In [1]: import scraperwiki
TypeError Traceback (most recent call last) /home/cin/cinscrapers/ in ()
----> 1 import scraperwiki
/home/dan/.virtualenvs/taxhaven/local/lib/python2.7/site-packages/scraperwiki/init.py in()
23
24 from .utils import log, scrape, pdftoxml, swimport
---> 25 import utils, sqlite
26 import geo
/home/dan/.virtualenvs/taxhaven/local/lib/python2.7/site-packages/scraperwiki/sqlite.py in()
9 dt = DumpTruck(dbname = dbname, adapt_and_convert = False)
10
---> 11 _connect()
12
13 def execute(sqlquery, data=[], verbose=1):
/home/dan/.virtualenvs/taxhaven/local/lib/python2.7/site-packages/scraperwiki/sqlite.py in _connect(dbname) 7 'Initialize the database (again). This is mainly for testing' 8 global dt ----> 9 dt = DumpTruck(dbname = dbname, adapt_and_convert = False) 10 11 _connect()
TypeError: init() got an unexpected keyword argument 'adapt_and_convert'