maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   GPE Calender Alarm and Applet Questions (https://talk.maemo.org/showthread.php?t=3503)

dino 2006-11-16 16:00

GPE Calender Alarm and Applet Questions
 
I just installed GPE Calender on an OS2006.
Powered up and with the cover on the alarms cause GPE Calender to crash. I can hear the "App closing" sound and when I remove the cover the calender app is gone. If I restart the calender it crashes once again. The next attempt to open the calender works.
It also does this with the cover off.
Anyone have this working?

Another question. Can the calender applet be resized? It currently take up half of my available screen space.

Thanks!

dino 2006-11-16 16:20

I ran gpe-calender from the command line. When it crashes I get
Quote:

GLIB WARNING ** Glib-GObject - invalid unclassed type `(null)' in class cast to `EventDB'
Illegal instruction
I'm running the LCARS theme. Not sure if the LCARS is making a difference but, there was some warning messages on startup about "Unable to locate image file."

aflegg 2006-11-16 18:04

If you can reproduce the crash, please raise a bug at http://bugs.linuxtogo.org/ and hopefully it will be fixed.

Cheers,

Andrew

dino 2006-11-16 19:23

Should I open a bug @
https://maemo.org/bugzilla/
or
http://bugs.linuxtogo.org/
?

aflegg 2006-11-17 09:35

GPE Calendar is not part of Maemo - it's not provided by Nokia, or Maemo.org - it's a third party application so the third party Bugzilla should be used:

http://bugs.linuxtogo.org/

Cheers,

Andrew

Avalon 2006-11-29 18:20

Quote:

Another question. Can the calender applet be resized? It currently take up half of my available screen space.
What about this?
Any one knows how to resize the calender applet to the half size??

Thanks in advance

dino 2006-11-29 21:24

Also, has anyone got the alarms to work? I tried to file a bug report, but got some sort of error from the web site.

aflegg 2006-11-30 09:17

The only way of resizing it would be to get the code, modify it and recompile. neal (who developed the applet) said it supports resizing, if the framework allowed it - and it's up to the Hildon Application Framework to provide resizing support, rather than his individual applet.

It'd be worth checking the source to see if a configuration file can be used.

HTH,

Andrew

Avalon 2006-11-30 14:19

This applet it's too long and it's impossible to use other applets, for example, the new canora, omwheather... If it was shorter or it could use a config file to make smaller it will be more easy to use it.

And It would be great if all applet would be resizing!!

Thanks Aflegg for your answer

aflegg 2006-11-30 16:11

Looking at the source for hildon-applet.c shows the width and height are hard-coded to 400x400.

No config file - does need a recompile then.

Avalon 2006-12-11 10:42

someone can help me with de debian file? I try to compile in the scratchbox the gpe-calendar package in order to change the size of applet but the resultant package don't work because of dependencies and some other things... (it seams that the debian file in the cvs files it's for the OS2005)

thanks for the help in advance

aflegg 2006-12-11 13:40

I don't have time to look at this at the moment, but perhaps this will help:

Quote:

Originally Posted by #maemo

<Jaffa> florian_kc: any advice on
GPE Calendar rebuilding
?

<florian_kc> Jaffa: Use these:
http://linuxtogo.org/~florian/gpe-sources-maemo/

<florian_kc> Jaffa: That should include the OS2006 rules and dependency files.

<florian_kc> Jaffa: you need to have devel stuff for libgpewidget, libhandoff, libmimedir, libschedule, libeventdb, libgpevtype and libgpepimc installed.

<florian_kc> (should be a valid order)

HTH,

Andrew

Avalon 2006-12-11 15:16

Thank you very much, I'll try :-)

grau 2007-01-17 12:20

Re: GPE Calender Alarm and Applet Questions
 
So, how did it work ?

I have the same problem here ; applet is too big. If you come up with a solution, could you please share it ?

Avalon 2007-01-17 12:53

Re: GPE Calender Alarm and Applet Questions
 
Well, I install Scratchbox and I used the sources that Aflegg said, and change in the file hildon-applet.c change the size of window:

#define WIDTH 400
#define HEIGHT 100

And then recompile at the usual way and install in N770.

It worked fine.

aflegg 2007-01-17 13:20

Re: GPE Calender Alarm and Applet Questions
 
Fancy making your updated deb available? The other thing that might be worth investigating is the Maemo 3 resizable applet API, although that won't help us 770 owners (yet).

Avalon 2007-01-17 14:14

Re: GPE Calender Alarm and Applet Questions
 
1 Attachment(s)
This is my deb but it's harcoded to 400x100, for me it's enougth.
But if someone need other size it's so easy to compile in the scratchbox.

