After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 566463 - unable to delete calendar
unable to delete calendar
Status: RESOLVED DUPLICATE of bug 442398
Product: evolution
Classification: Applications
Component: Calendar
2.24.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2009-01-04 01:56 UTC by Dave Cabot
Modified: 2009-03-31 17:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Dave Cabot 2009-01-04 01:56:32 UTC
From contacts I created a calendar.  It shows up under calendars.  I attempt to delete it, but delete is grayed out.  

I change the delete option using gconf-editor and the delete option is no longer grayed out, but clicking it results in nothing.  The calendar isn't deleted, no error msg.

I attempted to remove the calendar manually from ~/.gconf/apps/evolution/calendar/%gconf.xml with gdm down (/etc/init.d/gdm stop), but as soon as I run evolution again it reappears.
Comment 1 Matthew Barnes 2009-01-04 02:45:32 UTC
What kind of calendar?
Comment 2 Dave Cabot 2009-01-04 03:08:52 UTC
Local (On This Computer).
Comment 3 Matthew Barnes 2009-01-04 04:12:21 UTC
Do you have any other calendars under "On This Computer"?
Comment 4 Dave Cabot 2009-01-04 13:47:46 UTC
Yes, one.  Personal.  But here's the difference.  Since I created the one calendar while at Contacts the calendar folder in question shows up under a title "Contacts" instead of "On This Computer".  Even the data from cgonftool-2 shows it under it's own section.  See below:

dave@dave-laptop2:~$ gconftool-2 --get /apps/evolution/calendar/sources
[<?xml version="1.0"?>
<group uid="1219179790.6870.0@dave-laptop2" name="CalDAV" base_uri="caldav://" readonly="no"/>
,<?xml version="1.0"?>
<group uid="1219179790.6870.1@dave-laptop2" name="Google" base_uri="Google://" readonly="no"><source uid="1230990994.12298.3@dave-laptop2" name="ITeams" relative_uri="http://www.google.com/calendar/feeds/cabotd%40iteams.org/private/full" color_spec="#E2F0D3"><properties><property name="alarm" value="true"/><property name="username" value="cabotd@iteams.org"/><property name="protocol" value="google"/><property name="auth" value="1"/><property name="refresh" value="30"/><property name="auth-domain" value="google"/><property name="ssl" value="1"/><property name="offline_sync" value="1"/></properties></source><source uid="1231001521.13265.2@dave-laptop2" name="Liz ITeams" relative_uri="http://www.google.com/calendar/feeds/cabotl%40iteams.org/private/full" color_spec="#E2D4B7"><properties><property name="alarm" value="true"/><property name="username" value="cabotl@iteams.org"/><property name="protocol" value="google"/><property name="auth" value="1"/><property name="refresh" value="30"/><property name="auth-domain" value="google"/><property name="ssl" value="1"/></properties></source></group>
,<?xml version="1.0"?>
<group uid="1219179791.6870.11@dave-laptop2" name="On This Computer" base_uri="file:///home/dave/.evolution/calendar/local" readonly="no"><source uid="1219179791.6870.12@dave-laptop2" name="Personal" relative_uri="system" color_spec="#BECEDD"><properties><property name="alarm" value="true"/></properties></source></group>
,<?xml version="1.0"?>
<group uid="1219179791.6870.13@dave-laptop2" name="On The Web" base_uri="webcal://" readonly="no"/>
,<?xml version="1.0"?>
<group uid="1219179791.6870.14@dave-laptop2" name="Contacts" base_uri="contacts://" readonly="no"><properties><property name="create_source" value="no"/></properties><source uid="1219179791.6870.15@dave-laptop2" name="Birthdays &amp; Anniversaries" relative_uri="/" color_spec="#DDBECE"><properties><property name="alarm" value="true"/><property name="delete" value="no"/></properties></source></group>
,<?xml version="1.0"?>
<group uid="1219179791.6870.16@dave-laptop2" name="Weather" base_uri="weather://" readonly="no"/>

Comment 5 Matthew Barnes 2009-01-04 14:45:43 UTC
Very strange.  I assume you're creating the calendar from Contacts by simply doing New -> Calendar and choosing "On This Computer" for the type?

No luck reproducing this yet, but I'm using 2.25.3.1.
Comment 6 Dave Cabot 2009-01-05 02:35:19 UTC
That's correct.  I've searched the internet and there have been others with the same problem.  I searched the database here and there's nothing on it.  I've had this since Ubuntu 8.04, but I don't know which version of evolution that was.  It may be that the problem producing the result has been fixed, but if the problem already exists there isn't currently a way to resolve it, ie delete the folder.

Is there possibly a way to resolve this manually?  I've edited and looked for this all over, but I'm not seeing where evolution is maintaining this data.  As noted above, I've edited the gconf data with all of evolution down, but it still recreates it when it restarts.
Comment 7 Dave Cabot 2009-01-10 14:52:30 UTC
I really need to know where evolution is holding it's data outside of gconf.  Along with this calendar problem I have another problem with the exchange connector that I need to resolve.
Comment 8 Milan Crha 2009-03-31 17:23:32 UTC
Dave, are you talking about:
   Contacts
      Birthday & Anniversaries    <= ?

I see from comment #4 that you've there only this calendar, so I guess you do.
This one is mandatory, and is created in sources when not found. You cannot delete it, as you realized.

*** This bug has been marked as a duplicate of 442398 ***