Is konsolecalendar --add supposed to work?

Dag Nygren <[email protected]>
Newsgroups gmane.comp.kde.users.pim
Organization Oy Espoon Newtech Ab
Message-ID <[email protected]>
Hi there!

I am in need of writing a small calendar grabber script here and have 
everything else worked out but konsolekalendar --add returns  "Not inserted".

Created a local file test.ics with 

konsolecalendar --create --file test.ics

And then tried to insert an entry in it:

konsolekalendar --add --date "2011-08-17" --time 20:00 --end-time 21:00 --
summary "Test" --description "Heh" --file test.ics

The result is:

konsolekalendar(11728)/kdecore (K*TimeZone*) 
KSystemTimeZonesPrivate::instance: instance(): ... initialised
konsolekalendar(11728)/kdecore (K*TimeZone*) 
KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "Europe/Helsinki"
konsolekalendar(11728)/kdecore (K*TimeZone*) 
KSystemTimeZonesPrivate::readZoneTab: readZoneTab( 
"/usr/share/zoneinfo/zone.tab" )
konsolekalendar(11728)/kresources KRES::Factory::self:
konsolekalendar(11728)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying 
to open ksycoca from "/var/tmp/kdecache-dag/ksycoca4"
konsolekalendar(11728)/kresources KRES::ManagerImpl::ManagerImpl:
konsolekalendar(11728) StdCalendar::addFileResource: Local resource at 
KUrl("file:///home/dag/private/ETKgrab/test.ics")
konsolekalendar(11728)/kresources KRES::Factory::Private::resourceInternal: ( 
"file" , config )
konsolekalendar(11728)/kresources KRES::Factory::Private::resourceInternal: no 
such type "file"
konsolekalendar(11728)/kdepimlibs (kcal) KCal::CalendarResources::load: 
Warning! No standard resource yet.
konsolekalendar(11728) main: main | datetimestamp | setting enddate to 
startdate
konsolekalendar(11728) main: main | datetimestamp | setting startdatetime from 
startdate and starttime
konsolekalendar(11728) main: main | datetimestamp | setting enddatetime from 
enddate and endtime
konsolekalendar(11728) main: main | datetimestamp | StartDate= "ons aug 17 
20:00:00 2011"
konsolekalendar(11728) main: main | datetimestamp | EndDate= "ons aug 17 
21:00:00 2011"
konsolekalendar(11728) main: main | modework | calling addEvent()
konsolekalendar(11728) KonsoleKalendar::addEvent: 
konsolecalendar.cpp::addEvent() | Create Adding
konsolekalendar(11728) KonsoleKalendar::addEvent: 
konsolecalendar.cpp::addEvent() | Adding Event now!
konsolekalendar(11728) KonsoleKalendarAdd::addEvent: 
konsolekalendaradd.cpp::addEvent()
Failure: "Test" not inserted
konsolekalendar(11728) KonsoleKalendarAdd::addEvent: 
konsolekalendaradd.cpp::addEvent() | Done
konsolekalendar(11728)/kresources KRES::ManagerImpl::~ManagerImpl:
konsolekalendar(11728) main: main | exiting

This is KDE 4.7.0

What is wrong?

Best
Dag
_______________________________________________
KDE PIM users mailing list
Subscription management: https://mail.kde.org/mailman/listinfo/kdepim-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.