Reply
Thread Tools
yoyoek1's Avatar
Posts: 44 | Thanked: 62 times | Joined on Aug 2010 @ Polska
#1
Hi all

I'm writing a tiny script in python for automatic import webcal's / icals from internet.

This application lets you to add / edit / delete web links to ical files.
After entering these links, you can update your local (phone) calendar by one click.


juuupii package on repo Extras-devel
package name pywebcalai

homepage: https://garage.maemo.org/projects/pywebcalai/

# 2011 05 31
thx to John added support for calendars with no name (name is taken from http filename), and I added support for recurring events. You can now import events from calendar.yahoo.com with this version

# 2010 10 18
add webcal:// address handler

# 2010 09 30
add depends
new file " run-standalone.sh /opt/pywebcalai/pywebcalai_no_gui.sh " for no gui use

# 2010 09 25
on request:
- add support for localfile system ical
- add command line (no gui import)

# 2010 09 13
more resistant to convert text to date

# 2010 09 08
adding the missing required library

# 2010 08 30
- some gui

first run


configuration add/edit/del


adding some webcal


ready to import in 10, 9, 8, ....


tiny info after import



in my call


imported event

# 2010 08 28
- no icalendar exception handler
- no internet connection handler
- status dialog
- fix configuration list
- speed up all process ~x100

sorry for my mistakes but my English level is quite low

Last edited by yoyoek1; 2011-05-31 at 05:36. Reason: new version (20110531)
 

The Following 10 Users Say Thank You to yoyoek1 For This Useful Post:
yoyoek1's Avatar
Posts: 44 | Thanked: 62 times | Joined on Aug 2010 @ Polska
#2
testers / feedback welcome
 
Posts: 20 | Thanked: 19 times | Joined on Nov 2009
#3
Hello,

The program 'starts' (black screen, rotatating icon in titlebar) but then it quits.

It doesnt work at all on my n900.

I am looking for a way to to download an .ics file and import it every week on monday. Is that possible with your program
 
yoyoek1's Avatar
Posts: 44 | Thanked: 62 times | Joined on Aug 2010 @ Polska
#4
thanks for the feedback!
All saving innovations described in the first post.

If you update an application does not run refill after every information, please calls xterm command

# run-standalone.sh /opt/pywebcalai/pywebcalai.sh
 
jukey's Avatar
Posts: 246 | Thanked: 204 times | Joined on Jun 2007 @ Potsdam (Germany)
#5
Hi I would love to use your application. It sounds great but there seem to be some problems.

1. How I can delete an entry?
2. Do you have an iCal-example I can use to try it out?
3. Will there be a possibility to select a calendar for importing the data?
4. I always get the error message "google.com connection error" when I try to use this ical: http://www.google.com/calendar/ical/...blic/basic.ics

Thanks jukey
__________________
-> Join the SailfishOS Meetup Berlin - every first Monday a month <-

Me on twitter

Last edited by jukey; 2010-09-09 at 09:42.
 
yoyoek1's Avatar
Posts: 44 | Thanked: 62 times | Joined on Aug 2010 @ Polska
#6
Originally Posted by jukey View Post
1. How I can delete an entry?
start app > preferences > select webcal > edit > and there will bee delete button

Originally Posted by jukey View Post
2. Do you have an iCal-example I can use to try it out?
is that goal to work every ical.
tested. from version 10.09.13 yours example ical is working

Originally Posted by jukey View Post
3. Will there be a possibility to select a calendar for importing the data?
Describe more feature

Originally Posted by jukey View Post
4. I always get the error message "google.com connection error" when I try to use this ical: http://www.google.com/calendar/ical/...blic/basic.ics
working,
maybe some typo?
remember not to write at the beginning http://
You can manually add an entry ~ /. pywebcal.config
 

The Following User Says Thank You to yoyoek1 For This Useful Post:
jukey's Avatar
Posts: 246 | Thanked: 204 times | Joined on Jun 2007 @ Potsdam (Germany)
#7
A few days ago everything worked fine but now I'm unable to start pywebcalai:
Code:
~ $ run-standalone.sh /opt/pywebcalai/pywebcalai.sh 
Traceback (most recent call last):
  File "./pywebcalai.py", line 76, in <module>
    import gtk.glade
ImportError: No module named glade
Do you know how to solve the problem?
__________________
-> Join the SailfishOS Meetup Berlin - every first Monday a month <-

Me on twitter
 
yoyoek1's Avatar
Posts: 44 | Thanked: 62 times | Joined on Aug 2010 @ Polska
#8
Originally Posted by jukey View Post
A few days ago everything worked fine but now I'm unable to start pywebcalai:
Code:
~ $ run-standalone.sh /opt/pywebcalai/pywebcalai.sh 
Traceback (most recent call last):
  File "./pywebcalai.py", line 76, in <module>
    import gtk.glade
ImportError: No module named glade
Do you know how to solve the problem?
This error indicates that there is something wrong with pyglade.
is not there
pyglade is in python-gtk, I think so
 
Posts: 161 | Thanked: 85 times | Joined on Feb 2010
#9
hi yoyoek1,
your app is almost what I was looking for: I've just wrote an app that generate vcal. I would like to somehow pipe my output to your app and exploit your sync script. Should you adapt it for receving also local ics files? We can speak in private for more details
thanks!
 
yoyoek1's Avatar
Posts: 44 | Thanked: 62 times | Joined on Aug 2010 @ Polska
#10
Originally Posted by erniadeldesktop View Post
hi yoyoek1,
your app is almost what I was looking for: I've just wrote an app that generate vcal. I would like to somehow pipe my output to your app and exploit your sync script. Should you adapt it for receving also local ics files? We can speak in private for more details
thanks!
ok
When I find a moment I will try to implement:
- import start from command line (good for cron start)
- possibility to work on http and local file

something else?
 

The Following 2 Users Say Thank You to yoyoek1 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 00:53.