Hi Jon
Thank you so much for responding so quickly.
I confirmed that I am using version 0.13:
[cid:image001.png@01CCA451.DE448340]
From the error message, it's actually line 617 (sneaky line wrap).
I did reinstall the package and also created a blank text file to export the output to (in case that was the confusion), and I got the same result but I think I know why...
I had a quick look at the code in the MultiTouch.pm file (and I feel quite dim now). Because I wanted to see how the data was to be presented before installing the code on a production server, I am using it on a site which does not have and so the value being sent through is defaulted to a zero. I'm going to change this to be a randomised number over 0 to avoid this problem!
Sorry to have inconvenienced you.
Tara
Show quoted text-----Original Message-----
From: jon.schutz@youramigo.com via RT [mailto:bug-WWW-Analytics-MultiTouch@rt.cpan.org]
Sent: 15 November 2011 23:00
To: Tara Beattie
Subject: Re: [rt.cpan.org #72439] Multi-touch issue...
<URL:
https://rt.cpan.org/Ticket/Display.html?id=72439 >
Hi Tara,
Please ensure that you have installed the latest version of
WWW::Analytics::MultiTouch (version 0.13).
There are no divisions on line 61 of the current version, so I expect
you have an older version.
There are some discussions on getting the latest version for windows in
ticket #63845,
https://rt.cpan.org/Public/Bug/Display.html?id=63845
Regards,
--
Jon Schutz
CTO, YourAmigo Ltd
53 Gilbert St
Adelaide SA 5000
Ph: +61 8 82119211
Fax: +61 8 8211 6356
http://www.youramigo.com
On 16/11/11 00:01, Tara Beattie via RT wrote:
> Tue Nov 15 08:31:04 2011: Request 72439 was acted upon.
> Transaction: Ticket created by tara.beattie@abcam.com
> Queue: WWW-Analytics-MultiTouch
> Subject: Multi-touch issue...
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: tara.beattie@abcam.com
> Status: new
>
>
> Hi
>
> I have installed the multitouch library and am getting a divide by zero error. I have checked via Google Analytics that the multitouch event was fired up for that time period and there are data there ... I hope I'm not doing anything stupid!
>
> I did try omitting the filename to see if it would appear on screen, but it indicated that it was a required argument.
>
> I am using perl 5.14.2 on Windows 7 and this is the output in my console window:
>
> C:\Users\tara>multitouch_report.pl --user=[GA username] --pass=[GA pw]
> --ID=[ID as found in ID in old version of GA] --start_date=20111101 --end_date=20111105 --filename=blah.txt
> Illegal division by zero at C:/Perl/site/lib/WWW/Analytics/MultiTouch.pm line 61
> 7.
>
> Tara
>