pombreda / gcalcli

Automatically exported from code.google.com/p/gcalcli
0 stars 0 forks source link

'editor' access_level #11

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. If there is a shared calendar whose sharing setting is "Make changes to
events".
2. gcalcli list

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "./gcalcli", line 619, in ?
    DoooooItHippieMonster()
  File "./gcalcli", line 567, in DoooooItHippieMonster
    GoogleCalendar(usr, pwd, access, details).ListAllCalendars()
  File "./gcalcli", line 235, in __init__
    self.cals.entry.sort(self._CalendarAccessCmp)
  File "./gcalcli", line 210, in _CalendarAccessCmp
    return cmp(order[x.access_level.value], order[y.access_level.value])
KeyError: 'editor'These calendar has access_level value as 'editor'.

What version of the product are you using? On what operating system?
gcalcli 1.2, Mac OS X 10.4.10.

Please provide any additional information below.
In method _CalendarAccessCmp() of class GoogleCalendar,
ACCESS_EDITOR='editor' and coressponding order[] value is needed.

Original issue reported on code.google.com by tadashi....@gmail.com on 5 Oct 2007 at 4:27

GoogleCodeExporter commented 9 years ago
Get the latest version of gcalcli from the svn repository.  This issue has been 
fixed.
http://code.google.com/p/gcalcli/source

Original comment by insa...@gmail.com on 5 Oct 2007 at 5:02

GoogleCodeExporter commented 9 years ago

Original comment by insa...@gmail.com on 5 Oct 2007 at 5:25

GoogleCodeExporter commented 9 years ago

Original comment by eda...@insanum.com on 27 Jul 2011 at 4:59