[Yanel-usage] Calendar Bug
Michael Wechner
michael.wechner at wyona.com
Tue Jun 25 22:44:52 CEST 2013
Dear Darius
xmllint is the program which you should use on your command line (terminal).
(see for example http://xmlsoft.org/xmllint.html)
The '$' sign was just a hint for your command line prompt.
HTH
Michael
Am 24.06.13 18:36, schrieb Darius Miliauskas:
> Dear Michael,
>
> today I worked out with the calendar issue. thanks for the right
> questions (it was like a guide, very helpful):
>
> 1) Have configured
> http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics as
> "external/network" calendar inside your thunderbird/ligthning
>
> I started Thunderbird, then I chose File>New>Calendar.... Then I chose
> "On the network" in the window of "Create a new calendar". Put
> http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics as "Location"
> (.ics ). You can see my steps in the print screens (the 1th and the 2th).
>
> The calendar was configured!!
>
> 2) If so, then have you been able to add a new event/entry, which
> should generate a new XML file inside
> YANEL_HOME/src/realms/use-cases/yanel/data/calendar/
>
> File>New>Event...
> I added St. John Day (see the print screens (the 3th and the 4th) as
> the attachments), chose "Save and Close". Btw, the 21 of the June was
> configured as today (I solved the small problem) but I can not see a
> new XML file in the directory (the print screens (the 5th) of the
> directory is also attached).
>
> 3) If so, then have you added a new event/entry containing a special
> character like for example ü.
>
> Yes, I did. The same way as it was in the second step (the 6th and the
> 7th Screen Shot). I can not see a new XML file in the directory
> "YANEL_HOME/src/realms/use-cases/yanel/data/calendar/" but I can see
> the new XML files (it is from the 2) step as well) in the
> directory "YANEL_HOME/src/realms/use-cases/yanel/data/". The bottom
> right corner of the 8th screen shot. They are in one directory up - in
> "Data", not in "Calendar". The file of the event of ü is attached.
>
> 4) Did you check the well-formedness of this new XML file, e.g by
> using the program "xmllint" on the command line, e.g.
>
> $ cd YANEL_HOME
> $ xmllint
> src/realms/use-cases/yanel/data/calendar/26e7ee64-145e-4a9a-a35d-77dbb5aa7efc.xml
>
> Yes, I did. Ofc, I put another path - the path of my new XML files.
> Btw, they do not have the ending .xml (they are seen as document, ofc,
> I can change their ending if it is the case):
>
> $ xmllint
> src/realms/use-cases/yanel/data/2043476d-8fd7-4a89-adfd-e98428e74324.xml
> $ xmllint
> src/realms/use-cases/yanel/data/b7594997-6a29-4382-b1ed-d380eb6af7aa.xml
>
> Tried various cases (without xml, with or different directories).
>
> But I always got "-bash: $: command not found".
>
>
> BW,
>
> Darius
>
>
>
>
>
>
> 2013/6/21 Michael Wechner <michael.wechner at wyona.com
> <mailto:michael.wechner at wyona.com>>
>
> Dear Darius
>
> Specifiying the encoding inside the XML header does not solve the
> problem.
>
> It seems to me that you are still not able to really reproduce the
> problem. Let me ask you one more time:
>
> 1) Have configured
> http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics as
> "external/network" calendar inside your thunderbird/ligthning
> 2) If so, then have you been able to add a new event/entry, which
> should generate a new XML file inside
> YANEL_HOME/src/realms/use-cases/yanel/data/calendar/
> 3) If so, then have you added a new event/entry containing a
> special character like for example ü
> 4) Did you check the well-formedness of this new XML file, e.g by
> using the program "xmllint" on the command line, e.g.
>
> $ cd YANEL_HOME
> $ xmllint
> src/realms/use-cases/yanel/data/calendar/26e7ee64-145e-4a9a-a35d-77dbb5aa7efc.xml
>
> Please try to reproduce these steps.
>
> Thanks
>
> Michael
>
>
> Am 21.06.13 17:37, schrieb Darius Miliauskas:
>> Dear Michael,
>>
>> I think the first line of these files of "XML" should be like
>> given below because the problem could be related to the encoding:
>>
>> <?xml version="1.0" encoding="UTF-8" ?>
>>
>>
>> BW,
>>
>> Darius
>>
>>
>> 2013/6/21 Darius Miliauskas <dariui.miliauskui at gmail.com
>> <mailto:dariui.miliauskui at gmail.com>>
>>
>> So, basically, I need/can modify the xml files in the folder
>> "Calendar" (screenshot).
>>
>> BW,
>>
>> Darius
>>
>>
>> 2013/6/21 Darius Miliauskas <dariui.miliauskui at gmail.com
>> <mailto:dariui.miliauskui at gmail.com>>
>>
>> Yes, I installed, I have the calendar on the right.
>> Sending you the print screen.
>>
>>
>> 2013/6/21 Michael Wechner <michael.wechner at wyona.com
>> <mailto:michael.wechner at wyona.com>>
>>
>> Have you Thunderbird with Lightinig installed?
>>
>> Are you able to read the calendar with
>> Thunderbird/Ligthning?
>> (when you open Thunderbird, then you should receive a
>> tab saying "Calendar"...)
>>
>> Cheers
>>
>> Michael
>>
>> Am 21.06.13 16:53, schrieb Darius Miliauskas:
>>> what do you mean whether I can modify the calendar?
>>> do you mean that I need to change .ics file?
>>>
>>> BW,
>>>
>>> Darius
>>>
>>>
>>> 2013/6/21 Michael Wechner <michael.wechner at wyona.com
>>> <mailto:michael.wechner at wyona.com>>
>>>
>>> Dear Darius
>>>
>>> I am using the Lightning 1.4 add-on together
>>> with Thunderbird.
>>>
>>> HTH
>>>
>>> Michael
>>>
>>> Am 21.06.13 11:45, schrieb Darius Miliauskas:
>>>> Dear Michael,
>>>>
>>>> 1) I tried Rainlendar. Now I am trying Thunderbird.
>>>> 2) Not so much.
>>>> 3) Thanks I will try.
>>>>
>>>> I continue, I'll contact you afternoon.
>>>>
>>>>
>>>> 2013/6/20 Michael Wechner
>>>> <michael.wechner at wyona.com
>>>> <mailto:michael.wechner at wyona.com>>
>>>>
>>>> Dear Darius
>>>>
>>>> You don't really have to understand the ICS
>>>> format, because that's not where the
>>>> problem is.
>>>>
>>>> The problem is how the XML is being
>>>> generated, whereas see
>>>>
>>>> https://github.com/wyona/yanel/issues/51#issuecomment-19679765
>>>>
>>>> What source file are you refering to (which
>>>> you cannot open)?
>>>>
>>>> First let me ask you whether you are really
>>>> able to reproduce the problem?
>>>>
>>>> 1) Which calendar application do you use
>>>> for accessing
>>>>
>>>> http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics
>>>>
>>>> (I am using Thunderbird/Sunbird)
>>>>
>>>> 2) Are you able to modify this calendar
>>>> with your calendar application?
>>>>
>>>> 3) If so, then can you see the changes on
>>>> your file system:
>>>>
>>>> YANEL_SOURCE/src/realms/use-cases/yanel/data/calendar.ics
>>>> YANEL_SOURCE/src/realms/use-cases/yanel/data/calendar
>>>>
>>>> ?
>>>>
>>>> Thanks
>>>>
>>>> Michael
>>>>
>>>>
>>>>
>>>> Am 20.06.13 15:55, schrieb Darius Miliauskas:
>>>>> Dear Michael,
>>>>>
>>>>> thank you for the comment. So, basically,
>>>>> ".ics" is for the calendar extention.
>>>>> Still reading about .ics. These characters
>>>>> are in "encoding="UTF-8""? The source file
>>>>> I cannot open.
>>>>>
>>>>>
>>>>> Best,
>>>>>
>>>>> Darius
>>>>>
>>>>> p.s It could be the problem with nchar
>>>>> vs. nvarchar
>>>>> (http://msdn.microsoft.com/en-us/library/ms186939.aspx)
>>>>>
>>>>>
>>>>> 2013/6/19 Michael Wechner
>>>>> <michael.wechner at wyona.com
>>>>> <mailto:michael.wechner at wyona.com>>
>>>>>
>>>>> Dear Darius
>>>>>
>>>>> No, "my-realm" is just an example
>>>>> (which does not exist).
>>>>>
>>>>> But please see my comments at
>>>>>
>>>>> https://github.com/wyona/yanel/issues/51
>>>>>
>>>>> and give it at try by adding an event
>>>>> containing special characters (to
>>>>> http://127.0.0.1:8080/yanel/test/use-cases/calendar.ics)
>>>>>
>>>>> Thanks
>>>>>
>>>>> Michael
>>>>>
>>>>> Am 19.06.13 13:24, schrieb Darius
>>>>> Miliauskas:
>>>>>> Dear All,
>>>>>>
>>>>>> The issue is described here
>>>>>> https://github.com/wyona/yanel/issues/51
>>>>>> <https://github.com/wyona/yanel/issues/51>.
>>>>>> Trying to reproduce the problem.
>>>>>>
>>>>>> Is "calendar.ics" put in "my-realm"
>>>>>> because the error is about the lack
>>>>>> of the resources?
>>>>>>
>>>>>>
>>>>>> All the Best,
>>>>>>
>>>>>> Darius Miliauskas
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Yanel-usage mailing list
>>>>> Yanel-usage at wyona.com
>>>>> <mailto:Yanel-usage at wyona.com>
>>>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Yanel-usage mailing list
>>>> Yanel-usage at wyona.com
>>>> <mailto:Yanel-usage at wyona.com>
>>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Yanel-usage mailing list Yanel-usage at wyona.com
>>> <mailto:Yanel-usage at wyona.com>
>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>>>
>>>
>>>
>>>
>>
>>
>> --
>> Yanel-usage mailing list Yanel-usage at wyona.com
>> <mailto:Yanel-usage at wyona.com>
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>>
>>
>>
>>
>>
>>
>
>
> --
> Yanel-usage mailing list Yanel-usage at wyona.com
> <mailto:Yanel-usage at wyona.com>
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-usage
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wyona.org/pipermail/yanel-usage/attachments/20130625/6e95cf5a/attachment-0001.html>
More information about the Yanel-usage
mailing list