My favorites | Sign in
Project Logo
                
Details: Show all Hide all

Last 30 days

  • Dec 23, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by trentase...@gmail.com   -   I need an european date ... Day - Month - Year (with a nice localization of "day name") how to?
    I need an european date ... Day - Month - Year (with a nice localization of "day name") how to?
  • Dec 10, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by Kgv.p.becker   -   Hello, i have two Problems - maybe someone can help me... first of all the Week Starts in Germany on Monday - is there a way to Change this ?? but the more important problem is that i only get 6 lines of information incl. th +------- lines - so i have no information about the upcomming weeks... and dayly appointments Thx in Advance Patrock
    Hello, i have two Problems - maybe someone can help me... first of all the Week Starts in Germany on Monday - is there a way to Change this ?? but the more important problem is that i only get 6 lines of information incl. th +------- lines - so i have no information about the upcomming weeks... and dayly appointments Thx in Advance Patrock
  • Dec 08, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by simonglez   -   I have the error: Traceback (most recent call last): File "/usr/local/bin/gcalcli", line 1114, in <module> DoooooItHippieMonster() File "/usr/local/bin/gcalcli", line 1040, in DoooooItHippieMonster gcal.AgendaQuery(startText=args[1], endText=args[2]) File "/usr/local/bin/gcalcli", line 779, in AgendaQuery self._PrintEvents(today, start, eventList) File "/usr/local/bin/gcalcli", line 626, in _PrintEvents ' %-7s %s\n' % (tmpTimeStr, event.title.text)) File "/usr/local/bin/gcalcli", line 207, in PrintMsg sys.stdout.write(msg) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py", line 351, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 51: ordinal not in range(128)
    I have the error: Traceback (most recent call last): File "/usr/local/bin/gcalcli", line 1114, in <module> DoooooItHippieMonster() File "/usr/local/bin/gcalcli", line 1040, in DoooooItHippieMonster gcal.AgendaQuery(startText=args[1], endText=args[2]) File "/usr/local/bin/gcalcli", line 779, in AgendaQuery self._PrintEvents(today, start, eventList) File "/usr/local/bin/gcalcli", line 626, in _PrintEvents ' %-7s %s\n' % (tmpTimeStr, event.title.text)) File "/usr/local/bin/gcalcli", line 207, in PrintMsg sys.stdout.write(msg) File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py", line 351, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 51: ordinal not in range(128)
  • Dec 04, 2009
    issue 10 (UnicodeEncodeError) commented on by bastien.al   -   I confirme that adding: import os, sys if 'UTF-8' in os.environ['LANG']: sys.setdefaultencoding('utf-8') to /etc/python2.6/sitecustomize.py resolved my issue. I also tried a lot of other workaround that worked some of the times but not always. This one is the moste stable. It worked on a unmodified version of gcalcli 1.4.1 on ubuntu 9.04.
    I confirme that adding: import os, sys if 'UTF-8' in os.environ['LANG']: sys.setdefaultencoding('utf-8') to /etc/python2.6/sitecustomize.py resolved my issue. I also tried a lot of other workaround that worked some of the times but not always. This one is the moste stable. It worked on a unmodified version of gcalcli 1.4.1 on ubuntu 9.04.

