Re: [O] ical2org.py

2013-05-21 Thread Eric S Fraga
aitor aitors2...@gmail.org writes:

 Hi,

 I've implemented a little script which converts ics files to
 org-mode. You can find the script here:

 https://github.com/asoroa/ical2org.py

Aitor,

I would like to try this out but, as I am not a python user, I have no
idea how to get the two bits you indicate being necessary (icalendar,
pytz) installed.  I have installed python-dateutil and python-pycalendar
as these looked the most obvious candidates for icalendar but no
luck.  Searching the repositories for pytz draws a blank as well.

,
| $ ~/git/ical2org.py/ical2org.py 
| Traceback (most recent call last):
|   File /home/ucecesf/git/ical2org.py/ical2org.py, line 5, in module
| from icalendar import Calendar
| ImportError: No module named icalendar
| $ 
`

I am using Ubuntu.

Anyway help would be most welcome.

thanks,
eric
-- 
: Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D
: in Emacs 24.3.50.1 and Org release_8.0.2-94-g5a1400




Re: [O] ical2org.py

2013-05-21 Thread François Pinard
Eric S Fraga e.fr...@ucl.ac.uk writes:

 I am not a python user [...]

Hi, Eric.  Nobody is perfect :-).  Regards, François



Re: [O] ical2org.py

2013-05-21 Thread Guido Van Hoecke
Eric S Fraga e.fr...@ucl.ac.uk writes:

 aitor aitors2...@gmail.org writes:

 Hi,

 I've implemented a little script which converts ics files to
 org-mode. You can find the script here:

 https://github.com/asoroa/ical2org.py

 Aitor,

 I would like to try this out but, as I am not a python user, I have no
 idea how to get the two bits you indicate being necessary (icalendar,
 pytz) installed.  I have installed python-dateutil and python-pycalendar
 as these looked the most obvious candidates for icalendar but no
 luck.  Searching the repositories for pytz draws a blank as well.

I got iCalendar from https://pypi.python.org/pypi/icalendar, untarred it
and ran `sudo python setup.py install'

Got pytz from https://pypi.python.org/pypi/pytz/. It comes as an egg
file so you just run `sudo easy-install pytz-2013b-py2.7.egg'

This command should get you going:
`./ical2org.py input.ics  output.org

Hope this helps,


Guido

--
Ever since prehistoric times, wise men have tried to understand what,
exactly, make people laugh.  That's why they were called wise men.
All the other prehistoric people were out puncturing each other with
spears, and the wise men were back in the cave saying: How about:
Would you please take my wife?  No.  How about: Here is my wife, please
take her right now.  No.  How about:  Would you like to take something?
My wife is available.  No.  How about ...
-- Dave Barry, Why Humor is Funny



Re: [O] ical2org.py

2013-05-21 Thread aitor
On Tue, May 21, 2013 at 03:10:51PM +0200, Guido Van Hoecke wrote:

 I got iCalendar from https://pypi.python.org/pypi/icalendar, untarred it
 and ran `sudo python setup.py install'
 
 Got pytz from https://pypi.python.org/pypi/pytz/. It comes as an egg
 file so you just run `sudo easy-install pytz-2013b-py2.7.egg'
 
 This command should get you going:
 `./ical2org.py input.ics  output.org

Hi Guido,

thanks for the help! If the script gets enough interest I can sort out
an easy installation method for it.

best,
aitor



Re: [O] ical2org.py

2013-05-16 Thread Simon Thum

On 05/15/2013 10:01 AM, aitor wrote:

Hi,

On Wed, May 15, 2013 at 12:56:02AM +0200, Bastien wrote:

Hi Simon,

Simon Thum simon.t...@gmx.de writes:


It's going to be confusing if we add them all.


On the contrary -- I think collecting all the information about
various solutions in the same place is the only way to encourage
comparisons, which is the best way to let one solution emerge,
if needed.


indeed. Should I've known there were already so many implementations of
ical2org I wouldn't have created mine! Silly thing is, it never ocurred
to me to just search ical2org on google.
Similar here, I just checked Worg. However I had some special wishes 
unlikely to be covered, so I was prepared to hack anyway.


I recall to have lost my worg pushability, Bastien can you check? I 
would reorganize this a bit to make it clearer, and do not want to push 
something just to know.


@aitor if you have some info how your impl compares let the list know.

Cheers,

Simon



Re: [O] ical2org.py

2013-05-16 Thread Bastien
Simon Thum simon.t...@gmx.de writes:

 I recall to have lost my worg pushability, Bastien can you check?

Please send me your public key in private.

Thanks,

-- 
 Bastien



Re: [O] ical2org.py

2013-05-15 Thread aitor
Hi,

On Wed, May 15, 2013 at 12:56:02AM +0200, Bastien wrote:
 Hi Simon,
 
 Simon Thum simon.t...@gmx.de writes:
 
  It's going to be confusing if we add them all.
 
 On the contrary -- I think collecting all the information about
 various solutions in the same place is the only way to encourage
 comparisons, which is the best way to let one solution emerge,
 if needed.

indeed. Should I've known there were already so many implementations of
ical2org I wouldn't have created mine! Silly thing is, it never ocurred
to me to just search ical2org on google.


best,
aitor



Re: [O] ical2org.py

2013-05-14 Thread Bastien
aitor aitors2...@gmail.org writes:

 I've implemented a little script which converts ics files to
 org-mode. You can find the script here:

 https://github.com/asoroa/ical2org.py

Great -- would be nice to add this to Worg!

-- 
 Bastien



Re: [O] ical2org.py

2013-05-14 Thread Simon Thum

On 05/14/2013 10:37 AM, Bastien wrote:

aitor aitors2...@gmail.org writes:


I've implemented a little script which converts ics files to
org-mode. You can find the script here:

https://github.com/asoroa/ical2org.py


Great -- would be nice to add this to Worg!


Yes, more or less.

We now have (if I did not miscount someting) 3 python, 2 elisp and one 
ruby implementation of ical2org. I did not even look for those named in 
less obvious ways, although I know there is at least one.


It's going to be confusing if we add them all.

Cheers,

Simon



Re: [O] ical2org.py

2013-05-14 Thread Bastien
Hi Simon,

Simon Thum simon.t...@gmx.de writes:

 It's going to be confusing if we add them all.

On the contrary -- I think collecting all the information about
various solutions in the same place is the only way to encourage
comparisons, which is the best way to let one solution emerge,
if needed.

2 cts of course,

-- 
 Bastien