Toon app: Kalender

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

Post Reply
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Kalender

Post by Toonz »

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
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Kalender

Post by Toonz »

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
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon app: Kalender

Post by mAiden »

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 6462 times
WinSCP:
Screenshot_1.png
Screenshot_1.png (16.24 KiB) Viewed 6462 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 6462 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.
Member of the Toon Software Collective
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon app: Kalender

Post by mAiden »

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"}
Member of the Toon Software Collective
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Kalender

Post by Toonz »

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
Templar
Member
Member
Posts: 178
Joined: Fri Mar 18, 2011 8:49 pm
Location: Netherlands

Re: Toon app: Kalender

Post by Templar »

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?
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Kalender

Post by Toonz »

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
Templar
Member
Member
Posts: 178
Joined: Fri Mar 18, 2011 8:49 pm
Location: Netherlands

Re: Toon app: Kalender

Post by Templar »

Toonz wrote:......Will also do further tests with your calendar.
You mean trying to ditch the DTEND;VALUE=DATE:YYYYMMDD line?
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Kalender

Post by Toonz »

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
Templar
Member
Member
Posts: 178
Joined: Fri Mar 18, 2011 8:49 pm
Location: Netherlands

Re: Toon app: Kalender

Post by Templar »

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.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Kalender

Post by Toonz »

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
hanplo
Starting Member
Starting Member
Posts: 20
Joined: Tue Aug 29, 2017 1:12 pm

Re: Toon app: Kalender

Post by hanplo »

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
mAiden
Member
Member
Posts: 330
Joined: Mon Jul 10, 2017 10:22 am

Re: Toon app: Kalender

Post by mAiden »

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.
Member of the Toon Software Collective
Templar
Member
Member
Posts: 178
Joined: Fri Mar 18, 2011 8:49 pm
Location: Netherlands

Re: Toon app: Kalender

Post by Templar »

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.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Kalender

Post by Toonz »

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
Post Reply

Return to “Toon Apps”