Coder Social home page Coder Social logo

Comments (13)

lau avatar lau commented on August 24, 2024 4

A new version 0.5.8 has just been release. It has improved error handling for errors related to latest_remote_poll.txt.

from tzdata.

matteosister avatar matteosister commented on August 24, 2024

I tried deleting the _build folder with no luck...

from tzdata.

matteosister avatar matteosister commented on August 24, 2024

the problem seems related to the last version of tzdata: 0.5.7
the 0.5.6 version works!

from tzdata.

matteosister avatar matteosister commented on August 24, 2024

the downgrade to 0.5.6 makes it work also on 0.5.7...after upgrading again now it works. 😓

from tzdata.

lau avatar lau commented on August 24, 2024

I'm not sure what the issue is. There have been issues with Timex. I recommend using Calendar: https://github.com/lau/calendar

from tzdata.

benwilson512 avatar benwilson512 commented on August 24, 2024

Same issue here, and I'm using Calendar.

from tzdata.

benwilson512 avatar benwilson512 commented on August 24, 2024

rm -rf _build solved this for me.

from tzdata.

lau avatar lau commented on August 24, 2024

Is this is development mode or does it happen when deployed to a server?

Did you have this config setting set? config :tzdata, :data_dir, "/some/path/here"

from tzdata.

benwilson512 avatar benwilson512 commented on August 24, 2024

At the moment merely development, and no I do not have any such config set.

from tzdata.

lau avatar lau commented on August 24, 2024

From the line numbers, looking at the code, it looks like it tries to open a file latest_remote_poll.txt but it can't. I will try to see if I can provoke the same error.

from tzdata.

benwilson512 avatar benwilson512 commented on August 24, 2024

Thanks! I continue to be very happy with Calendar by the way, great work.

from tzdata.

lau avatar lau commented on August 24, 2024

Thanks, I appreciate that.

from tzdata.

ashrafhasson avatar ashrafhasson commented on August 24, 2024

I got the same issue, I have :calendar, "~> 0.14.0" as a dependency. Resolved by specifying :tzdata, "~> 0.5.7" in the list of deps which updated the tzdata (ETS table and its related file):

[debug] Tzdata polling for update.
[debug] Tzdata downloading new data from https://www.iana.org/time-zones/repository/tzdata-latest.tar.gz
[debug] Tzdata data downloaded. Release version 2016d.
[info] Tzdata has updated the release from 2016c to 2016d
[debug] Tzdata deleting ETS table for version 2016c
[debug] Tzdata deleting ETS table file for version 2016c

I removed tzdata from the list of deps and now I no longer get the errors. I hope this helps in spotting the issue.

from tzdata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.