Older

  • Nov 06, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by arwintcher   -   I should also say that I get the following error, though everything seems to work anyway: Traceback (most recent call last): File "/usr/bin/gcalcli", line 1114, in <module> DoooooItHippieMonster() File "/usr/bin/gcalcli", line 1040, in DoooooItHippieMonster gcal.AgendaQuery(startText=args[1], endText=args[2]) File "/usr/bin/gcalcli", line 779, in AgendaQuery self._PrintEvents(today, start, eventList) File "/usr/bin/gcalcli", line 663, in _PrintEvents PrintMsg(clr, str) File "/usr/bin/gcalcli", line 207, in PrintMsg sys.stdout.write(msg) File "/usr/lib/python2.6/codecs.py", line 351, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 69: ordinal not in range(128)
    I should also say that I get the following error, though everything seems to work anyway: Traceback (most recent call last): File "/usr/bin/gcalcli", line 1114, in <module> DoooooItHippieMonster() File "/usr/bin/gcalcli", line 1040, in DoooooItHippieMonster gcal.AgendaQuery(startText=args[1], endText=args[2]) File "/usr/bin/gcalcli", line 779, in AgendaQuery self._PrintEvents(today, start, eventList) File "/usr/bin/gcalcli", line 663, in _PrintEvents PrintMsg(clr, str) File "/usr/bin/gcalcli", line 207, in PrintMsg sys.stdout.write(msg) File "/usr/lib/python2.6/codecs.py", line 351, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 69: ordinal not in range(128)
  • Nov 06, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by arwintcher   -   Hey, this is pretty cool. All I wanted was a way to quickly add events without going to the web page all the time. Works well for that!
    Hey, this is pretty cool. All I wanted was a way to quickly add events without going to the web page all the time. Works well for that!
  • Nov 05, 2009
    issue 46 (Enhancement: daemon mode) reported by andras.horvath   -   Do you really plan on having a 'daemon mode' for alarms, so that events are only alarmed once? I see this as a comment in the code and it'd be very nice to have. Also, you could get the alarm info from the calendar (I see that --details displays them), so no need for explicit timeout setting there.
    Do you really plan on having a 'daemon mode' for alarms, so that events are only alarmed once? I see this as a comment in the code and it'd be very nice to have. Also, you could get the alarm info from the calendar (I see that --details displays them), so no need for explicit timeout setting there.
  • Nov 05, 2009
    Changelog (Version history...) Wiki page commented on by andras.horvath   -   Also, python 2.6 complains as shown below (although the code still works): /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
    Also, python 2.6 complains as shown below (although the code still works): /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  • Nov 05, 2009
    Changelog (Version history...) Wiki page commented on by andras.horvath   -   Hey, this is pretty cool. Do you really plan on having a 'daemon mode' for alarms, so that events are only alarmed once? I see this as a comment in the code and it'd be very nice to have. Also, you could get the alarm info from the calendar (I see that --details displays them), so no need for explicit timeout setting there.
    Hey, this is pretty cool. Do you really plan on having a 'daemon mode' for alarms, so that events are only alarmed once? I see this as a comment in the code and it'd be very nice to have. Also, you could get the alarm info from the calendar (I see that --details displays them), so no need for explicit timeout setting there.
  • Nov 04, 2009
    issue 10 (UnicodeEncodeError) commented on by vvaauugghhnn   -   Comment 4 worked for me. Freebsd 7.2 i386, Python 2.6.2, gcalcli 1.4.2. None of the others did. Thanks.
    Comment 4 worked for me. Freebsd 7.2 i386, Python 2.6.2, gcalcli 1.4.2. None of the others did. Thanks.
  • Oct 06, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by acidnine   -   I created a couple of calendars, one is called 'CPCOURSE' and the other is 'RDCOURSE', I use the gcalcli command like this: gcalcli --user username --pw password --cal=CPCOURSE quick '10A-5P 10/17/2009 MCCC with THERESA REITER' My problem is that it doesn't dump into that calendar, just the default, what is the correct way to select a specific calendar, I wasn't clear on that from the instructions. Also, this does work with Google Apps, FYI.
    I created a couple of calendars, one is called 'CPCOURSE' and the other is 'RDCOURSE', I use the gcalcli command like this: gcalcli --user username --pw password --cal=CPCOURSE quick '10A-5P 10/17/2009 MCCC with THERESA REITER' My problem is that it doesn't dump into that calendar, just the default, what is the correct way to select a specific calendar, I wasn't clear on that from the instructions. Also, this does work with Google Apps, FYI.
  • Sep 25, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by matt...@choppingblock.com   -   Still no fix for those of us getting Traceback errors? Is this project still supposed to work? ERROR: Traceback (most recent call last): File "/usr/local/bin/gcalcli", line 1114, in <module> DoooooItHippieMonster() File "/usr/local/bin/gcalcli", line 1025, in DoooooItHippieMonster borderColor=borderColor) File "/usr/local/bin/gcalcli", line 312, in __init__ self.allCals.entry.sort(lambda x, y: File "/usr/local/bin/gcalcli", line 313, in <lambda> cmp(order[x.access_level.value], KeyError: 'root' OS X, 10.5, python v2.5
    Still no fix for those of us getting Traceback errors? Is this project still supposed to work? ERROR: Traceback (most recent call last): File "/usr/local/bin/gcalcli", line 1114, in <module> DoooooItHippieMonster() File "/usr/local/bin/gcalcli", line 1025, in DoooooItHippieMonster borderColor=borderColor) File "/usr/local/bin/gcalcli", line 312, in __init__ self.allCals.entry.sort(lambda x, y: File "/usr/local/bin/gcalcli", line 313, in <lambda> cmp(order[x.access_level.value], KeyError: 'root' OS X, 10.5, python v2.5
  • Sep 14, 2009
    issue 18 (Error running gcalcli) commented on by mciancio   -   With the latest version available on dowload this issue is still present. - gcalcli 1.4 running on Ubuntu 9.04 - gcalcli --user xxx --pw xxx --nc agenda /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Mon Sep 14 12:00am XXX Tue Sep 15Traceback (most recent call last): File "/home/max/bin/gcalcli", line 1114, in <module> DoooooItHippieMonster() File "/home/max/bin/gcalcli", line 1044, in DoooooItHippieMonster gcal.AgendaQuery() File "/home/max/bin/gcalcli", line 779, in AgendaQuery self._PrintEvents(today, start, eventList) File "/home/max/bin/gcalcli", line 626, in _PrintEvents ' %-7s %s\n' % (tmpTimeStr, event.title.text)) File "/home/max/bin/gcalcli", line 210, in PrintMsg sys.stdout.write(msg) File "/usr/lib/python2.6/codecs.py", line 351, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)
    With the latest version available on dowload this issue is still present. - gcalcli 1.4 running on Ubuntu 9.04 - gcalcli --user xxx --pw xxx --nc agenda /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Mon Sep 14 12:00am XXX Tue Sep 15Traceback (most recent call last): File "/home/max/bin/gcalcli", line 1114, in <module> DoooooItHippieMonster() File "/home/max/bin/gcalcli", line 1044, in DoooooItHippieMonster gcal.AgendaQuery() File "/home/max/bin/gcalcli", line 779, in AgendaQuery self._PrintEvents(today, start, eventList) File "/home/max/bin/gcalcli", line 626, in _PrintEvents ' %-7s %s\n' % (tmpTimeStr, event.title.text)) File "/home/max/bin/gcalcli", line 210, in PrintMsg sys.stdout.write(msg) File "/usr/lib/python2.6/codecs.py", line 351, in write data, consumed = self.encode(object, self.errors) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)
  • Sep 06, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by sidneysiddonsen   -   @ zimmerju I had a similar problem with another conky script. You need to add/edit the line text_buffer_size (before TEXT) in your conky script, the default is 128 (bytes). I find that 1024 is good for most things. Hope that helps.
    @ zimmerju I had a similar problem with another conky script. You need to add/edit the line text_buffer_size (before TEXT) in your conky script, the default is 128 (bytes). I find that 1024 is good for most things. Hope that helps.
  • Sep 03, 2009
    issue 44 (Depreciated python module, sha vs hashlib) commented on by krzysztof.skitek   -   For now you can solve it by changing: #!/usr/bin/python to #!/usr/bin/python -W ignore::DeprecationWarning in /usr/bin/gcalcli
    For now you can solve it by changing: #!/usr/bin/python to #!/usr/bin/python -W ignore::DeprecationWarning in /usr/bin/gcalcli
  • Sep 02, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by zimmerju   -   I am having a problem getting gcalcli to list the agenda in conky. I use the following code in conky: ${execi 300 gcalcli --nc --cal=(calender name) agenda} I get 6 lines of the agenda to appear normally, but the seventh line is incomplete and nothing shows up after. Has anyone else had this problem?
    I am having a problem getting gcalcli to list the agenda in conky. I use the following code in conky: ${execi 300 gcalcli --nc --cal=(calender name) agenda} I get 6 lines of the agenda to appear normally, but the seventh line is incomplete and nothing shows up after. Has anyone else had this problem?
  • Aug 11, 2009
    issue 45 (ImportError: No module named gdata.calendar.service) reported by clumsyduck   -   Hello, I'm getting the above error despite being able to import via the python command line... anyone have any suggestions for what i might be doing wrong?
    Hello, I'm getting the above error despite being able to import via the python command line... anyone have any suggestions for what i might be doing wrong?
  • Aug 02, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by benalb   -   about the sha module deprecated: I have edited /usr/lib/python2.6/site-packages/gdata/tlslite/utils/cryptomath.py, commented out the "import sha" line, and added "import hashlib" I would like to know how to use my own language (spanish) with gcalcli, so instead of "Mon 03 Aug 12:00 am blah blah blah" I will get "Lun, 02 Ago 12:00 blah blah blah"
    about the sha module deprecated: I have edited /usr/lib/python2.6/site-packages/gdata/tlslite/utils/cryptomath.py, commented out the "import sha" line, and added "import hashlib" I would like to know how to use my own language (spanish) with gcalcli, so instead of "Mon 03 Aug 12:00 am blah blah blah" I will get "Lun, 02 Ago 12:00 blah blah blah"
  • Aug 01, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by i.posledov   -   >$ gcalcli list $ /usr/lib/python2.6/site-packages/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning?: the sha module is deprecated; use the >hashlib module instead > > import sha > >That happens with any command I try to run. Anyone know how to fix this? I'm running arch linux 64, new system, everything updated. > >-meskarune@gmail.com > $ gcalcli --nc agenda 2>/dev/null
    >$ gcalcli list $ /usr/lib/python2.6/site-packages/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning?: the sha module is deprecated; use the >hashlib module instead > > import sha > >That happens with any command I try to run. Anyone know how to fix this? I'm running arch linux 64, new system, everything updated. > >-meskarune@gmail.com > $ gcalcli --nc agenda 2>/dev/null
  • Jul 14, 2009
    issue 10 (UnicodeEncodeError) commented on by lupusinclitos   -   Kuangche's solution (see comment 8) should be the most elegant one. Works for me well. (Though I had to add the lines to /etc/python2.6/sitecustomize.py). thx.
    Kuangche's solution (see comment 8) should be the most elegant one. Works for me well. (Though I had to add the lines to /etc/python2.6/sitecustomize.py). thx.
  • Jul 10, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by dan.lucas   -   Just wondering if there was a way to change the color of the "No Events Found" message. I know I could easily just change it in the code itself, but I was wondering if I'm just overlooking an option somewhere.
    Just wondering if there was a way to change the color of the "No Events Found" message. I know I could easily just change it in the code itself, but I was wondering if I'm just overlooking an option somewhere.
  • Jul 08, 2009
    HowTo (How to use gcalcli...) Wiki page commented on by Meskarune   -   $ gcalcli list $ /usr/lib/python2.6/site-packages/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha That happens with any command I try to run. Anyone know how to fix this? I'm running arch linux 64, new system, everything updated. -meskarune@gmail.com
    $ gcalcli list $ /usr/lib/python2.6/site-packages/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha That happens with any command I try to run. Anyone know how to fix this? I'm running arch linux 64, new system, everything updated. -meskarune@gmail.com
  • May 31, 2009
    issue 44 (Depreciated python module, sha vs hashlib) reported by matthewleffler   -   Receive depreciation warning, agenda still displays after warning. $ gcalcli --nc agenda /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Ubuntu 9.04
    Receive depreciation warning, agenda still displays after warning. $ gcalcli --nc agenda /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Ubuntu 9.04
  • May 19, 2009
    issue 10 (UnicodeEncodeError) commented on by tacomanator   -   mbaker.pdx's modification to PrintMsg() does indeed get rid of the error for me, but the Japanese characters present in my calendar items are not displayed (they are blank).
    mbaker.pdx's modification to PrintMsg() does indeed get rid of the error for me, but the Japanese characters present in my calendar items are not displayed (they are blank).
  • May 17, 2009
    issue 16 (crash with multiple calendars in account (with Google Apps)) commented on by ekg2002   -   Quick fix works here too.
    Quick fix works here too.
  • May 04, 2009
    issue 43 (12hrs difference with 'gcalcli quick' command) reported by Michael.Yxf   -   What steps will reproduce the problem? 1. run quick add command to create a new event $ gcalcli quick '11am 5/6 meeting with boss' 2. check the created event by command line or by web view $ gcalcli calw 1 What is the expected output? What do you see instead? The event should be created on May 6th at 11:00am. Instead, the event by the command is created on May 5th at 11:00pm What version of the product are you using? On what operating system? I have gcalcli 1.4-1 installed on my debian system(2.6.24) lenny. Please provide any additional information below. I checked the timezone on my system, it is 'American/Toronto', and the timezone in my google calendar settings, which is also 'American/Toronto'. So I guess there should be no inconsistencies of timezone when syncing from commandline to the server. Here is the output of 'locales' on my system: michael@debian:~$ locale LANG=en_US.UTF-8 LC_CTYPE=zh_CN.UTF-8 LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8"
    What steps will reproduce the problem? 1. run quick add command to create a new event $ gcalcli quick '11am 5/6 meeting with boss' 2. check the created event by command line or by web view $ gcalcli calw 1 What is the expected output? What do you see instead? The event should be created on May 6th at 11:00am. Instead, the event by the command is created on May 5th at 11:00pm What version of the product are you using? On what operating system? I have gcalcli 1.4-1 installed on my debian system(2.6.24) lenny. Please provide any additional information below. I checked the timezone on my system, it is 'American/Toronto', and the timezone in my google calendar settings, which is also 'American/Toronto'. So I guess there should be no inconsistencies of timezone when syncing from commandline to the server. Here is the output of 'locales' on my system: michael@debian:~$ locale LANG=en_US.UTF-8 LC_CTYPE=zh_CN.UTF-8 LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8"
  • Apr 15, 2009
    issue 41 (UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in ...) commented on by marc.zonzon   -   It is a duplicate of issue 10, see this number
    It is a duplicate of issue 10, see this number
  • Apr 15, 2009
    issue 10 (UnicodeEncodeError) commented on by marc.zonzon   -   default sys.stdout can write string the alternate sys.stdout codecs.getwriter(locale.getpreferredencoding())(sys.stdout) can write unicode, but msg is a string (not unicode) so we have either to use the standard sys.stdout, or convert it back to unicode and use: sys.stdout.write(unicode(msg,locale.getpreferredencoding())) If you use utf-8 just commenting the two initial lines sys.stdout = codecs.getwriter(locale.getpreferredencoding())(sys.stdout) sys.stdin = codecs.getreader(locale.getpreferredencoding())(sys.stdin) must work, If you have to switch encoding between the calendar and your console you will probably have to reencode the msg.
    default sys.stdout can write string the alternate sys.stdout codecs.getwriter(locale.getpreferredencoding())(sys.stdout) can write unicode, but msg is a string (not unicode) so we have either to use the standard sys.stdout, or convert it back to unicode and use: sys.stdout.write(unicode(msg,locale.getpreferredencoding())) If you use utf-8 just commenting the two initial lines sys.stdout = codecs.getwriter(locale.getpreferredencoding())(sys.stdout) sys.stdin = codecs.getreader(locale.getpreferredencoding())(sys.stdin) must work, If you have to switch encoding between the calendar and your console you will probably have to reencode the msg.
  • Apr 08, 2009
    issue 34 (Quick-Adding to wrong calendar) commented on by donchai   -   I facing the same error as well. I have commented the lambda code for google apps issue. Really hope this has a quick advise or fix soon. Cheers!
    I facing the same error as well. I have commented the lambda code for google apps issue. Really hope this has a quick advise or fix soon. Cheers!
  • Apr 01, 2009
    issue 10 (UnicodeEncodeError) commented on by iamnafets   -   mbaker.pdx seems to have the best result for me, it also seems to be truest to what the output is expected to be. Thanks, Stefan
    mbaker.pdx seems to have the best result for me, it also seems to be truest to what the output is expected to be. Thanks, Stefan
  • Mar 13, 2009
    issue 39 (unicodeerror in list) commented on by canburak   -   i'm not sure. my report is on event titles, issue 18 is about calendar names.
    i'm not sure. my report is on event titles, issue 18 is about calendar names.
  • Mar 13, 2009
    issue 39 (unicodeerror in list) commented on by stm.dbc   -   This is identical with issue 18?
    This is identical with issue 18?
  • Mar 13, 2009
    issue 18 (Error running gcalcli) commented on by stm.dbc   -   Are there any non-ascii characters in your calendar list names? 0xc3 is, I think, accent grave (`). I haven't tested it, but I think it is solved in svn HEAD (rev. 65). Could you try and reproduce the error with this version
    Are there any non-ascii characters in your calendar list names? 0xc3 is, I think, accent grave (`). I haven't tested it, but I think it is solved in svn HEAD (rev. 65). Could you try and reproduce the error with this version
  • Mar 10, 2009
    issue 10 (UnicodeEncodeError) commented on by mbaker.pdx   -   Yet another fix? Modified PrintMsg as follows: def PrintMsg(color, msg): if CLR.useColor: sys.stdout.write(str(color)) sys.stdout.write(unicode(msg, errors="ignore")) sys.stdout.write(str(CLR_NRM())) else: sys.stdout.write(unicode(msg, errors="ignore")) Cheers, Matt
    Yet another fix? Modified PrintMsg as follows: def PrintMsg(color, msg): if CLR.useColor: sys.stdout.write(str(color)) sys.stdout.write(unicode(msg, errors="ignore")) sys.stdout.write(str(CLR_NRM())) else: sys.stdout.write(unicode(msg, errors="ignore")) Cheers, Matt
  • Mar 05, 2009
    issue 42 (Agenda pulling events for other days) reported by duanehubbard   -   What steps will reproduce the problem? 1. Run: gcalcli --nc --cals all agenda 2009-03-05-00:01 2009-03-05-20:00 2. Have an all day event scheduled for the next day 3. What is the expected output? What do you see instead? What I should see: Thu Mar 05 3:00pm [Event Name] What I do see: Thu Mar 05 3:00pm [Event Name] Fri Mar 06 12:00am [Event One] 12:00am [Event Two] What version of the product are you using? On what operating system? gcalcli 1.4 Ubuntu 8.10 (fully updated) Please provide any additional information below.
    What steps will reproduce the problem? 1. Run: gcalcli --nc --cals all agenda 2009-03-05-00:01 2009-03-05-20:00 2. Have an all day event scheduled for the next day 3. What is the expected output? What do you see instead? What I should see: Thu Mar 05 3:00pm [Event Name] What I do see: Thu Mar 05 3:00pm [Event Name] Fri Mar 06 12:00am [Event One] 12:00am [Event Two] What version of the product are you using? On what operating system? gcalcli 1.4 Ubuntu 8.10 (fully updated) Please provide any additional information below.
  • Feb 16, 2009
    issue 41 (UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in ...) commented on by EsbenAndreasen   -   Have the same problem. It is caused when using non-ascii chars like æøåÆØÅ - having removed all those from my entries, the agenda works fine.
    Have the same problem. It is caused when using non-ascii chars like æøåÆØÅ - having removed all those from my entries, the agenda works fine.
  • Jan 16, 2009
    issue 41 (UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in ...) reported by tillinger   -   What steps will reproduce the problem? 1. gcalcli --nc agenda 2. 3. What is the expected output? What do you see instead? I expect to see my agenda. Instead, I see the first item (entered twice), followed by an error message What version of the product are you using? On what operating system? ver 1.4 on Mac OS 10.5.6 Please provide any additional information below. File "./gcalcli", line 1114, in <module> DoooooItHippieMonster() File "./gcalcli", line 1044, in DoooooItHippieMonster gcal.AgendaQuery() File "./gcalcli", line 779, in AgendaQuery self._PrintEvents(today, start, eventList) File "./gcalcli", line 626, in _PrintEvents ' %-7s %s\n' % (tmpTimeStr, event.title.text)) File "./gcalcli", line 210, in PrintMsg sys.stdout.write(msg) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/codecs.py", line 303, in write UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 33: ordinal not in range(128)
    What steps will reproduce the problem? 1. gcalcli --nc agenda 2. 3. What is the expected output? What do you see instead? I expect to see my agenda. Instead, I see the first item (entered twice), followed by an error message What version of the product are you using? On what operating system? ver 1.4 on Mac OS 10.5.6 Please provide any additional information below. File "./gcalcli", line 1114, in <module> DoooooItHippieMonster() File "./gcalcli", line 1044, in DoooooItHippieMonster gcal.AgendaQuery() File "./gcalcli", line 779, in AgendaQuery self._PrintEvents(today, start, eventList) File "./gcalcli", line 626, in _PrintEvents ' %-7s %s\n' % (tmpTimeStr, event.title.text)) File "./gcalcli", line 210, in PrintMsg sys.stdout.write(msg) File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/codecs.py", line 303, in write UnicodeDecodeError: 'ascii' codec can't decode byte 0xd7 in position 33: ordinal not in range(128)
  • Nov 20, 2008
    issue 31 (unicode error on "calm" output) commented on by gerolf.ziegenhain   -   It's the encoding again :( The bug occurs, when a strange character äöüß or something else is used somewhere. So one should insert .decode("utf") s everywhere, until it works again. for example in my case in gcalcli line 626 do: ' %-7s %s\n' % (tmpTimeStr, event.title.text.decode("utf"))) /G
    It's the encoding again :( The bug occurs, when a strange character äöüß or something else is used somewhere. So one should insert .decode("utf") s everywhere, until it works again. for example in my case in gcalcli line 626 do: ' %-7s %s\n' % (tmpTimeStr, event.title.text.decode("utf"))) /G
  • Nov 20, 2008
    issue 31 (unicode error on "calm" output) commented on by gerolf.ziegenhain   -   Still no fix?
    Still no fix?
  • Nov 08, 2008
    issue 40 (Hour missing in agenda view) commented on by jovimon   -   I managed to get it working changing the line 605 of the script. It was : timeFormat = '%l:%M' Working : timeFormat = '%I:%M' Also, if you want a 24h format, try changing it to timeFormat = '%H:%M' and removing "+ meridiem" in line 621.
    I managed to get it working changing the line 605 of the script. It was : timeFormat = '%l:%M' Working : timeFormat = '%I:%M' Also, if you want a 24h format, try changing it to timeFormat = '%H:%M' and removing "+ meridiem" in line 621.
  • Nov 08, 2008
    issue 40 (Hour missing in agenda view) reported by jovimon   -   What steps will reproduce the problem? 1. run the command: gcacli --cal XXX agenda 11/11/2008 12/11/2008 What is the expected output? What do you see instead? I see this: Tue Nov 11 :30pm XXXX :15pm XXXX :30pm XXXX :00pm XXXX :30pm XXXX :00pm XXXX It should be like this: Tue Nov 11 4:30pm XXXX 5:15pm XXXX 6:30pm XXXX 7:00pm XXXX 7:30pm XXXX 8:00pm XXXX What version of the product are you using? On what operating system? Windows XP SP3 - Active Python 2.5.2.2 - gcacli 1.4 Please provide any additional information below.
    What steps will reproduce the problem? 1. run the command: gcacli --cal XXX agenda 11/11/2008 12/11/2008 What is the expected output? What do you see instead? I see this: Tue Nov 11 :30pm XXXX :15pm XXXX :30pm XXXX :00pm XXXX :30pm XXXX :00pm XXXX It should be like this: Tue Nov 11 4:30pm XXXX 5:15pm XXXX 6:30pm XXXX 7:00pm XXXX 7:30pm XXXX 8:00pm XXXX What version of the product are you using? On what operating system? Windows XP SP3 - Active Python 2.5.2.2 - gcacli 1.4 Please provide any additional information below.
  • Oct 22, 2008
    issue 39 (unicodeerror in list) reported by canburak   -   What steps will reproduce the problem? 1. create an event with a title which cannot be represented in ascii 2. gcalcli list What is the expected output? What do you see instead? Unicode error instead of a list What version of the product are you using? On what operating system? svn61 Please provide any additional information below. my following patch fixes the problem --- gcalcli (revision 65) +++ gcalcli (working copy) @@ -737,7 +737,7 @@ for cal in self.allCals.entry: PrintMsg(self._CalendarColor(cal), - format % (cal.access_level.value, cal.title.text)) + format % (cal.access_level.value, cal.title.text.decode("utf-8"))) but i'm not sure about the consequences
    What steps will reproduce the problem? 1. create an event with a title which cannot be represented in ascii 2. gcalcli list What is the expected output? What do you see instead? Unicode error instead of a list What version of the product are you using? On what operating system? svn61 Please provide any additional information below. my following patch fixes the problem --- gcalcli (revision 65) +++ gcalcli (working copy) @@ -737,7 +737,7 @@ for cal in self.allCals.entry: PrintMsg(self._CalendarColor(cal), - format % (cal.access_level.value, cal.title.text)) + format % (cal.access_level.value, cal.title.text.decode("utf-8"))) but i'm not sure about the consequences
  • Oct 17, 2008
    issue 38 (DeprecationWarning: call to deprecated function BuildUri) commented on by paul.t.hinze   -   I get this warning on more or less every command on OS X 10.5 with python 2.4.5 and the same version of gcalcli.
    I get this warning on more or less every command on OS X 10.5 with python 2.4.5 and the same version of gcalcli.
  • Oct 10, 2008
    issue 9 (Would like to be able to supply credentials from a config fi...) commented on by stm.dbc   -   @fonnesbeck: could you please list version of gcalcli (head -n 3`which gcalcli`) and pwd of .gcalclirc and stat of .gcalclirc ?
    @fonnesbeck: could you please list version of gcalcli (head -n 3`which gcalcli`) and pwd of .gcalclirc and stat of .gcalclirc ?
  • Oct 10, 2008
    issue 38 (DeprecationWarning: call to deprecated function BuildUri) commented on by stm.dbc   -   using: % head gcalcli #!/usr/bin/python # $Id: gcalcli 61 2007-10-13 18:44:46Z insanum $ I get: % ./gcalcli calm /usr/lib/python2.5/site-packages/atom/service.py:558: DeprecationWarning: call to deprecated function BuildUri deprecation('call to deprecated function BuildUri') /usr/lib/python2.5/site-packages/atom/service.py:519: DeprecationWarning: call to deprecated function DictionaryToParamList deprecation('call to deprecated function DictionaryToParamList') +----------+----------+----------+----------+----------+----------+----------+ |October 2008 | -*- snip -*-
    using: % head gcalcli #!/usr/bin/python # $Id: gcalcli 61 2007-10-13 18:44:46Z insanum $ I get: % ./gcalcli calm /usr/lib/python2.5/site-packages/atom/service.py:558: DeprecationWarning: call to deprecated function BuildUri deprecation('call to deprecated function BuildUri') /usr/lib/python2.5/site-packages/atom/service.py:519: DeprecationWarning: call to deprecated function DictionaryToParamList deprecation('call to deprecated function DictionaryToParamList') +----------+----------+----------+----------+----------+----------+----------+ |October 2008 | -*- snip -*-
  • Sep 28, 2008
    issue 38 (DeprecationWarning: call to deprecated function BuildUri) reported by Sridhar.Ratna   -   I expect no warnings, but I see: (Python)srid@earthless:/tmp$ ./gcalcli agenda /home/srid/Python/lib/python2.5/site-packages/atom/service.py:558: DeprecationWarning: call to deprecated function BuildUri deprecation('call to deprecated function BuildUri') /home/srid/Python/lib/python2.5/site-packages/atom/service.py:519: DeprecationWarning: call to deprecated function DictionaryToParamList deprecation('call to deprecated function DictionaryToParamList') What version of the product are you using? On what operating system? 1.4 on Ubuntu hardy (on linode)
    I expect no warnings, but I see: (Python)srid@earthless:/tmp$ ./gcalcli agenda /home/srid/Python/lib/python2.5/site-packages/atom/service.py:558: DeprecationWarning: call to deprecated function BuildUri deprecation('call to deprecated function BuildUri') /home/srid/Python/lib/python2.5/site-packages/atom/service.py:519: DeprecationWarning: call to deprecated function DictionaryToParamList deprecation('call to deprecated function DictionaryToParamList') What version of the product are you using? On what operating system? 1.4 on Ubuntu hardy (on linode)
  • Aug 22, 2008
    issue 37 (Not easy_installable) reported by gundlach   -   Most apps and modules are going the route of easy_install gcalcli these days. How about yours?
    Most apps and modules are going the route of easy_install gcalcli these days. How about yours?
 
Hosted by Google Code