Giter VIP home page Giter VIP logo

Comments (7)

tresni avatar tresni commented on July 17, 2024

You should try the latest build here in git. It's labeled as 2.2 and I found fixes a lot of issues for me. I use gcalcli --cals=default agenda for a Geeklet and it works great for me...

from gcalcli.

rorus avatar rorus commented on July 17, 2024

Thanks for your reply, tresni!

Well, I downloaded the latest gcalcli-master.zip and unpacked it in $HOME.

It worked "out of the box" for adding events, like before, and they show up on my Android phone immediately. So far so good. But "gcalcli --cals=default agenda" is still giving me nada. :-(

I thought I'd check the Python dependencies, in case apt-get missed something when I installed gcalcli the first time.

dpkg --list shows me -

python 2.7.3-0ubuntu2
python-vobject 0.8.1c-4ubuntu1
python-dateutil 1.5-1
python-gdata 2.0.14-2

Those versions should be fine, if I'm reading README.md correctly...?

I tried installing to my Lucid Puppy laptop, but ran into dependency hell; and then my shell account, but the host is missing the python modules, and I don't have root access.

Unless anyone can suggest any other good avenues of inquiry, it looks like I'm going to have to try reformatting my desktop and reinstalling a fresh distro if I want gcalcli to work :-(

UPDATE - using a different fully-updated Ubuntu x86 box, used git to clone straight from the repository, in case the zip was not the latest.

Same behavior from glcalcli >>:-/ I think its safe to say its nothing specific to my desktop causing the problem.

Any other suggestions I can try, guys?

from gcalcli.

tresni avatar tresni commented on July 17, 2024

I'm on a Mac so my packages may be a little different, but this is what I'm running and seems to work:

  py27-dateutil @1.5_1 (active)
  py27-elementtree @1.2.6-20050316_0 (active)
  py27-gdata @2.0.17_0 (active)
  py27-tz @2012h_0 (active)
  py27-vobject @0.8.1c_0 (active)
  python27 @2.7.3_1 (active)

The likeliest cause I can see is the gdata version (since 2.0.14 is from March 2011.) But if you tried on a clean QQ install of that should have comparable packages. I'll boot something up in VMWare and see what I can find.

from gcalcli.

tresni avatar tresni commented on July 17, 2024

Just tried on a clean install of 12.10 and did apt-get install gcalcli and had no problems with quick or agenda:

bhartvigsen@ubuntu:~$ gcalcli quick "11:01pm after dinner"
bhartvigsen@ubuntu:~$ gcalcli --cals=all agenda

Mon Dec 24           Forecast for 83709 (38° | 21°)
                     Christmas Eve
             1:00pm  busy
             3:30pm  busy
            11:01pm  after dinner

Tue Dec 25           Forecast for 83709 (43° | 27°)
                     Christmas

Wed Dec 26           Forecast for 83709 (37° | 25°)

Thu Dec 27           Forecast for 83709 (36° | 23°)
             2:00pm  busy

This isn't even using latest github release... .gcalclirc is:

[gcalcli]
user=user@emailaddress
pw=password
https=true

(https option is required for 2.1)

Edit: packages are as follows:

bhartvigsen@ubuntu:~$ dpkg --list | grep python | grep -e 2.7 -e vobject -e dateutil -e gdata
ii  libpython2.7                              2.7.3-5ubuntu4                            i386         Shared Python runtime library (version 2.7)
ii  python                                    2.7.3-0ubuntu7                            i386         interactive high-level object-oriented language (default version)
ii  python-dateutil                           1.5+dfsg-0.1                              all          powerful extensions to the standard datetime module
ii  python-gdata                              2.0.17-1                                  all          Google Data Python client library
ii  python-minimal                            2.7.3-0ubuntu7                            i386         minimal subset of the Python language (default version)
ii  python2.7                                 2.7.3-5ubuntu4                            i386         Interactive high-level object-oriented language (version 2.7)
ii  python2.7-minimal                         2.7.3-5ubuntu4                            i386         Minimal subset of the Python language (version 2.7)

from gcalcli.

rorus avatar rorus commented on July 17, 2024

Awesome, thank you so much, Tresni!

"Just tried on a clean install of 12.10" - it must be the "clean install" part, my box has been apt-get-upgraded over time from 11.04 or so.

Will try a clean install this afternoon, and post my results.

Thank you very much for taking the time out of your day to replicate my setup, and on the holidays at that! :-)

from gcalcli.

rorus avatar rorus commented on July 17, 2024

Clean install + latest gcalcli + deleting all the .* files in my backed-up $HOME => SUCCESS!!!

Thanks again for your help, Tresni!

from gcalcli.

tresni avatar tresni commented on July 17, 2024

If you would be so kind as to close this issue, I'm sure @insanum would appreciate it :) Should be able to click the Close button next to the comment button below.

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.