[SOGo] Unable to save calendar via lightning

Robert Stanford sogo@opengroupware.org
Tue, 04 Dec 2007 20:26:34 +1000


Chris Picton wrote:
> On Mon, 2007-12-03 at 11:24 -0500, Wolfgang Sourdeau wrote:
>   
>> On 2007-11-30 02:47:13 -0500 Chris Picton <chrisp@tangent.co.za> wrote:
>>
>>     
>>> Hi All
>>>
>>> I am using sogo svn 1280, sope svn 1552 and sogo-connector-0.62.xpi
>>>
>>> When trying to save a calendar entry via lightning, I get the 
>>> following
>>> in my SOgo logs:
>>>
>>>
>>> 172.17.19.1 - - [30/Nov/2007:09:40:27 GMT]
>>> "PROPFIND /SOGo/dav/test/Calendar/personal/null HTTP/1.1" 404 208/91
>>> 0.013 - - 20K
>>> EXCEPTION: <NSException: 9eae478> NAME:NSInvalidArgumentException
>>> REASON:nil argument for earlierDate:
>>>       
>> Which version of Lightning are you using? Nightly or release 0.7?
>>     
>
> I was using 0.7
>
> I will test nightly
>   
I have just tested with nightly, both the regular and wcap enabled 
versions and get the same error.

When I click on Calendar on the bottom left sogo.log says

2007-12-04 20:18:50.144 sogod-0.9[15337] Note(SoObject): 
SoDebugKeyLookup is enabled!
2007-12-04 20:18:50.145 sogod-0.9[15337] Note(SoObject): SoDebugBaseURL 
is enabled!
2007-12-04 20:18:50.145 sogod-0.9[15337] Note(SoObject): relative base 
URLs are enabled.
Dec 04 20:18:50 sogod-0.9 [15337]: <0x0x874b608[GCSFolderManager]> Note: 
loading 4 GCS folder types:
Dec 04 20:18:50 sogod-0.9 [15337]: <0x0x874b608[GCSFolderManager]>   
contact: OK
Dec 04 20:18:50 sogod-0.9 [15337]: <0x0x874b608[GCSFolderManager]>   
appointment-oracle: OK
Dec 04 20:18:50 sogod-0.9 [15337]: <0x0x874b608[GCSFolderManager]>   
contact-oracle: OK
Dec 04 20:18:50 sogod-0.9 [15337]: <0x0x874b608[GCSFolderManager]>   
appointment: OK
2007-12-04 20:18:50.153 sogod-0.9[15337] Note: setup default manager at: 
postgresql://sogo:sogo@localhost:5432/sogo/sogo_folder_info
2007-12-04 20:18:50.304 sogod-0.9[15337] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers 
available for MIME type 'text/x-vcard', using 'VSvCardSaxDriver' as 
default for type text/x-vcard.
2007-12-04 20:18:50.304 sogod-0.9[15337] WARNING(-[SaxXMLReaderFactory 
_loadBundlePath:infoDictionary:nameMap:typeMap:]): multiple parsers 
available for MIME type 'text/calendar', using 'VSiCalSaxDriver' as 
default for type text/calendar.
127.0.0.1 - - [04/Dec/2007:20:18:50 GMT] "REPORT 
/SOGo/dav/rob/Calendar/personal/ HTTP/1.1" 207 539/389 0.211 1433 62% 2M


If I try to add an event the outputs from sogod.log and postgresql.log 
with 'logstatement = all' set are:


