After conversion to 2005Q4, uwc fails on monthly calendar view

We just converted from 2004Q2 to 2005Q4. In uwc, when certain users try the monthly view, they get nothing (the page load hangs). What's worse, a thread in the web server goes into an infinite loop. After a few of these tries the system gets slow.
I am 99% sure of the following: There was a change in 2005Q4 in the format for all-day events. Previously a start time only was listed. Now both a start and an end are listed in the internal database. Apparently the routine that sorts events by time for display in the monthly view gets confused by events without an end time, going into a loop (or possibly get a null pointer exception, though that's a symptom I haven't seen here).
Since I doubt I can get Sun to generate a patch quickly enough to be useful, I'm dealing with it by fixing all the calendars.
Here is an awk script to fix up an ics file:
BEGIN{FS=":"
l[1] = 31
l[2] = 28
l[3] = 31
l[4] = 30
l[5] = 31
l[6] = 30
l[7] = 31
l[8] = 31
l[9] = 30
l[10] = 31
l[11] = 30
l[12] = 31
$1 ~ "^DTSTART" {
gots = 1
$1 ~ "^DTEND" {
gotend = 1
gote = 1
$1 == "DTSTART;VALUE=DATE" {
date = $2 }
$1 == "CREATED" {
if (date && ! gotend) {
year = substr(date,1,4)+0
month = substr(date,5,2)+0
day = substr(date,7,2)+0
if (year % 4 == 0) {
l[2] = 29
} else {
l[2] = 28
if (day == l[month]) {
day = 1
month = month+1
if (month == 13) {
month = 1
year = year+1
} else
day = day + 1
gote = 1
didchange = 1
printf( "DTEND;VALUE=DATE:%04d%02d%02d\r\n", year, month, day)
if ($0 == "END:VEVENT\r")
if (!gote || !gots)
print "####no s or e" >> "/dev/tty"
date = ""
gote = ""
gots = ""
gotend = ""
print $0
END {
if (didchange)
print "changed" >"changed"
Here's a csh script that uses the awk script to fix one calendar:
#!/bin/csh
echo converting $1
(cd /army/sunone/servers3/calserv/cal/sbin; ./csbackup -c "$1" calendar /export/
convert/cal.ics)
rm -f changed
nawk -f fixcal.awk cal.ics >newcal.ics
if (-e changed) then
echo reloading $1
(cd /army/sunone/servers3/calserv/cal/sbin; ./csrestore -c "$1" calendar /expo
rt/convert/newcal.ics)
else
echo no change in $1
endif
Here's an example of a file that uses it. I created this from a listing done with cscal -l.
./fixcal "[email protected]"
./fixcal "[email protected]"
./fixcal "[email protected]"
This is probably practical for a few thousand calendars. If you have more than that, this is probably going to take too long.

Let's try that again. The awk script works, but it tries to set DTEND for TODO entries, which isn't valid. Fortunately the system seems to ignore them, but it's probably best not to do it. The following causes the script only to look at EVENT entries
BEGIN{FS=":"
l[1] = 31
l[2] = 28
l[3] = 31
l[4] = 30
l[5] = 31
l[6] = 30
l[7] = 31
l[8] = 31
l[9] = 30
l[10] = 31
l[11] = 30
l[12] = 31
$1 ~ "^DTSTART" {
  gots = 1
$1 ~ "^DTEND" {
  gotend = 1
  gote = 1
$1 == "DTSTART;VALUE=DATE" {
  date = $2 }
$1 == "CREATED" {
  if (inevent && date && ! gotend) {
    year = substr(date,1,4)+0
    month = substr(date,5,2)+0
    day = substr(date,7,2)+0
    if (year % 4 == 0) {
      l[2] = 29
    } else {
      l[2] = 28
    if (day == l[month]) {
      day = 1
      month = month+1
      if (month == 13) {
        month = 1
        year = year+1
    } else
      day = day + 1
    gote = 1
    didchange = 1
    printf( "DTEND;VALUE=DATE:%04d%02d%02d\r\n", year, month, day)
$0 == "BEGIN:VEVENT\r" {
  inevent = 1
  if ($0 == "END:VEVENT\r")
    inevent = 0
    if (!gote || !gots)
      print "####no s or e" >> "/dev/tty"
    date = ""
    gote = ""
    gots = ""
    gotend = ""
print $0
END {
  if (didchange)
    print "changed" >"changed"
      }

Similar Messages

  • HT2513 After accepting the new Apple upgrade to iOS 7.1 on my iPhone 4S, I cannot remove the half month calendar view to show only the daily view. Help!

    After accepting the new Apple upgrade to iOS 7.1 on my iPhone 4S, I cannot remove the half month calendar view to show only the daily view. Help!

    Before you panic, try resetting your iPhone by simultaneously pressing and holding the Home and Sleep/Wake buttons until you see the Apple Logo. This can take up to 15 seconds so be patient and don't release the buttons until the logo appears.
    Try again to see if the problem persists.

  • MOSS 2007 Monthly Calendar view wont accept a single digit month

    If any of my users try to change the Month of the Monthly Calendar view, by clicking the arrows to the left of the current display month, they get a blank page.
    The url they are sent to is as follows:
    https://~/Lists/Calendar/calendar.aspx?CalendarDate=6%2F16%2F2014
    If they insert a zero in front of the month digit SharePoint displays the page perfectly fine. ie:
    https://~/Lists/Calendar/calendar.aspx?CalendarDate=06%2F16%2F2014
    Here is where it gets strange, my staging environment will display the first URL and the second URL as expected, my production and dev environments choke on a single digit month.  All environments display Oct, Nov, and Dec just fine because they are
    2 digit months.  All servers are Windows Server 2008R2 SP1 and Sharepoint build 12.0.0.6679
    Anyone seen this before?  I have checked, and changed, the regional settings for date format.  They are all set to M/dd/yyyy and changing it had no effect.

    Hi Matt,
    Could you share a screenshot about this issue?
    Did this happen to all site collections and web applications?
    Where did you set the date format as M/dd/yyyy?
    Have you checked if there is any error on the page with different browsers(or with F12 developer tool)?
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] 
    Daniel Yang
    TechNet Community Support

  • My question concerns the ipad monthly calendar view.

    My question concerns the ipad monthly calendar view.  An all day event spans two days in the monthly calendar view.  Is this a bug?

    The entry is correct in day and week view.  In the month view, the event carries to the next day indicating it ends at 12:00am.

  • Monthly Calendar View (Lumia 920)

    Hello,
    I have what appears to be an odd issue with the monthly calendar view.  Out side of its to small and hard to read, but thats another issue I'll tackle later.  When looking at the monthly view it appears the text is in a different language.  Even when all the other interfaces are in english on the phone.  Here is a screen shot of the monthly calendar view directly from my phone. Screen Shot on Imgur
    When look in the daily view the information is in english and correct.  Has any one else seen or experainced this on their Lumia 920?

    Hi LouValdez,
    Welcome to the forum! 
    This feature is called Lorem Ipsum which is used to keep the appointments private while visible on the phone's monthly calendar view. The text will give you a clue that an agenda is set on a particular date.  This applies to all entries, whether from Gmail, Hotmail, and other accounts that have calendar sync feature.
    Disabling this feature is currently not supported, but you can cast your vote for the ability to turn it off at this website: Get rid of the Lorem text in the small view calendar.
    Let us know if you need further assistance. 

  • I upgraded to ios 7.1 and even after i updated to this version in the calendar view i could get a list of all of appointments and now i have half screen of calendar and then appointments is their any way to go full screen of appointmetns

    I upgraded to ios 7.1 and even after i updated to this new version in the calendar view i could get a list of all appointments and now i have done something and i get a half scrren of calendar and half screen of appointments.  is their anyway to get full screen of appointments with the 7.1 version

    Tap on any give date in the monthly view and you will be taken a list of event, the default position being the date you tapped.
    The icon just to the left of the search icon provides a master list view of events.
    http://help.apple.com/iphone/7/#/iph3d110f84

  • Month name displayed in month calendar view for previous month

    In iPad IOS 7.04 iCal month view the month name displayed at the top of the window is incorrect. The previous month name show when viewing a calendar month. Test by selecting year view and the any month from the year. The month view will be for the selected month, but the month name will be for the preceding month. The incorrect month name in month vie is also displayed if the month view is scrolled to new months.
    I observe this on my iPad II.
    Ha s anyone seen this error? Does anyone know if Apple has seen this and has a plan to correct it?

    Imhave the same exact problem on my iPad2.  It was not fixed in the recent iOS 7.1 release, even though modifications were made to the calendar app.  Very frustrating, since this is such an easily observable problem.

  • I get a "Palm desktop by access applicatio​n has stopped working" message when switching to the Month calendar view.

    I have a Z22 and am running Access version 6.2.2 on a PC with Vista.
    When I move from Day, Week or Year to Monthly view in the Calendar, I get the "Palm Desktop by Access Application has stopped working" (and then the Windows message saying they are checking for a solution, which they never seem to find).
    Does any one know 1) how to fix this and 2) what is the cause ?  Am I running old software which I need to update ?
    Thanks.
    Post relates to: Palm Z22

    Thank you, aeisha_anis for the steps to correct this problem.  I verified that I must have corrupted calendar data as the PALM Desktop does come up and work when I follow your first 4 steps and remove the data from it.  I can't, however, get through the importing step at the end of your instructions.  I've tried a few times and am afraid I may have messed up the data file as it now is only showing a datebook. mdb and a datebook.bak file under the DateBook folder I copied to my desktop, but no datebook.dab folder as it was showing before and I never did find the datebook.dat file you mentioned.  I still have all of my current calendar data on my Palm Centro but I can't get it to sync with the Palm Desktop without getting the "Palm Desktop by ACCESS Application has stopped working" message.  Do you have any ideas on how to fix this problem?  Thanks much!

  • Monthly calendar view starts with Monday?

    When viewing the calendar in the monthly tab why does the week begin with Monday? Every calendar I've seen starts the week with Sunday, and unless I'm hallucinating, I swear that Sunday started the week in the old 1.1.4 version.

    My PC did not come with Outlook Calendar. I had to load everything into my Iphone when I first got the phone and continue to manually update my calendar. The calendar on my PC is part of the Microsoft Works package and will not sync through iTunes. That maybe why the format has not changed with the various upgrades.

  • Printing Monthly Calendar - Outlook 2010

    We upgraded to office 2010. The Admin Staff usually prints our monthly calendar views to whom they report to. 
    Since the upgrade they are telling me that now the printout is smaller (changed) - and they are asking me if there is a way to print out the monthly view that looks like 2003 version. from their description by default they were able to get more information
    on the calendar then they can now. 
    I just downloaded the calendar print asst. - will this give me some option to achieve this. 
    Sorry - I know I am vague but I am working with a description given to me like "it just looks different, please fix it"
    Thanks - SJMP

    Hi,
    Outlook 2010 does not have the option to choose not to show other weeks before and after the month when you print a monthly calendar.
    You may download calendar print assistant for Outlook to do this:
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e7bab4eb-d032-46cd-908e-a7a6af2ef404&displaylang=en
    Best Regards,
    Sally Tang
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please contact [email protected]  

  • Printing Monthly Calendar with location information

    Is there a way to print a monthly calendar view and have the location data appear?

    Hi,
    Outlook 2010 does not have the option to choose not to show other weeks before and after the month when you print a monthly calendar.
    You may download calendar print assistant for Outlook to do this:
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=e7bab4eb-d032-46cd-908e-a7a6af2ef404&displaylang=en
    Best Regards,
    Sally Tang
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please contact [email protected]  

  • Can we some how display the start time for meetings on the monthly calendar

    I would like to be able to start times to apointments on the monthly calendar view and also be able to print it. Can this be done with i Cal? If not is there an add-in that will allow it?

    iCal Preferences>General and check 'Show event times in month view'.

  • Month and Week Calendar view - does not show events that span days?

    In the weekly and monthly calendar views, if you have an event, such as a show or an appointment where you will be out of town for several days, the view will only show the appointment for the first day, and not for the entire event life. For example, in MS Outlook, if you schedule an event that begins on Date 1 and ends of Date 2, spanning several days, the calendar will show the date range as blocked off. Does the calendar in CRM do the same? If so, is this a setup parameter?
    Also, with the calendar, is there a way to have the small calendar in the left panel show the days with a scheduled event to be bold or somehow indicate that there is an event on that day?
    Edited by: nsidev on Aug 11, 2009 6:38 AM

    According to CRM Support
    CRM Support wrote:the ability to block off a multi-day appointment in the Weekly and Monthly Calendar Views is not currently available on our product. However, we have submitted this functionality to our engineers as an enhancement request. At this time we are unable to provide an estimated time of implementation while this request is being analyzed and processed.
    Simple things seem hard for the Siebel guys.
    Edited by: nsidev on Aug 14, 2009 7:11 AM
    Edited by: nsidev on Aug 14, 2009 7:12 AM

  • Procedure failure after conversion of MS SQL 7

    I would like you to know anyone has had problems after conversion from MS SQL7 to Oracle 8.0.5 or Oracle 8i.
    I have tries using very simple procedure which have failed. Any information will be very helpful.
    Pl. get back to me at [email protected]
    Thanks,
    Jeevan
    null

    Hi Jeevan,
    Please mail [email protected] with details of your issues. We will work to resolve them as quickly as possible.
    The Workbench should work for you. Please remember you have a beta version of the SQL Server 7.0 software and we have fixed a lot of issues in the production version.
    The production version 1.2.5.0.0 will be available from this site shortly and also from the 8.1.6 release 2 for Windows NT CD.
    Regards
    John

  • Windows 2003 Server Guest - Could not start guest after conversion

    Hi,
    i am trying to start a converted VM (Windows Server 2003) from VMWARE. The conversion with the VM Manager finished successful. But when i want to start the VM, i get the following error;
    failed:<Exception: return=>failed:<Exception: xm create '/OVS/running_pool/94_XXX/vm.cfg'=>Error: Device 768 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected. > StackTrace: File "/opt/ovs-agent-2.2/OVSXXenVM.py", line 57, in xen_start_vm run_cmd(cmd) File "/opt/ovs-agent-2.2/OVSCommons.py", line 87, in run_cmd raise Exception('%s=>%s' % (cmd, p.childerr.read())) > StackTrace: File "/opt/ovs-agent-2.2/OVSSiteVM.py", line 84, in start_vm raise e
    I searched now for days with google but i found nothing about "xm create '/OVS/running_pool/94_XXX/vm.cfg'=>Error: Device 768 (vbd) could not be connected. /etc/xen/scripts/block failed; error detected." What is the device 768 (vbd)?
    I'm at a loss with this, can anyone help me?
    Best Regards

    Hi,
    of course. there is the content of the vm.cfg file.
    acpi = 1
    apic = 1
    builder = 'hvm'
    device_model = '/usr/lib/xen/bin/qemu-dm'
    disk = ['file:/OVS/running_pool/94_XXX/XXX.img,hda,w',
    ',hdc:cdrom,r',
    kernel = '/usr/lib/xen/boot/hvmloader'
    memory = '1024'
    name = '94_XXX'
    on_crash = 'restart'
    on_reboot = 'restart'
    pae = 1
    serial = 'pty'
    timer_mode = '1'
    uuid = 'f1e0d63f-a602-9018-4cf7-3b7515441c9d'
    vcpus = 1
    vif = ['bridge=xenbr3,mac=00:16:3E:18:90:74,type=ioemu']
    vif_other_config = []
    vnc = 1
    vncconsole = 1
    vnclisten = '0.0.0.0'
    vncpasswd = 'oracle'
    vncunused = 1
    I hope it helps. The other systems based on Linux started without problems after conversion.

Maybe you are looking for

  • My Labview Report generator is not working with 2013 excel version

    Hi All, My report generator tool kit which was developpend using labview 2011 was workign with excel 2010...after that i installed 2013 excel and the code is not working.. Do i need to enable some setting to work with excel 2013. Basically this gener

  • Posting date for CM rebates via Extended rebate processing

    Hi, we have the following scenarios for an extended rebate processing: 1> rebate agreemetn validity period  = upto Sept 30 only 2> Settlement Date = Oct 5 3> CM posting date of the rebate is Sept 30 How is it possible to make the CM posting date to t

  • Urgent: Assigning Permissions to the P6Reports Folder Error

    Hi, I have installed the primavera6 Release 8.3 in windows 2008. For configuring BIP in p6, some steps available in connecting_bi_publisher_to_P6 documnet. As per the document, while assigning permissions to p6reports folder am getting error. "oracle

  • Can't find synched music on iphone 3

    I've synched my laptop to my 3gs.  Synched everything including music.  itunes on the laptop says all the music was synched to the phone.  I can't find it on my iphone.  This ought to be simple to do and I can't find anything in the online manual.  I

  • Games on WinXP via Bootcamp

    Please post your exeriences playing games on WinXP via Bootcamp. Please post the name of game and how well it plays.