Google2Piwik icon indicating copy to clipboard operation
Google2Piwik copied to clipboard

Error exporting 2010-06-15 and 2010-06-16

Open ghost opened this issue 13 years ago • 2 comments

Google2Piwik works very fine, but it does not import data from 2010-06-15 and 2010-06-16. Every time I try to do it, the script throws the following error:

Exporting 2010-06-15 Traceback (most recent call last): File "google2piwik.py", line 662, in export_period(start_date, end_date) File "google2piwik.py", line 71, in export_period export_day(str(currentdate), fetcher) File "google2piwik.py", line 114, 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

It seems to be depending on the date, I found someone who has exactly the same issue as I, with the same date : http://martonholdings.com/offer/open-source-projects/google2piwik/default.htm#comment-1607

ghost avatar Nov 29 '12 15:11 ghost

I also had an issue with this except the date was 2010-06-10. Still right around the same period.

Traceback (most recent call last):
  File "google2piwik.py", line 669, in <module>
    export_period(start_date, end_date)
  File "google2piwik.py", line 73, in export_period
    export_day(str(currentdate), fetcher)
  File "google2piwik.py", line 118, in export_day
    simulator.initialize(fetcher, "ga:latitude,ga:longitude,ga:hour,ga:flashVersion,ga:javaEnabled,ga:language,ga:screen
Resolution", "ga:visits")
  File "google2piwik.py", line 375, in initialize
    self.visits[index].first(visit)
IndexError: list index out of range

tetsuo13 avatar Oct 07 '13 13:10 tetsuo13

Same problem here. The dates 2010-06-14 and 2010-06-15 also returned this error during my export. All other dates worked without any problems.

mixable avatar Nov 08 '14 14:11 mixable