TodayCalendar Screenlet iCal

Conky

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 58.0%
Description:

A simple multilingual calendar screenlet with icalendar suport

by Helder Fraga aka Whise

Instalation
Put it in your /usr/local/share/screenlets and run it from there
Last changelog:

12 years ago

updated to be allignable with the sidebar screenlet

added icalendar support

added more skins

9

Brahimsalem

7 years ago

many thnx!

Report

dysonsphere

12 years ago

hi,

great looking screenlet.

I am having some problems with the ical integration:

when I click on view events nothing comes up.

I have directed TodayCalendar to the calendar.ics file in /home/myusername/.evolution/calendar/local/system/calendar.ics

any ideas why i can't see events? Am I supposed too be able to?

Thanks

Report

dysonsphere

12 years ago

ok here is some terminal output when i open TodayCalendar and then try to "View Events":

[email protected]:~$ /usr/local/share/screenlets/TodayCalendar/TodayCalendarScreenlet.py
CachingBackend: Loading instances from cache
CachingBackend: Loading <TodayCalendar1>
Creating new entry for TodayCalendarScreenlet in /tmp/screenlets/screenlets.running
Loading instances in: /home/dysonsphere/.config/Screenlets/TodayCalendar/default/
File: TodayCalendar1.ini
Creating new instance:
UPDATING SHAPE
UPDATING SHAPE
Set options in TodayCalendarScreenlet
UPDATING SHAPE
Restored instances from session 'default' ...
CachingBackend: Saving <#TodayCalendar1> :) ...
OK
Traceback (most recent call last):
File "/usr/local/share/screenlets/TodayCalendar/TodayCalendarScreenlet.py", line 108, in menuitem_callback
self.reader.readURL(self.icalpath)
File "/usr/local/share/screenlets/TodayCalendar/iCal.py", line 94, in readURL
self.readEvents(dataLines)
File "/usr/local/share/screenlets/TodayCalendar/iCal.py", line 112, in readEvents
self.events.append(self.parseEvent(eventLines))
File "/usr/local/share/screenlets/TodayCalendar/iCal.py", line 138, in parseEvent
startDate = self.parseDate(mask['DTStart'].match(line).group(1))
File "/usr/local/share/screenlets/TodayCalendar/iCal.py", line 165, in parseDate
year = int(dateStr[0:4])
ValueError: invalid literal for int() with base 10: ''

any thoughts?

Report

may15100

12 years ago

Anyway I try my best to work it out but fail~~~
Maybe more knowledges about Linux should be handle. THANKS A LOT~~~

Report

Shashwat

12 years ago

Gr8 Job keep it up:)

Report

makrom

12 years ago

I followed instructions... but

Traceback (most recent call last):
File "./TodayCalendarScreenlet.py", line 219, in <module>
screenlets.session.create_session(TodayCalendarScreenlet)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 392, in create_session
session.start()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 186, in start
sl = self.screenlet(session=self, id=self.__get_next_id())
File "./TodayCalendarScreenlet.py", line 49, in __init__
self.theme_name = "default"
File "./TodayCalendarScreenlet.py", line 60, in __setattr__
screenlets.Screenlet.__setattr__(self, name, value)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 521, in __setattr__
self.load_theme(self.get_theme_dir() + value)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 772, in load_theme
self.theme = ScreenletTheme(path)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 124, in __init__
self.loaded = self.__load_all()
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 247, in __load_all
if self.load_png(fname) == False:
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 222, in load_png
"/" + filename)
IOError: error while reading from input stream

Report

makrom

12 years ago

OK just a permissions issue...
chmod solved the problem

Bye

Report

rodgerSan

12 years ago

Very nice, I'm using it!

I hope that somebody does a nacho libre screenlet!

You can also install it in your home ~/.screenlets or with the application itself.

Report

gusanto

12 years ago

Could you please explain step by step the install process (I'm sory, I don't know what to do).Thanks

Report

C

Whise

12 years ago

whats a nacho libre

Report

rodgerSan

12 years ago

nachoooo!

http://en.wikipedia.org/wiki/Nacho_Libre

and

http://www.apple.com/downloads/dashboard/movie_tv/nacholibre.html

kinda useless.... I know....

Report

sousuke

12 years ago

I get this error when trying to run:

Traceback (most recent call last):
File "./TodayCalendarScreenlet.py", line 219, in <module>
screenlets.session.create_session(TodayCalendarScreenlet)
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 392, in create_session
session.start()
File "/usr/lib/python2.5/site-packages/screenlets/session.py", line 186, in start
sl = self.screenlet(session=self, id=self.__get_next_id())
File "./TodayCalendarScreenlet.py", line 49, in __init__
self.theme_name = "default"
File "./TodayCalendarScreenlet.py", line 60, in __setattr__
screenlets.Screenlet.__setattr__(self, name, value)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 521, in __setattr__
self.load_theme(self.get_theme_dir() + value)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 772, in load_theme
self.theme = ScreenletTheme(path)
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 124, in __init__
self.loaded = self.__load_all()
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 247, in __load_all
if self.load_png(fname) == False:
File "/usr/lib/python2.5/site-packages/screenlets/__init__.py", line 222, in load_png
"/" + filename)
IOError: error while reading from input stream

Report

C

Whise

12 years ago

you didnt install it properly

Report

12 years ago

updated to be allignable with the sidebar screenlet

added icalendar support

added more skins

12345678910
1
product-maker Brahimsalem Apr 16 2013 9 excellent
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.3
updated Jan 26 2008
added Sep 05 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0