6.0.0-git
2019-03-23

[#9982] missing error message for remote calender not able to retrieve
Summary missing error message for remote calender not able to retrieve
Queue Kronolith
Queue Version Git master
Type Bug
State No Feedback
Priority 1. Low
Owners
Requester michael (at) bigmichi1 (dot) de
Created 2011-04-26 (2888 days ago)
Due
Updated 2011-06-16 (2837 days ago)
Assigned 2011-04-26 (2888 days ago)
Resolved 2011-06-16 (2837 days ago)
Milestone
Patch No

History
2011-06-16 17:40:09 Jan Schneider State ⇒ No Feedback
 
2011-06-02 20:27:50 Jan Schneider Comment #11 Reply to this comment
That doesn't make sense. The data stored (and truncated) in the cache 
is obviously a serialized iCalendar object. So this cannot be a 
problem with retrieving the calendar.
Second, we catch any errors from retrieving remote calendars.
Finally, we save data into the cache *immediately* after serializing 
it. So either you PHP's serialization is broken, or something in the 
cache code is truncating the data, or there is some issue with your 
database. Remote calendars can be very big, are you sure that you are 
not hitting any database limit, like MySQL's max_allowed_packet.
2011-05-20 10:11:28 michael (at) bigmichi1 (dot) de Comment #10 Reply to this comment
exact message is:

Truncated message: chunk size 4096 exceeds remaining data size 1358 at 
pos 119022 of 120380
2011-05-18 19:22:42 michael (at) bigmichi1 (dot) de Comment #9 Reply to this comment
oh i overlooked that report where i shoulg give feedback, data is not 
stored completly in cache, because the request times out i think 
because sometimes i get instead of the empty error message a message 
that indicates that getting more bytes from resource fails (tries to 
read 4096 bytes got only 3000). when i see it the next time i post the 
exact wording
2011-05-18 15:55:24 Jan Schneider Comment #8 Reply to this comment
That still doesn't answer my question.
2011-04-27 05:01:25 michael (at) bigmichi1 (dot) de Comment #7 Reply to this comment
when i turn off the caching (set explizit $cache = false as first 
statement) in getRemoteCalendar()) now it works, but is slower
2011-04-26 19:03:11 michael (at) bigmichi1 (dot) de Comment #6 Reply to this comment
ok last comment wasn't right about the http pecl extension, with or 
without it makes no difference
2011-04-26 19:00:25 michael (at) bigmichi1 (dot) de Comment #5 Reply to this comment
i disabled the http pecl extension now it works, data was not stored 
completly in the cache before
2011-04-26 18:01:50 Jan Schneider Comment #4 Reply to this comment
Please take a look at the cache storage backend to see if this value 
is broken in the storage too, or if this happens when reading from 
there.
2011-04-26 17:52:48 michael (at) bigmichi1 (dot) de Comment #3 Reply to this comment
i did a output to a textfile before the unserialize call; i think the 
entry is not completly written to the cache or it is not completly 
retrieved from it. last bytes of the file are:

{s:4:"name";s:8:"LOCATION";s:6:"params";a:0:{}s:5:"value";s:15:"Halle/Westfalen";s:6:"values";a:1:{i:0;s:15:"Halle/Westfalen";}}i:21;a:4:{s:4:"name";s:8:"SEQUENCE";s:6:"params";a:0:{}s:5:"value";i:0;s:

i have no idea whats going on here
2011-04-26 17:21:03 Jan Schneider Comment #2
State ⇒ Feedback
Reply to this comment
The question is why you have invalid serialized data in your cache. 
What's the content of $calendar before that line from the error message?
2011-04-26 11:23:42 michael (at) bigmichi1 (dot) de Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ missing error message for remote calender not able to retrieve
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
Reply to this comment
i have set up a remote calender (google calender), when i now open 
kronolith, i got a line under the menu bar with a red x and no message 
and all entries of the remote calender are missing, in my log file i 
found these message:

2011-04-26T13:17:23+02:00 NOTICE: HORDE [kronolith] PHP ERROR: 
unserialize(): Error at offset 312097 of 312107 bytes [pid 27443 on 
line 521 of "/var/www/horde4/kronolith/lib/Driver/Ical.php"]
2011-04-26T13:17:45+02:00 NOTICE: HORDE [kronolith] PHP ERROR: 
unserialize(): Error at offset 312097 of 312107 bytes [pid 27839 on 
line 521 of "/var/www/horde4/kronolith/lib/Driver/Ical.php"]
2011-04-26T13:19:05+02:00 NOTICE: HORDE [kronolith] PHP ERROR: 
unserialize(): Error at offset 312097 of 312107 bytes [pid 27583 on 
line 521 of "/var/www/horde4/kronolith/lib/Driver/Ical.php"]

eighter there needs to be a good error message or something other to 
resolve the unserialize

Saved Queries