Re: python, beagle, and gmail

2012-02-24 Thread Michael Shiloh



On 02/23/2012 11:05 PM, Michael Vasiliev wrote:

On 02/24/2012 12:56 AM, Michael Shiloh wrote:

2) How can I add SSL support to my version of imaplib, or is there a
version of imaplib for ARM that supports SSL?

Am I missing a totally obvious solution?


I'm corrupted. I'm pushing my favorite distribution as a solution to
every possible development problem. This said, you seem to have python
built without ssl support. You'll have to jump through whatever hoops
Angstrom has prepared for you to recompile or replace it. On the other
hand, Gentoo has an ARM target and you can tune and strip your system to
whatever your heart desires. That, of course, means adding a few trivial
lines to a single file and some recompiling.


you are certainly right about the hoops, and as a former gentoo user 
(and still love it), your solution is very appealing.


looking into it

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: python, beagle, and gmail

2012-02-24 Thread Michael Shiloh



On 02/23/2012 10:09 PM, Baruch Siach wrote:

Hi Michael,

On Thu, Feb 23, 2012 at 02:56:58PM -0800, Michael Shiloh wrote:

2) How can I add SSL support to my version of imaplib, or is there a
version of imaplib for ARM that supports SSL?

Am I missing a totally obvious solution?


Have you considered stunnel?


yes, but sadly no stunnel for angstrom.

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


python, beagle, and gmail

2012-02-23 Thread Michael Shiloh

Short version:

I'm using Python on a Beagle Board xM to read gmail using imaplib, e.g.

 http://www.doughellmann.com/PyMOTW/imaplib/

http://stackoverflow.com/questions/6282976/download-parse-email-with-python

However, it turns out that

imaplib.IMAP4_SSL

is not present in the version of imaplib available for ARM on angstrom.

I'm not an expert in Python or Angstrom, so I turn to your collective
wisdom:

1) What's my quickest path to scriptable gmail access? Python seemed
obvious, but perhaps quicker alternatives exist.

2) How can I add SSL support to my version of imaplib, or is there a
version of imaplib for ARM that supports SSL?

Am I missing a totally obvious solution?

Thanks for any feedback,
Michael

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: python, beagle, and gmail

2012-02-23 Thread Baruch Siach
Hi Michael,

On Thu, Feb 23, 2012 at 02:56:58PM -0800, Michael Shiloh wrote:
 2) How can I add SSL support to my version of imaplib, or is there a
 version of imaplib for ARM that supports SSL?
 
 Am I missing a totally obvious solution?

Have you considered stunnel?

baruch

-- 
 http://baruch.siach.name/blog/  ~. .~   Tk Open Systems
=}ooO--U--Ooo{=
   - bar...@tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: python, beagle, and gmail

2012-02-23 Thread Michael Vasiliev

On 02/24/2012 12:56 AM, Michael Shiloh wrote:

2) How can I add SSL support to my version of imaplib, or is there a
version of imaplib for ARM that supports SSL?

Am I missing a totally obvious solution?

I'm corrupted. I'm pushing my favorite distribution as a solution to 
every possible development problem. This said, you seem to have python 
built without ssl support. You'll have to jump through whatever hoops 
Angstrom has prepared for you to recompile or replace it. On the other 
hand, Gentoo has an ARM target and you can tune and strip your system to 
whatever your heart desires. That, of course, means adding a few trivial 
lines to a single file and some recompiling.


--
MV




___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il