Page 12 of 44 FirstFirst ... 2101112131422 ... LastLast
Results 111 to 120 of 438

Thread: Conky SSL Email Python Script

  1. #111
    Join Date
    Oct 2008
    Beans
    18

    Re: Conky SSL Email Python Script

    Actually i figured out what it was. Apparently on Gentoo...the PYTHONPATH is already being used for portage so i added a 2 on to the end of the conky stuff so its PYTHONPATH2 and everything seems to be working great now!

  2. #112
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky SSL Email Python Script

    Quote Originally Posted by jtp755 View Post
    Actually i figured out what it was. Apparently on Gentoo...the PYTHONPATH is already being used for portage so i added a 2 on to the end of the conky stuff so its PYTHONPATH2 and everything seems to be working great now!
    I should be able to loose the "$PYTHONPATH /usr/bin/python" as this should be set already in an OS...

    I'll have a play once intrepid is running alright for me

  3. #113
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky SSL Email Python Script

    UPDATE

    I've updated the script and added a folder option for imap emails, so a folder can be specified, if not set the default "Inbox" is used.

    The first post is updated and the package is available via apt.

    Chimo

  4. #114
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky SSL Email Python Script

    UPDATE

    I've published a new package labelled for Intrepid, starting at version 2.0.

    The first post has been updated, and the package is available via apt.

    To use the new intrepid "labelled" packages via apt, changes to your sources.list are needed. This:

    Code:
    deb http://ppa.launchpad.net/m-buck/ubuntu hardy main
    deb-src http://ppa.launchpad.net/m-buck/ubuntu hardy main
    Needs to become this:

    Code:
    deb http://ppa.launchpad.net/m-buck/ubuntu intrepid main
    deb-src http://ppa.launchpad.net/m-buck/ubuntu intrepid main
    Currently either hardy or intrepid packages will work with either version of ubuntu.

    However going forwards there are no guarantees that packages will continue to work with hardy, development may introduce intrepid specific dependencies. All future revisions will only be available for intrepid.

  5. #115
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky SSL Email Python Script

    UPDATE

    Updated the script as follows:

    • Updated code to cope with varied message date formats, no one seems to follow the rfcs!
    • Added --errorlog and --infolog options to log data to a file
    • Refactored and tidied up
    • Updated README


    The first post is updated and the apt package will be available shortly

  6. #116
    Join Date
    Sep 2008
    Beans
    40
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Conky SSL Email Python Script

    What do I have wrong here, getting error 'Invalid credentials'

    Code:
    ${voffset -8}${font Martin Vogel's Symbols:size=19}B${font}  Gmail: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 1800 conkyEmail --servertype=IMAP --servername=imap.gmail.com --username=??? --password=??? --folder=Inbox --ssl}${font} New email(s)
    ${endif}${else}
    (I do have the user name and pass filled in on my end.)

  7. #117
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky SSL Email Python Script

    Quote Originally Posted by Zachx65 View Post
    What do I have wrong here, getting error 'Invalid credentials'

    Code:
    ${voffset -8}${font Martin Vogel's Symbols:size=19}B${font}  Gmail: ${alignr}${font DejaVu Sans:style=Bold:size=8}${execi 1800 conkyEmail --servertype=IMAP --servername=imap.gmail.com --username=??? --password=??? --folder=Inbox --ssl}${font} New email(s)
    ${endif}${else}
    (I do have the user name and pass filled in on my end.)
    I think the error says it all. Have you included the full gmail email address as the username, I think google expect it. i.e.

    --username=someone@gmail.com or --username=soneone@googlemail.com

  8. #118
    Join Date
    Feb 2008
    Location
    N of Bruce W of Kaivalagi
    Beans
    185
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Conky SSL Email Python Script

    Quote Originally Posted by kaivalagi View Post
    I think the error says it all. Have you included the full gmail email address as the username, I think google expect it. i.e.

    --username=someone@gmail.com or --username=soneone@googlemail.com
    or perhaps you have not enabled IMAP from the Gmail settings screen?
    hippyrandall.com | This is the first age that's paid much attention to the future, which is alittle ironic since we may not have one. -- Arthur Clarke

  9. #119
    Join Date
    Sep 2008
    Beans
    40
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Conky SSL Email Python Script

    Thanks for the replies. My problem was I had only entered the credentials once, not the three times the conkyrc I'm using called for...

  10. #120
    Join Date
    Nov 2007
    Location
    USA-ish
    Beans
    206
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Conky SSL Email Python Script

    Ok, so after cleaning up and stripping down my conky, I've decided to add a few more items to it. After looking through the conky variables list, I noticed the "new_mails" variable. So I code it up and it works great, EXCEPT of course that I have to run my mail client before "new_mails" knows there's mail.

    Then I find this thread, and go through the install. It tells me I have 33 mails, which is puzzling, until I actually READ the documentation and discover that it sees all the emails on a POP account and not just the new ones.

    I sure would get a lot more sleep if I would bother to READ the documentation at the beginning and not the end!
    Desktop: Quantal on Core2 Duo E8500/Asus P5Q
    Laptop: Precise on S76 Pangolin

Page 12 of 44 FirstFirst ... 2101112131422 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •