Giter VIP home page Giter VIP logo

Comments (5)

tresni avatar tresni commented on August 16, 2024

e["reason"] is no longer valid.. I've found using e[0] gives a text representation of the error at least. e[0]["reason"] works sometimes, but I haven't had e[0] fail yet.

from gcalcli.

 avatar commented on August 16, 2024

I also get an intermitten fault when running (looks like it happens at the same rate as the ics import problem, the other times it has no error, and the even is recorded in google calendar):

~> gcalcli quick '01.10.13 10:00 test'
Traceback (most recent call last):
File "/usr/bin/gcalcli", line 1579, in
BowChickaWowWow()
File "/usr/bin/gcalcli", line 1546, in BowChickaWowWow
gcal.QuickAdd(unicode(args[1], locale.getpreferredencoding()))
File "/usr/bin/gcalcli", line 1025, in QuickAdd
PrintErrMsg("Error: " + e["reason"] + "\n")
TypeError: sequence index must be integer, not 'str'

from gcalcli.

tresni avatar tresni commented on August 16, 2024

Check out my fork at https://github.com/tresni/gcalcli . If nothing else it will get you corrected error messages so you can have some idea what's going on.

from gcalcli.

 avatar commented on August 16, 2024

Thanks! Now i get: https://dl.dropbox.com/u/9974176/error_gcalcli.txt

from gcalcli.

insanum avatar insanum commented on August 16, 2024

I've also seen the "Moved Temporarily" fault from Google's servers as well. It's random and rare. Haven't seen it in a while. As you know, all you have to do is try again and it will succeed. Annoying. We could add exception handling to automatically retry but this is just a simple script and I'd rather just focus on features and keep it simple with proper error messages when things go wrong.

I've merged in tresni's fix for the exception handling problem.

from gcalcli.

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.