Toon app: Kalender

Forum about forum-provided applications on Toon

Moderators: marcelr, TerrorSource, Toonz, TheHogNL

Re: Toon app: Kalender

Postby Toonz » Wed Dec 19, 2018 7:50 am

Templar wrote:It handles the launch calendar okay but the birthday calendar just like before.

can you send me your birthday calendar?
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1298
Joined: December 2016

Re: Toon app: Kalender

Postby Toonz » Wed Dec 19, 2018 7:53 am

Toonz wrote:
mAiden wrote:App works ok with the stabdard calender in it. But when a add my own in it, it's goes wrong.

can you email me your ics file for debugging?

Just checking: had you installed the calender app manually on your Toon before installing 1.1.0?
Is it working ok after full removal ('opkg remove calendar' and removal of all calender* folders from the apps folder) plus installation of 1.1.0 again?
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1298
Joined: December 2016

Re: Toon app: Kalender

Postby mAiden » Wed Dec 19, 2018 8:00 pm

Toonz wrote:
Toonz wrote:
mAiden wrote:App works ok with the stabdard calender in it. But when a add my own in it, it's goes wrong.

can you email me your ics file for debugging?

Just checking: had you installed the calender app manually on your Toon before installing 1.1.0?
Is it working ok after full removal ('opkg remove calendar' and removal of all calender* folders from the apps folder) plus installation of 1.1.0 again?


I will mail you my ics file for debugging Toonz.

I do the following

First:

Remove Calendar with opkg remove calendar and search with WinSCP on Calendar, for the not removing files. Give me this result

Putty:

Screenshot_3.png
Screenshot_3.png (15.93 KiB) Viewed 2766 times


WinSCP:

Screenshot_1.png
Screenshot_1.png (16.24 KiB) Viewed 2766 times


This one looks good, so give Toon a restart of the qt-gui with: killall qt-gui
When Toon is back online, i install last version of the Calendar with: opkg install url-to-last-version-of-Calendar

Putty install Calendar:

Screenshot_2.png
Screenshot_2.png (38.57 KiB) Viewed 2766 times


So i did also now a qt-gui restart, because Toonstore does this too.
I first checked if the config was loaded correctly.

Config file:

Code: Select all
{"ShowNotifications":"Yes","Calendar_URL":["https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics"]}


So here it goes wrong, but I would not know where it would take that backup. As you can see, WinSCP does not find anything at all anymore.

Sorry for the long story, but just wanted to explain how I removed it and how I installed it again.
mAiden
Member
Member
 
Posts: 266
Joined: July 2017

Re: Toon app: Kalender

Postby mAiden » Wed Dec 19, 2018 8:07 pm

Remove userSettings.json, now i got the correct one.
So the default calander works perfectly, so i load my own in it:

Code: Select all
{"Calendar_URL":["https://calendar.google.com/calendar/ical/nl.dutch%23holiday%40group.v.calendar.google.com/public/basic.ics" , "https://calendar.google.com/calendar/ical/dxxxxxxxxxx%40gmail.com/private-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/basic.ics"],"ShowColors":"Yes","ShowNotifications":"No"}
mAiden
Member
Member
 
Posts: 266
Joined: July 2017

Re: Toon app: Kalender

Postby Toonz » Wed Dec 19, 2018 8:10 pm

The config is written by the installer if no one exists...
I will look into your log tomorrow when I am back home.
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1298
Joined: December 2016

Re: Toon app: Kalender

Postby Templar » Sun Dec 23, 2018 5:30 pm

Toonz wrote:
Templar wrote:It handles the launch calendar okay but the birthday calendar just like before.

can you send me your birthday calendar?


It's working now in Calendar version 1.1.0, using this format, still have to use DTEND though:

Code: Select all
BEGIN:VEVENT
DTEND;VALUE=DATE:YYYYMMDD
DTSTAMP:YYYMMDDTHHMMSSZ
DTSTART;VALUE=DATE:YYYYMMDD
RRULE:FREQ=YEARLY
SUMMARY:Birthday John Doe
UID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
END:VEVENT


Is it possible to add the year or age for recurring events like anniversaries in stead of the (*) sign?
Templar
Member
Member
 
Posts: 148
Joined: March 2011
Location: Netherlands

Re: Toon app: Kalender

Postby Toonz » Sun Dec 23, 2018 7:24 pm

Templar wrote:Is it possible to add the year or age for recurring events like anniversaries in stead of the (*) sign?

That's a good suggestion, it will be something like (j), (m), (w), (d) or so instead of (*). Will also do further tests with your calendar.
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1298
Joined: December 2016

