question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not download TZ info

See original GitHub issue

Hi, and thanks for good library.

The problem occurs when using download method in biweekly.io.TimezoneAssignment. https://mangstadt.github.io/biweekly/javadocs/latest/src-html/biweekly/io/TimezoneAssignment.html#line.98

It throws an exception IllegalArgumentException: Timezone ID not recognized.

It seems that the GET request to tzurl.org is probably causing a 302 redirect and resulting in an error.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:3
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
CorySavitcommented, Apr 4, 2022

Just wanted to share that it does in fact work again, but didn’t until I redeployed the application I am using biweekly in. I assume this is due to caching.

1reaction
mangstadtcommented, Apr 3, 2022

I’m hesitant to change it because the TZURL property in the downloaded .ics file still uses the old URL. This suggests that the site administrators would prefer people to use that one.

TZURL:http://tzurl.org/zoneinfo/America/New_York

Read more comments on GitHub >

github_iconTop Results From Across the Web

cant update tzinfo-data · Issue #15 - GitHub
Downloading tzinfo-data-1.2013.8 revealed dependencies not in the API or the lockfile (tzinfo (>= 1.0.0)).
Read more >
TZInfo::DataSourceNotFound error starting Rails v4.1.0 server ...
The TZInfo::DataSourceNotFound error is being raised by TZInfo, a dependency of the Active Support component of Rails. TZInfo is looking for a ...
Read more >
pytz · PyPI
Unfortunately, you cannot just pass a tzinfo argument when constructing a datetime ... The latest version can be downloaded from the Python Package...
Read more >
Project: tzinfo-data - The Ruby Toolbox
TZInfo::Data contains data from the IANA Time Zone database packaged as Ruby ... If TZInfo::Data is not available, TZInfo will attempt to use...
Read more >
TZInfo - Ruby Time Zone Library
By default, TZInfo will attempt to use TZInfo::Data. If TZInfo::Data is not available, then TZInfo will search for a zoneinfo directory instead.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found