Google2Piwik
Google2Piwik copied to clipboard
A problem exporting one particular day
The error occured while exporting Google Analytics stats from July 2007 until now on a website with 0.5..1 mln pageviews per months and many tens of thousands of pages. Reproducible on every run. The day before and the day after work just fine. Google Analytics UI on that day works just fine as well.
Exporting 2009-12-22
Traceback (most recent call last):
File "./google2piwik.py", line 665, in <module>
export_period(start_date, end_date)
File "./google2piwik.py", line 72, in export_period
export_day(str(currentdate), fetcher)
File "./google2piwik.py", line 116, in export_day
simulator.initialize(fetcher, "ga:latitude,ga:longitude,ga:hour,ga:flashVersion,ga:javaEnabled,ga:language,ga:screenResolution", "ga:visits")
File "./google2piwik.py", line 371, in initialize
self.visits[index].first(visit)
IndexError: list index out of range
Same problem occurred on 2010-01-07, 2010-01-14, 2010-01-23,2010-01-29, 2010-02-10, 2010-02-11, 2010-02-14… I am still counting.