Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32681 - New gdesklets ebuild: desklet-calendar
Summary: New gdesklets ebuild: desklet-calendar
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mike Gardiner (RETIRED)
URL: http://gdesklets.gnomedesktop.org/cat...
Whiteboard:
Keywords:
: 48636 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-11-03 19:46 UTC by Doug Weimer
Modified: 2004-07-20 19:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
desklet-calendar-0.2.5.ebuild (desklet-calendar-0.2.5.ebuild,1.00 KB, text/plain)
2003-11-03 19:50 UTC, Doug Weimer
Details
added depend for pyxml (desklet-calendar-0.2.5-r1.ebuild,1.08 KB, text/plain)
2004-05-13 08:54 UTC, Rob Kruus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Weimer 2003-11-03 19:46:57 UTC
This is a nice calendar desklet that supports appointments.

Reproducible: Always
Steps to Reproduce:
Comment 1 Doug Weimer 2003-11-03 19:50:45 UTC
Created attachment 20222 [details]
desklet-calendar-0.2.5.ebuild

This ebuild depends on psisensors due to the use of the Theme sensor.
Comment 2 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2003-12-20 17:36:12 UTC
This ebuild doesn't work properly. After having installed it, I get:

[%52 ~] gdesklets /usr/share/gdesklets/Displays/Calendar/Calendar.display
gDesklets 0.24.1
Copyright 
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2003-12-20 17:36:12 UTC
This ebuild doesn't work properly. After having installed it, I get:

[%52 ~] gdesklets /usr/share/gdesklets/Displays/Calendar/Calendar.display
gDesklets 0.24.1
Copyright © 2003 Martin Grimme, Christian Meyer, Jesse Andrews

This software is licensed under the terms of the GNU GPL.

Error loading target html
Traceback (most recent call last):
  File "/usr/share/gdesklets/factory/SensorFactory.py", line 71, in create_sensor
    sensor = module.new_sensor(args)
  File "./Theme/__init__.py", line 82, in new_sensor
    def new_sensor(args): return apply(Theme, args)
  File "./Theme/__init__.py", line 31, in __init__
    for a in output[0].split():
IndexError: list index out of range
list index out of range
Could not load sensor Theme

Afterwards, I get two popups telling me that the "Theme" sensor could not be loaded (it was installed, and exists in /usr/share/gdesklets/Sensors/Theme).

The calendar actually loads and displays, but whenever I move my mouse cursor over any date, I get:

The sensor produced an error: invalid literal for int(): 
Traceback (most recent call last):
  File "/usr/share/gdesklets/display/Display.py", line 502, in __call_sensor
    sensor.send_action(callname, path, allargs)
  File "/usr/share/gdesklets/sensor/Sensor.py", line 152, in send_action
    self.call_action(call, path, args)
  File "./Calendar/__init__.py", line 175, in call_action
  File "./Calendar/__init__.py", line 190, in show_events
  File "/usr/share/gdesklets/main/admin.py", line 116, in get_geometry
    x = int(config.get(key, "x"))
ValueError: invalid literal for int(): 

So some more work is probably needed to get this working properly. 

Just my 0.02EUR.
Then, when I move my mouse cursor over the calendar itself 
Comment 4 Martin Klaffenboeck 2004-01-06 05:44:16 UTC
Please update the ebuild to the last version of calendar...

Martin 
(the editor of the desket and the sensor)
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2004-04-27 20:26:39 UTC
*** Bug 48636 has been marked as a duplicate of this bug. ***
Comment 6 Rob Kruus 2004-05-13 08:54:05 UTC
Created attachment 31340 [details]
added depend for pyxml
Comment 7 Kay Lee 2004-07-14 05:07:17 UTC
Hi, I'm using gdesklets version 0.26.1 and I tried to install desklet-calendar with ebuild file, which I've got from this site. When I emerged, I've got following errors. How can I fix it?
Thnaks in adv.

Calculating dependencies ...done!
>>> emerge (1 of 1) x11-plugins/desklet-calendar-0.2.5-r1 to /
>>> md5 src_uri ;-) calendar-0.2.5.2.tar.bz2
>>> Unpacking source...
>>> Unpacking calendar-0.2.5.2.tar.bz2 to /var/tmp/portage/desklet-calendar-0.2.5-r1/work
>>> Source unpacked.
 
>>> Install desklet-calendar-0.2.5-r1 into /var/tmp/portage/desklet-calendar-0.2.5-r1/image/ category x11-plugins
python: can't open file 'Install_Calendar_Sensor.bin'
install: cannot stat `*.display': No such file or directory
cp: cannot stat `gfx/': No such file or directory
chown: cannot access `/var/tmp/portage/desklet-calendar-0.2.5-r1/image//usr/share/gdesklets/Sensors/Calendar': No such file or directory
man:
prepallstrip:
strip:
>>> Completed installing into /var/tmp/portage/desklet-calendar-0.2.5-r1/image/
Comment 8 Mike Gardiner (RETIRED) gentoo-dev 2004-07-15 02:03:17 UTC
This has been added now, thanks for your work and help on this bug guys.

Please test.
Comment 9 Stefano Torresi 2004-07-20 11:53:43 UTC
i can't load it. i have the usual gdesklet error "error loading the sensor, maybe it's not installed" and then "cannot load the display".

using gdesklets-core 0.26.2 and desklet-psisensors-20040420
Comment 10 Mike Gardiner (RETIRED) gentoo-dev 2004-07-20 19:15:15 UTC
please post the output of:

qpkg -I -nc -v desklet-calendar
qpkg -I -nc -v gdesklets-core

and run: gdesklets /usr/share/gdesklets/Displays/Calendar/Calendar.display in a terminal (once gdesklets is running) and post any output from there.