HTH

aflegg 2007-01-17 15:54

Re: GPE Calender Alarm and Applet Questions
 
Thanks, personally I could live with it a bit narrower, but I'm sure people will appreciate the smaller version.

grau 2007-01-18 00:54

Re: GPE Calender Alarm and Applet Questions
 
Thanks a lot for deb file, 400x100 would be perfect to me !

But I still have one problem... It tells me it needs some packages for installation ; I managed to find 3 of them, but there are still 3 missing I can't find.

Those are :

libgcrypt11 (>=1.2.2)
libgnutls13 (>=1.5.3-0)
libtasn1-3 (>=0.3.4)

Thanks again.

Avalon 2007-01-18 07:38

Re: GPE Calender Alarm and Applet Questions
 
The easy way, try to install the standard version of gpe-calendar (version 0.73-21) from de application manager, so you will have all dependencies and then install my deb.

It would must work.

HTH

maxilogan 2007-01-18 08:56

Re: GPE Calender Alarm and Applet Questions
 
Are there any news about the alarm problem? I have the same identical behaviour on my 770, but my use of the calendar is based a lot onto reminders that should play a sound, so for me at the moment GPE Calendar is useless...

Omar

grau 2007-01-18 11:36

Re: GPE Calender Alarm and Applet Questions
 
Quote:

Originally Posted by Avalon (Post 30279)
The easy way, try to install the standard version of gpe-calendar (version 0.73-21) from de application manager, so you will have all dependencies and then install my deb.

It would must work.

HTH

But I do have version 0.73-21 already installed... I even re-intalled it to see but it keeps asking for those packages. :confused:

Thanks anyway, I guess I'll have to figure it out by myself (I'm kind of a newbie on Linux but I'm tenacious !)

jdr93 2007-01-18 16:25

Re: GPE Calender Alarm and Applet Questions
 
same problem here trying to install the new deb file 0.73-21 to change the size of the desktop applet; complains of four missing dependencies. thanks for any advice.

john
ps: it appears the applet does not update the current month information when you add a date until you turn the 770 off then on. that would be useful thing to fix.

Avalon 2007-01-18 16:39

Re: GPE Calender Alarm and Applet Questions
 
I don't know, try to do an apt-get install of these libraries from the xterm but sure than I didn't add any lib to the application...

jdr93 2007-01-18 20:55

Re: GPE Calender Alarm and Applet Questions
 
Quote:

Originally Posted by Avalon (Post 30339)
I don't know, try to do an apt-get install of these libraries from the xterm but sure than I didn't add any lib to the application...

did you (re-)install the deb to your 770 and have no problem?
and now, for some reason, the applet for the gpe calendar is updating. i had had only the calendar loaded, but in an effort to get the applet resizing deb to install i loaded the remainder of the gpe packages, so perhaps one of them talks directly to the applet. maybe i'll take them out one at time, see what happens. one of these days.

john

Avalon 2007-01-18 23:04

Re: GPE Calender Alarm and Applet Questions
 
I have install all gpe applications and I didn't have any problem, maybe one of the others install the dependencies but I don't know which of them, sorry...

soleblaze 2007-01-24 23:46

Re: GPE Calender Alarm and Applet Questions
 
Just a little bump. Anyone have the gpe alarm working? It doesn't work on the N800, and if you close the calendar program whiel havingg the calendar applet open it causes the n800 to mostly hang (all the applets are blank white windows, and you can't open anything except the lock/unlock, turn off, etc menu with the power button)

aflegg 2007-01-25 00:01

Re: GPE Calender Alarm and Applet Questions
 
Are you using the N800 packages?

http://www.gossamer-threads.com/lists/maemo/users/13924

If so, Florian gave a Bugzilla address - worth raising those issues, I think.

soleblaze 2007-01-25 00:16

Re: GPE Calender Alarm and Applet Questions
 
yup, I put in two bugzilla reports. thanks

grau 2007-01-25 10:12

Re: GPE Calender Alarm and Applet Questions
 
It works, my bad... I added all the repositories from the application catalog and it installed without a problem.

THANKS EVERYONE ! I LOVE THIS PLACE !

aflegg 2007-01-29 11:19

Re: GPE Calender Alarm and Applet Questions
 
Quote:

Originally Posted by Avalon (Post 25916)
Any one knows how to resize the calender applet to the half size?

Since OS 2007 introduces resizable applets for those that support it, it's trivial to modify your GPE Calendar install to resize the applet at runtime. Details here:

http://www.maemopeople.org/index.php...dar_on_os_2007

HTH,

Andrew

howardcb 2007-01-29 15:17

Re: GPE Calender Alarm and Applet Questions
 
