maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] [Announce] Qalendar -- a replacement for the default calendar (https://talk.maemo.org/showthread.php?t=90820)

TomJ 2014-04-25 20:15

Re: [Announce][Fremantle] Qalendar 0.9 -- a clone of the default calendar
 
Quote:

Originally Posted by sixwheeledbeast (Post 1422732)
I guess you still need to "killall qalendar" after upgrading, if you use the --background method.
TBH I have gotten into the habit of rebooting if I update Qalendar.
No issues to report here on non-thumb BTW

Re-edit --background into the relevant file. New Xterm and:

Code:

~ $ root
Nokia-N900:~# killall qalendar
killall: qalendar: no process killed

Try to launch from Desktop Calendar widget - qalendar closes ere even a second has passed.

CSSU Version 21.2011.38-1Tmsemo9.1+thumb0
Kernel 2.6.28.10-power52

nokiabot 2014-04-25 20:28

Re: [Announce][Fremantle] Qalendar -- a replacement for the default calendar
 
How to add indian holidays to calander ? Maybe it will be good if has holidays by default :)

TomJ 2014-04-25 20:45

Re: [Announce][Fremantle] Qalendar -- a replacement for the default calendar
 
Quote:

Originally Posted by nokiabot (Post 1422772)
How to add indian holidays to calander ? Maybe it will be good if has holidays by default :)

Read the first wikipage linked to in my sig; the mozilla page linked to therein has Indian holidays. If the download dialogue doesn't give you the option of opening with calendar (which still doesn't seem to happen with qalendar for me), save the file, then open it from File Manager, and follow the remaining wiki instructions.

gidzzz 2014-04-26 13:07

Re: [Announce][Fremantle] Qalendar 0.9 -- a clone of the default calendar
 
Quote:

Originally Posted by TomJ (Post 1422699)
When I try to launch the latest thumb version frim the stock calendar icon or from a widget it starts up and closes in less than a second. Using the Qalendar icon, it stays running, If I remove --background from the dbus call file, it works as expected but this reintroduces the unable to load ics file issue discussed upthread. With the --backgound switch reintroduced, tapping an ics file in the file manager opens the select calendar dialogue, but this too shuts before you can do anything with it.

You may be able to get some output from Qalendar by killing the instance in the background and quickly starting a new one from the terminal, before D-Bus beats you to it (but from your other post it looks like Qalendar was crashing too much and it already gave up).
Code:

killall qalendar; qalendar --background
My guess is that it has something to do with birthday calendar. Do you have one, and if so, can you delete it?


Quote:

Originally Posted by sixwheeledbeast (Post 1422732)
I guess you still need to "killall qalendar" after upgrading, if you use the --background method.
TBH I have gotten into the habit of rebooting if I update Qalendar.
No issues to report here on non-thumb BTW

Upgrade from 0.7.1 was the last one which required manual restart. Since then automatic restart should occur immediately after upgrading or after closing Qalendar window if it is open.

TomJ 2014-04-26 19:21

Re: [Announce][Fremantle] Qalendar 0.9 -- a clone of the default calendar
 
Quote:

Originally Posted by gidzzz (Post 1422895)

My guess is that it has something to do with birthday calendar. Do you have one, and if so, can you delete it?

Yes and yes. Qalendar starts fine from stock calendar icon. Restore backed up birthday calendar, problems resume.

gidzzz 2014-04-30 22:49

Re: [Announce][Fremantle] Qalendar 0.9 -- a clone of the default calendar
 
1 Attachment(s)
Quote:

Originally Posted by TomJ (Post 1422925)
Restore backed up birthday calendar, problems resume.

What happens if you create a fresh birthday calendar using Qalendar instead of restoring the old one?

