Skip Menu |

This queue is for tickets about the WWW-Analytics-MultiTouch CPAN distribution.

Report information
The Basics
Id: 72439
Status: resolved
Priority: 0/
Queue: WWW-Analytics-MultiTouch

People
Owner: Nobody in particular
Requestors: tara.beattie [...] abcam.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Multi-touch issue...
Date: Tue, 15 Nov 2011 13:30:40 +0000
To: "bug-WWW-Analytics-MultiTouch [...] rt.cpan.org" <bug-WWW-Analytics-MultiTouch [...] rt.cpan.org>
From: Tara Beattie <tara.beattie [...] abcam.com>
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
Subject: Re: [rt.cpan.org #72439] Multi-touch issue...
Date: Wed, 16 Nov 2011 09:29:57 +1030
To: bug-WWW-Analytics-MultiTouch [...] rt.cpan.org
From: Jon Schutz <jon.schutz [...] youramigo.com>
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: Show quoted text
> 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 > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=72439 > > > > 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 >
Subject: RE: [rt.cpan.org #72439] Multi-touch issue...
Date: Wed, 16 Nov 2011 11:38:36 +0000
To: "bug-WWW-Analytics-MultiTouch [...] rt.cpan.org" <bug-WWW-Analytics-MultiTouch [...] rt.cpan.org>
From: Tara Beattie <tara.beattie [...] abcam.com>
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
>
Download image001.png
image/png 17.9k
image001.png
Potential divide-by-zero issues fixed in version 0.33