Quote:

Originally Posted by aflegg (Post 32196)
Since OS 2007 introduces resizable applets for those that support it, it's trivial to modify your GPE Calendar install to resize the applet at runtime. Details here:

http://www.maemopeople.org/index.php...dar_on_os_2007

HTH,

Andrew

I followed the instructions in the above link, and edited the gpe_calendar_home.desktop file (as root), and then did a restart. However, when I select the calendar applet from the home screen, it still shows up as 400x400, and can not be resized. If you watch carefully, the applet first shows up smaller, and then is immediately replaced by the 400 x 400 size.

I'm using an N800, with the latest OS.

Howard

aflegg 2007-01-29 16:24

Re: GPE Calender Alarm and Applet Questions
 
Dunno what to say, works for me. Did you copy & paste the instructions or type them in? Be careful about case if you typed them.

The entirety of my file is:

Code:

[Desktop Entry]
Type=Home Applet
Name=GPE Calendar
X-home-applet=libgpe-calendar-applet.so
X=20
Y=50
X-home-applet-resizable=XY
X-home-applet-minwidth=230
X-home-applet-minheight=40

HTH,

Andrew

howardcb 2007-01-29 17:54

Re: GPE Calender Alarm and Applet Questions
 
Quote:

Originally Posted by aflegg (Post 32261)
Dunno what to say, works for me. Did you copy & paste the instructions or type them in? Be careful about case if you typed them.

The entirety of my file is:

Code:

[Desktop Entry]
Type=Home Applet
Name=GPE Calendar
X-home-applet=libgpe-calendar-applet.so
X=20
Y=50
X-home-applet-resizable=XY
X-home-applet-minwidth=230
X-home-applet-minheight=40

HTH,

Andrew

My file was identical to the above listing. I tried editing some of the settings, and while I still have the file, the calendar applet is no longer listed among the applets that can be placed on the home page. Do I need to re-install the applicaton, or is there a way to restore the calendar to the applet listing?

Howard

howardcb 2007-01-29 23:14

Re: GPE Calender Alarm and Applet Questions
 
Andrew - My apologies. I guess even my tri-focals aren't good enough. I spelled "resizable" as "resizeable", and that was enough to mess things up. Your solution to resizing the applet works fine. Now we just need to add a border like the other applets, and we will be done!

Thanks again,

Howard

Avalon 2007-01-30 00:16

Re: GPE Calender Alarm and Applet Questions
 
It would be nice now to sinchronize with google-calendar.
I try to do in subscription mode to two calendars, but It crash and it say:

~ $ gpe-calendar
Updating personal
Updating profesional
The profile contains the unsupported custom attribute X-WR-CALNAME.
The profile contains the unsupported custom attribute X-WR-TIMEZONE.
The profile contains the unsupported custom attribute X-WR-CALDESC.
The profile contains the unsupported custom attribute X-LIC-LOCATION.
Segmentation fault
~ $

Any idea about which is the problem or if it is a problem of gpe-calendar or google-calendar configuration?

Thanks in advance

aflegg 2007-01-30 14:09

Re: GPE Calender Alarm and Applet Questions
 
Quote:

Originally Posted by Avalon (Post 32369)
It would be nice now to sinchronize with google-calendar.
I try to do in subscription mode to two calendars, but It crash and it say:

~ $ gpe-calendar
Updating personal
Updating profesional
The profile contains the unsupported custom attribute X-WR-CALNAME.
The profile contains the unsupported custom attribute X-WR-TIMEZONE.
The profile contains the unsupported custom attribute X-WR-CALDESC.
The profile contains the unsupported custom attribute X-LIC-LOCATION.
Segmentation fault
~ $

Any idea about which is the problem or if it is a problem of gpe-calendar or google-calendar configuration?

Not sure - but I've got exactly the same crash now.

Is "personal" a Google calendar? What about "professional"? We should raise a bug on GPE Bugzilla at: http://bugs.linuxtogo.org/

Avalon 2007-01-30 14:42

Re: GPE Calender Alarm and Applet Questions
 
Two calendars are google calendar and it happens the same if I configure only one of them... I have not idea about which is the problem

aflegg 2007-01-30 15:19

Re: GPE Calender Alarm and Applet Questions
 
So if you turn off both, it goes away? If you turn on either one, it crashes?

Avalon 2007-01-30 15:27

Re: GPE Calender Alarm and Applet Questions
 
If I CONFIGURE any one of them, gpe-calendar crash. I must delete database in order it don't crash and if I configure one of the two calendars or two at the same time it crash always. I can't turn off any one of them because it crash before.


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

vBulletin® Version 3.8.8