Skip Menu |

This queue is for tickets about the IP-Country CPAN distribution.

Report information
The Basics
Id: 6904
Status: resolved
Priority: 0/
Queue: IP-Country

People
Owner: Nobody in particular
Requestors: icq [...] seznam.cz
Cc:
AdminCc:

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



Subject: Can't build new database
I decided to build my own updated database file. Either from provided update scripts and my own IP-Location database (ip2location.com) I guess ipcc_maker.pl gets into some loop. When I add line into ipcc_maker.pl: ____CODE_______ sub _findSize { my ($self,$node) = @_; my $size = 0; if (exists $node->{cc}){ print $node->{cc} . "\n"; # <--- ADDED DEBUG ____END CODE CUT_____ I see that script reports line: -- Which shows processing for non-asociated counties but after that nothing. After approx 10 minutes and 700MB used memory perl crashes. I can provide scripts to convert ip2location.com database into sorted_countries.txt if anyone is interested. This DB looks much more accurate I think. Tested on Windows XP: This is perl, v5.6.1 built for MSWin32-x86-multi-thread Otherwise, excelent work! Great, helpful module I love!