Re: Toon app: Kalender

Postby Templar » Sun Dec 23, 2018 10:03 pm

Toonz wrote:......Will also do further tests with your calendar.


You mean trying to ditch the DTEND;VALUE=DATE:YYYYMMDD line?
Templar
Member
Member
 
Posts: 148
Joined: March 2011
Location: Netherlands

Re: Toon app: Kalender

Postby Toonz » Mon Dec 24, 2018 12:58 am

Templar wrote:
Toonz wrote:......Will also do further tests with your calendar.


You mean trying to ditch the DTEND;VALUE=DATE:YYYYMMDD line?

Yep :D
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1298
Joined: December 2016

Re: Toon app: Kalender

Postby Templar » Mon Dec 24, 2018 9:58 am

Templar wrote:
Toonz wrote:
Templar wrote:It handles the launch calendar okay but the birthday calendar just like before.

can you send me your birthday calendar?


It's working now in Calendar version 1.1.0, using this format, still have to use DTEND though:

Code: Select all
BEGIN:VEVENT
DTEND;VALUE=DATE:YYYYMMDD
DTSTAMP:YYYMMDDTHHMMSSZ
DTSTART;VALUE=DATE:YYYYMMDD
RRULE:FREQ=YEARLY
SUMMARY:Birthday John Doe
UID:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx
END:VEVENT

Is it possible to add the year or age for recurring events like anniversaries in stead of the (*) sign?


FYI, I checked RFC5545, page 55, this is the correct format:

The following is an example of the "VEVENT" calendar component used to represent an anniversary that will occur annually:
Code: Select all
       BEGIN:VEVENT
       UID:19970901T130000Z-123403@example.com
       DTSTAMP:19970901T130000Z
       DTSTART;VALUE=DATE:19971102
       SUMMARY:Our Blissful Anniversary
       TRANSP:TRANSPARENT
       CLASS:CONFIDENTIAL
       CATEGORIES:ANNIVERSARY,PERSONAL,SPECIAL OCCASION
       RRULE:FREQ=YEARLY
       END:VEVENT



TRANSP, CLASS and CATEGORIES are not mandatory.
Templar
Member
Member
 
Posts: 148
Joined: March 2011
Location: Netherlands

Re: Toon app: Kalender

Postby Toonz » Mon Dec 24, 2018 6:52 pm

Hi Templar,

at least I know now why the dates in your own file are not showing up, it is because you use just <LF> as line separator where the app is expecting <CR><LF>.
The result was that the recurrence settings where not applied.
The line DTEND doesn't need to be supplied.
Can be easily fixed in a next release but will be somewhere after X-mas.

Time for some toon-less days now ;-)

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1298
Joined: December 2016

Re: Toon app: Kalender

Postby hanplo » Tue Dec 25, 2018 1:02 am

Is there somebody who can give me a detail instruction to add my Google-calender to the Toon. I have the right url and I made contact with my Toon with my PC. Please tell me wich commands I have to give or where I can find them. Thanx
hanplo
Starting Member
Starting Member
 
Posts: 16
Joined: August 2017

Re: Toon app: Kalender

Postby mAiden » Tue Dec 25, 2018 6:43 am

hanplo wrote:Is there somebody who can give me a detail instruction to add my Google-calender to the Toon. I have the right url and I made contact with my Toon with my PC. Please tell me wich commands I have to give or where I can find them. Thanx


Read the first post. Toonz is clear enough how you can add your own ics file to Toon. If you do not already understand this basis, do not start with it anyway.
mAiden
Member
Member
 
Posts: 266
Joined: July 2017

Re: Toon app: Kalender

Postby Templar » Tue Dec 25, 2018 11:36 am

Toonz wrote:..................at least I know now why the dates in your own file are not showing up, it is because you use just <LF> as line separator where the app is expecting <CR><LF>..............


Wow, how did you came to that conclusion?
FYI: I use a Windows 10 OS with the programs WinSCP to edit userSettings.json and Notepad++ to edit the ICS files.

EDIT:
Checked the Notepad++ settings, it already used the Windows format (CR LF) for the ICS files correctly. Changing to UNIX format (LF) makes the ICS file not shown into the Kalender App.

I also use UTF-8 without BOM as character encoding.
Templar
Member
Member
 
Posts: 148
Joined: March 2011
Location: Netherlands

Re: Toon app: Kalender

Postby Toonz » Wed Dec 26, 2018 10:58 am

Templar wrote:
Toonz wrote:Wow, how did you came to that conclusion?

I copied /pasted the block of text you posted above in notepad and noticed it just contained LF
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1298
Joined: December 2016

PreviousNext

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest