Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during testing #11

Open
jpascoe opened this issue Jan 15, 2019 · 0 comments
Open

Error during testing #11

jpascoe opened this issue Jan 15, 2019 · 0 comments

Comments

@jpascoe
Copy link

jpascoe commented Jan 15, 2019

When using your test data, I get an error trying to find timezone. I have run updater successfully and have the timezone.json file in my data dir subfolders where the updater put it.

/var/www/active # php artisan geodata:update
Downloading data...
Connecting to github.com (192.30.255.112:443)
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (52.216.137.44:443)
timezones.zip 100% |*************************************************************************************************************************************************************************************************************************************************************************************************************************| 40698k 0:00:00 ETA
Unzip data...
/var/www/active/storage/geotimezonedata//downloads/timezones
Rename timezones json...
/var/www/active/storage/geotimezonedata/downloads/timezones/dist/timezones.json
Remove previous data...
Creating quadrant tree data...
Reading data source...
/var/www/active #

$calculator = new Calculator(base_path() . '/storage/geotimezonedata/');
dd($calculator->getTimeZoneName(41.142700, -8.612150));

returns ..
ErrorException in Tree.php line 126:
ERROR: TimeZone not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant