Re: [SOGo] SOGo crashing - record identified

2012-04-10 Thread Michal Bruncko

Hi Christian

thank you for response. I have created bug report regarding this: 
http://www.sogo.nu/bugs/view.php?id=1759


 Is there perhaps an invisible character in or at the end of this line?

i dont think so, I have had more records with same RRULE lines (and same 
parameters) and for all of them sogo crashed.


This crashing comes to current from older sogo versions. For all the 
time I have just upgraded sogo packages (also with deps) and mysql 
database. Is there any chance that this is due some missing database 
upgrade from some older version?


thanks

michal

On 10. 4. 2012 11:18, Christian Mack wrote:

Hello Michal Bruncko


On 2012-04-07 00:15, Michal Bruncko wrote:


I have finally identified records which caused my sogo stack smashing
logs and crashing sogo without displaying any calendar events in SOGo
web version.
I have had this issue for longer time and currently I have decided to
identify records (from all 300 records) in my calendar with excluding
method.
And finally here is example of that record:

BEGIN:VEVENT
CREATED:20110729T135030Z
LAST-MODIFIED:20100730T195829Z
UID:1819-4E32C900-2F5-2C08A280
SUMMARY:Birthday causin
RRULE:FREQ=YEARLY;BYMONTH=4
DTSTART:19860414T22Z
DTEND:19860415T215900Z
X-IRMC-LUID:02C1
END:VEVENT

especially line starting with RRULE caused it. If I have removed it
from record or just removed ;BYMONTH=4 part, record will be imported
successfully and also without crashing.

also same situation with crashing when the RRULE line looks like this:
RRULE:FREQ=YEARLY;BYMONTHDAY=14;BYMONTH=4

Please, where is the problem with that line itself? Can you fix that
crashing? Probably my old cell phone (SonyEricsson W995) generates
records with that line and during synchronization was this record
uploaded to server side calednar.

I am using sogo-1.3.14-1.centos6.i686



The above event is absolutely valid.
The RRULE is OK too.

Is there perhaps an invisible character in or at the end of this line?


Kind regards,
Christian Mack



--
Ing. Michal Bruncko, PhD., CCNP
Linux systems and network administrator
Coupled school of business and services Ruzomberok
Slovak Republic
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] SOGo crashing - record identified

2012-04-06 Thread Michal Bruncko

Hello list,

I have finally identified records which caused my sogo stack smashing 
logs and crashing sogo without displaying any calendar events in SOGo 
web version.
I have had this issue for longer time and currently I have decided to 
identify records (from all 300 records) in my calendar with excluding 
method.

And finally here is example of that record:

BEGIN:VEVENT
CREATED:20110729T135030Z
LAST-MODIFIED:20100730T195829Z
UID:1819-4E32C900-2F5-2C08A280
SUMMARY:Birthday causin
RRULE:FREQ=YEARLY;BYMONTH=4
DTSTART:19860414T22Z
DTEND:19860415T215900Z
X-IRMC-LUID:02C1
END:VEVENT

especially line starting with RRULE caused it. If I have removed it 
from record or just removed ;BYMONTH=4 part, record will be imported 
successfully and also without crashing.


also same situation with crashing when the RRULE line looks like this:
RRULE:FREQ=YEARLY;BYMONTHDAY=14;BYMONTH=4

Please, where is the problem with that line itself? Can you fix that 
crashing? Probably my old cell phone (SonyEricsson W995) generates 
records with that line and during synchronization was this record 
uploaded to server side calednar.


I am using sogo-1.3.14-1.centos6.i686

thanks



--
Ing. Michal Bruncko, PhD., CCNP
Linux systems and network administrator
Coupled school of business and services Ruzomberok
Slovak Republic
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Timezone/import problems

2010-10-21 Thread Michal Bruncko

Hi

I had same problem on some imported events from calendar file. In my 
case there was problem probably with sync with mobile device that had 
not correctly defined timezone.
But in my case that there was only two events on which I had manually 
changed correct timezone through TB.


misob

On 21. 10. 2010 1:01, Stefan `Sec` Zehl wrote:

I'm having a problem with my sogo installation. On Event import it
fails to respect Timezones and assumes local timezone for everything.
This makes the import function somewhat useless for me.

Can anyone confirm this?

If you want to reproduce this without any external software, try this:

 Starting from an empty calendar, Go to Preferences and set my
 Timezone as Europe/Berlin

 I create an event from 8:00 till 9:00 called E1

 Then go back to preferences, and set your Timezone to America/New_York

 E1 is now displaying at 2:00

 Create a new event from 8:00 till 9:00 called E2

 SOGo is now displaying two events. E1 at 2:00 and E2 at 8:00
 (So far everything is correct)

 Now go to the calendars tab and click then right-click your Personal
 Calendar and select Export Calendar

 The resulting file looks good to me. (Two VTIMEZONE entries, then two
 VEVENT entries with correct DTSTARTs:

 DTSTART;TZID=/inverse.ca/20091015_1/Europe/Berlin:20101020T08
 DTSTART;TZID=/inverse.ca/20091015_1/America/New_York:20101020T08

 Now go back to a clean calendar (either delete the database, or use a
 new user) and import this sogo-generated .ics file.

 This results in two events E1 and E2, both displaying at the same
 time (2:00, for me) which is obviously incorrect.

The sogod.log also reports the following during the import:

| Oct 20 18:23:01 sogod: SOGo watchdog [12726]:0x0x84cabb0[iCalDateTime]  
timezone '/inverse.ca/20091015_1/Europe/Berlin' not found in calendar
| Oct 20 18:23:01 sogod: SOGo watchdog [12726]:0x0x86c8118[iCalDateTime]  
timezone '/inverse.ca/20091015_1/Europe/Berlin' not found in calendar
| Oct 20 18:23:01 sogod: SOGo watchdog [12726]:0x0x8635568[iCalDateTime]  
timezone '/inverse.ca/20091015_1/America/New_York' not found in calendar
| Oct 20 18:23:01 sogod: SOGo watchdog [12726]:0x0x86df898[iCalDateTime]  
timezone '/inverse.ca/20091015_1/America/New_York' not found in calendar

Is this a SOGo bug, or a mistake I made in my installation?

CU,
 Sec

P.S.: my version info:

| nebbiolo-10.04-sogo-lts:/#dpkg -l |grep -Ei '(sogo|sope)'
| ii  libsope-appserver4.94.9.r1664.20100921   SOPE application 
server libraries
| ii  libsope-core4.9 4.9.r1664.20100921   Core libraries 
of the SOPE application serve
| ii  libsope-gdl1-4.94.9.r1664.20100921   GNUstep database 
libraries for SOPE
| ii  libsope-ldap4.9 4.9.r1664.20100921   SOPE libraries 
for LDAP access
| ii  libsope-mime4.9 4.9.r1664.20100921   SOPE libraries 
for MIME processing
| ii  libsope-xml4.9  4.9.r1664.20100921   SOPE libraries 
for XML processing
| ii  sogo1.3.2a modern and 
scalable groupware
| ii  sope4.9-gdl1-mysql  4.9.r1664.20100921   MySQL connector 
for SOPE's fork of the GNUst
| ii  sope4.9-libxmlsaxdriver 4.9.r1664.20100921   XML Parser for 
SOPE's SAX engine



--
Ing. Michal Bruncko, CCNP
Linux systems and network administrator

Coupled school of business and services Ruzomberok
Slovak Republic
--
users@sogo.nu
https://inverse.ca/sogo/lists