Closed auxbuss closed 12 years ago
Did you enable your account to use the web service? http://www.geonames.org/manageaccount
Yes. As I mentioned, all is well with v0.1.4. I've been using, and I continue to use, geonames daily.
Welcome blah.
You are now logged in and can update placenames.
I had another look at this today. The problem was that the geonames API endpoint has changed from ws.geonames.org
to api.geonames.org
in the gem. My user name worked with the former url, and thus with timezone 0.1.4, but not with the latter. It turns out that the account needed to be re-enabled to use the changed url.
So @pedrofernandezm's suggestion was correct, but the account needed to be re-enabled rather than enabled.
Does it take some period of time to enable the account? I still get this error even though my account is enabled. When I manually enter the URL in a browser with my username, things work fine.
I'm pretty sure account creation was immediate in my case.
In case it helps someone, once you create your Geonames account you need to "enable web services" on it.
@bgetting, it helped someone, thanks a lot!
@bgetting +1
For anyone encountering this problem: Timezone::Error::NilZone: No zone was found. Please specify a zone. Just refer to the comment by @bgetting above
I've been using timezone for ages and suddenly all my tests have failed after updating to 0.1.5. All is fine if I revert to 0.1.4
Taken from the README, when I do:
I get:
Any ideas? Thanks.