I have reviewed the code for managing birthdays, but I still have no idea what is causing the crash. In order to attemp fixing it, I am going to need at least one of theese:
  • A way to reproduce the crash. You would have to investigate on your own to pin down the entry in the address book responsible for it (assuming that one contact or a certain group of contacts is causing this; there may be other possible scenarios). Or, if you do not mind sending me your whole calendar, I could try your "/home/user/.calendar/calendardb" on my phone (but that has a chance to be useful only if Qalendar crashes exclusively on the calendar created by the stock application).
  • A backtrace. If you do not know how to get one, this post has some hints: http://talk.maemo.org/showpost.php?p...2&postcount=97.
  • Output from the attached version of Qalendar started in background mode (see my previous post) and a few other versions that I am going to post after receiving the output from you.

The first option would be the best, but other may also suffice,

sHaggY_caT 2014-04-30 22:56

Re: [Announce][Fremantle] Qalendar -- a replacement for the default calendar
 
gidzzz, thank you very much, it works. Can I ask about feature request?

Can you remove set time of tasks, or add feature to don't set time of task?
Please don't broken sync with sync evolution, if you add this feature in new release.

TomJ 2014-05-01 15:37

Re: [Announce][Fremantle] Qalendar 0.9 -- a clone of the default calendar
 
Quote:

Originally Posted by gidzzz (Post 1423571)
What happens if you create a fresh birthday calendar using Qalendar instead of restoring the old one?

I opened Qalendar using it's own icon and deleted the B'day calendar. Closed it and reopened using the Calendar icon, which has the qalendar --background switch enabled. Created a new birthday calendar, and Qalendar crashed immediately Reopened Qalendar using its own icon and couldn't see any b'day entries. Went into settings-edit calendars and saw the new b'day calendar had no entries. Deleted it and tried re-creating; still no entries.

Quote:

I have reviewed the code for managing birthdays, but I still have no idea what is causing the crash. In order to attemp fixing it, I am going to need at least one of theese:
  • A way to reproduce the crash. You would have to investigate on your own to pin down the entry in the address book responsible for it (assuming that one contact or a certain group of contacts is causing this; there may be other possible scenarios). Or, if you do not mind sending me your whole calendar, I could try your "/home/user/.calendar/calendardb" on my phone (but that has a chance to be useful only if Qalendar crashes exclusively on the calendar created by the stock application).
  • A backtrace. If you do not know how to get one, this post has some hints: http://talk.maemo.org/showpost.php?p...2&postcount=97.
  • Output from the attached version of Qalendar started in background mode (see my previous post) and a few other versions that I am going to post after receiving the output from you.

The first option would be the best, but other may also suffice,
Unless I'm being daft, PMs don't allow files to be attached. PM me your email address and I'll send you the calendardb.

gidzzz 2014-05-01 19:39

Re: [Announce][Fremantle] Qalendar -- a replacement for the default calendar
 
Quote:

Originally Posted by sHaggY_caT (Post 1423573)
Can you remove set time of tasks, or add feature to don't set time of task?
Please don't broken sync with sync evolution, if you add this feature in new release.

It has been discussed a bit in this thread before. The backend does not support tasks with undefined date, so the closest you can get is to set it to year 2038. It would be possible to display such tasks in Qalendar in a special way, but this is nonstandard and other applications may interpret it differently.


Quote:

Originally Posted by TomJ (Post 1423696)
PM me your email address and I'll send you the calendardb.

Considering that Qalendar crashes regardless of which application initializes the birthday calendar, I do not think this file will allow me to easily reproduce the crash, but there still may be some hints hidden in birthday events created by the stock calendar. I sent you my address.

gidzzz 2014-05-18 13:31

Re: [Announce][Fremantle] Qalendar -- a replacement for the default calendar
 
TomJ, I went through your birthdays, but there was nothing out of ordinary. I even added over 150 contacts to my address book to check if it has anything to do with numbers, but Qalendar did not crash, so I still do not have enough info to fix that bug.

I was hoping to quickly track that bug down and release a fix + updated translations, but under these circumstances I decided to not wait and release Qalendar 0.9.1 now (just uploaded it to the autobuilder), which is only about translations.


All times are GMT. The time now is 05:04.

vBulletin® Version 3.8.8