Code Monkey home page Code Monkey logo

Comments (4)

shmibs avatar shmibs commented on July 21, 2024

erm... i think the issue is that MAL is down. i suppose handling that more gracefully would be nice though.

from trackma.

IDex avatar IDex commented on July 21, 2024

For some reason it never even crossed my mind although error was a timeout... Good night.

from trackma.

z411 avatar z411 commented on July 21, 2024

MAL is down.
http://myanimelist.net/

For now, please edit your configuration file (~/.wmal/config.json) and set "autoretrieve" and "autosend" to "off", and "autosend_at_exit" to false. That way you can use your local list without it trying to contact MAL. Working properly without connection is one of the key objectives of the program so it should work.

For that reason, indeed timeout exceptions should be handled properly so I'm reopening the issue.

from trackma.

z411 avatar z411 commented on July 21, 2024

Okay, I pushed a change that handles timeout exceptions properly. The program should keep running even if it fails to connect and it should use your cached local list. I set the timeout time to 10 seconds for now.

Feel free to make changes to the list, they will stay in queue, even if you quit the program; they'll get synced once MAL returns.

Since your cache must be older than 3 days (or the time limit set in your config) the program will try to download the list every time it starts. This might be annoying if MAL is down so you can disable autoretrieve either through GTK settings dialog or ~/.wmal/config.json (as I described in my previous post). If you have send at exit enabled it will also try to sync when it exits, feel free to disable this too. Of course if you don't have any cache, it will still fail.

If the problem persists, feel free to reopen the issue.

from trackma.

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.