Dec 04 20:20:07 sogod-0.9 [15337]: 
<0x08731C98[SOGoAppointmentObject]:09d5ba44-8eb6-4253-8ec2-ca124bf23a6a.ics> 
TODO: implement if-none-match for etag: '*'
EXCEPTION: <NSException: 871d8b8> NAME:NSInvalidArgumentException 
REASON:nil argument for earlierDate:
### child 15337 (#5) was terminated by signal 6 (uptime=137s).
2007-12-04 20:20:07.997 sogod-0.9[15465] starting SOGo (build root@ 
200712010516)
2007-12-04 20:20:07.998 sogod-0.9[15465] Note: vmem size check enabled: 
shutting down app when vmem > 200 MB
Dec 04 20:20:08 sogod-0.9 [15465]: SNS support disabled.
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]> 
scanning SOGo products in: /home/sogo/GNUstep/Library/SOGo-0.9
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]> 
scanning SOGo products in: /usr/GNUstep/Local/Library/SOGo-0.9
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]>   
register SOGo product: Appointments.SOGo
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]>   
register SOGo product: Contacts.SOGo
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]>   
register SOGo product: Mailer.SOGo
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]>   
register SOGo product: CommonUI.SOGo
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]>   
register SOGo product: ContactsUI.SOGo
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]>   
register SOGo product: MailerUI.SOGo
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]>   
register SOGo product: MailPartViewers.SOGo
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]>   
register SOGo product: MainUI.SOGo
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]>   
register SOGo product: PreferencesUI.SOGo
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]>   
register SOGo product: SchedulerUI.SOGo
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]> 
scanning SOGo products in: /usr/GNUstep/Network/Library/SOGo-0.9
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]> 
scanning SOGo products in: /usr/GNUstep/System/Library/SOGo-0.9
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]> 
scanning SOGo products in: /usr/local/lib/sogod-0.9
Dec 04 20:20:08 sogod-0.9 [15465]: <0x0x834ae70[SOGoProductLoader]> 
scanning SOGo products in: /usr/lib/sogod-0.9
2007-12-04 20:20:08.121 sogod-0.9[15465] Note: fetching full mail header.
2007-12-04 20:20:08.121 sogod-0.9[15465] Note(SOGoMailObject): using 
constant etag for mail parts: '"imap4url_0_9_126"'
2007-12-04 20:20:08.122 sogod-0.9[15465] Note: using SOGo mail spool 
folder: /tmp/
2007-12-04 20:20:08.122 sogod-0.9[15465] Note(SOGoMailBodyPart): using 
constant etag for mail parts: '"imap4url_0_9_126"'
2007-12-04 20:20:08.122 sogod-0.9[15465] Note: using drafts folder 
named:      'Inbox.Drafts'
2007-12-04 20:20:08.122 sogod-0.9[15465] Note: using shared-folders 
name:      '(nil)'
2007-12-04 20:20:08.122 sogod-0.9[15465] Note: using other-users-folders 
name: '(nil)'
2007-12-04 20:20:08.123 sogod-0.9[15465] Note: using other-users-folders 
name: '(nil)'
Dec 04 20:20:08 sogod-0.9 [15465]: [WARN] [so-secinfo SOGoUserFolder] 
tried to declare object permission twice! (perm=view,private=no,public=no)
Dec 04 20:20:08 sogod-0.9 [15465]: [WARN] [so-secinfo SOGoUserFolder] 
tried to set default role of 'webdav access' twice! (set to (Authenticated))
Dec 04 20:20:08 sogod-0.9 [15465]: |SOGo-0.9| WOHttpAdaptor listening on 
address *:20000



2007-12-04 20:20:07 EST LOG:  statement: SELECT c_path4 FROM 
sogo_folder_info WHERE c_path2 = 'rob' AND c_folder_type = 'Appointment'
2007-12-04 20:20:07 EST LOG:  statement: SELECT c_defaults  FROM 
sogo_user_profile WHERE c_uid = 'rob'
2007-12-04 20:20:07 EST LOG:  statement: SELECT c_settings  FROM 
sogo_user_profile WHERE c_uid = 'rob'
2007-12-04 20:20:07 EST LOG:  statement: SELECT c_folder_id, c_path, 
c_location, c_quick_location, c_acl_location, c_folder_type FROM 
sogo_folder_info WHERE c_path1 = 'Users' AND c_path2 = 'rob' AND c_path3 
= 'Calendar' AND c_path4 = 'personal'
2007-12-04 20:20:07 EST LOG:  statement: SELECT c_uid, c_object, c_role 
FROM rob1193141948_acl WHERE (c_object = '/rob/Calendar/personal') AND 
(c_uid = 'rob')
2007-12-04 20:20:07 EST LOG:  statement: SELECT c_uid, c_object, c_role 
FROM rob1193141948_acl WHERE (c_object = '/rob/Calendar/personal') AND 
(c_uid = '<default>')
2007-12-04 20:20:07 EST LOG:  statement: SELECT c_content FROM 
rob1193141948 WHERE c_name = '09d5ba44-8eb6-4253-8ec2-ca124bf23a6a.ics' 
AND (c_deleted != 1 OR c_deleted IS NULL)
2007-12-04 20:20:07 EST LOG:  statement: SELECT c_uid, c_object, c_role 
FROM rob1193141948_acl WHERE (c_object = 
'/rob/Calendar/personal/09d5ba44-8eb6-4253-8ec2-ca124bf23a6a.ics') AND 
(c_uid = 'rob')
2007-12-04 20:20:07 EST LOG:  statement: SELECT c_uid, c_object, c_role 
FROM rob1193141948_acl WHERE (c_object = 
'/rob/Calendar/personal/09d5ba44-8eb6-4253-8ec2-ca124bf23a6a.ics') AND 
(c_uid = '<default>')
2007-12-04 20:20:07 EST LOG:  statement: SELECT c_version FROM 
rob1193141948 WHERE c_name = '09d5ba44-8eb6-4253-8ec2-ca124bf23a6a.ics' 
AND (c_deleted != 1 OR c_deleted IS NULL)
2007-12-04 20:20:07 EST LOG:  could not receive data from client: 
Connection reset by peer
2007-12-04 20:20:07 EST LOG:  unexpected EOF on client connection
2007-12-04 20:20:08 EST LOG:  could not receive data from client: 
Connection reset by peer
2007-12-04 20:20:08 EST LOG:  unexpected EOF on client connection
2007-12-04 20:20:08 EST LOG:  statement: set client_encoding to 'UTF8'
2007-12-04 20:20:08 EST LOG:  statement: SELECT count(*) FROM 
sogo_user_profile
2007-12-04 20:20:08 EST LOG:  statement: SELECT count(*) FROM 
sogo_folder_info


Kind Regards
Robert Stanford