Page 46 of 47 FirstFirst ... 3644454647 LastLast
Results 451 to 460 of 467

Thread: Conky Google Calendar Python Script

  1. #451
    Join Date
    Jun 2011
    Beans
    8

    Re: Conky Google Calendar Python Script

    i am very new to this conky script stuff and to linux in general. i am unable to get the calendar to display anything in conky. i honestly have no idea how to fix this. let me know what i need to post in order to get help.

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

    Re: Conky Google Calendar Python Script

    Have you looked at the example files in /usr/share/conkygooglecalendar/example

    If you copy those somewhere else and edit them to have your login credentials that will get you started...run this once they're edited to get something on the script:

    Code:
    conky -c /your/new/path/to/conkyrc
    Hope that helps

  3. #453
    Join Date
    Oct 2005
    Location
    Szeged Hungary
    Beans
    54
    Distro
    Lubuntu Development Release

    Re: Conky Google Calendar Python Script

    Hi Hi

    This script rocks - Thanks

    My only problem is that I share a calendar which use accents (like é, Ó ) and hence I get the unicode error

    Code:
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
    Is there a way to replace these characters with a "naked" vowel?

  4. #454
    Join Date
    Feb 2010
    Beans
    Hidden!

    Re: Conky Google Calendar Python Script

    Quote Originally Posted by vancheese View Post
    Hi Hi

    This script rocks - Thanks

    My only problem is that I share a calendar which use accents (like é, Ó ) and hence I get the unicode error

    Code:
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
    Is there a way to replace these characters with a "naked" vowel?
    Conky can display those. Do you have
    Code:
    override_utf8_locale yes
    above TEXT?

    Code:
    xftfont DejaVu Sans Mono:size=15
    override_utf8_locale yes
    TEXT
    My only problem is that I share a calendar
    which use accents (like é, Ó ) and hence I
    get the unicode error
    
    Conky is capable of displaying those and
    more:
    
     ñ  ü  ò  ¿  ¡ ù
    Attached Images Attached Images

  5. #455
    Join Date
    Oct 2005
    Location
    Szeged Hungary
    Beans
    54
    Distro
    Lubuntu Development Release

    Re: Conky Google Calendar Python Script

    Yes, my .conkyrc is just like that and it can produce the appropriate characters in the TEXT section - the corresponding error is ...

    Code:
    ERROR: getOutputFromTemplate:Unexpected error:Traceback (most recent call last):
        File "/usr/share/conkygooglecalendar/conkyGoogleCalendar.py", line 579, in getOutputFromTemplate
                            output = output.replace("[duration]",duration)
                                                                          UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)

  6. #456
    Join Date
    May 2010
    Beans
    4

    Re: Conky Google Calendar Python Script

    Kaivalagi your script works very nice, but some times I'm offline and this don't work in this mode, is there any way to pass the output of the script to a text file with the same format like on the terminal and by this way always have the google calendar on the screen.

    I wish this because I use GC like to-do list.


    *****I did it, I could go out of google calendar to a file using cat and sed with a shell script, thanks anyway.
    Last edited by dunnemann; August 18th, 2011 at 05:34 AM. Reason: I did it

  7. #457
    Join Date
    Aug 2011
    Beans
    1

    Re: Conky Google Calendar Python Script

    Quote Originally Posted by vancheese View Post
    Yes, my .conkyrc is just like that and it can produce the appropriate characters in the TEXT section - the corresponding error is ...

    Code:
    ERROR: getOutputFromTemplate:Unexpected error:Traceback (most recent call last):
        File "/usr/share/conkygooglecalendar/conkyGoogleCalendar.py", line 579, in getOutputFromTemplate
                            output = output.replace("[duration]",duration)
                                                                          UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 3: ordinal not in range(128)
    I have the same error.

    Im from Brazil and every week in saturday (in brazilian write sábado) i recive that error and i put override_utf8_locale yes
    ando i use this code:



    TEXT

    ${iconv_start UTF-8 ISO_8859-1}
    ${execpi 1800 conkyGoogleCalendar --username=email --password=password --daysahead=30 --dateformat="%A %d %b, %y"
    ${iconv_stop}

    Thanks for help

  8. #458
    Join Date
    Aug 2008
    Beans
    5

    Re: Conky Google Calendar Python Script

    ERROR: getOutputFromTemplate:Unexpected error:Traceback (most recent call last):
    File "/usr/share/conkygooglecalendar/conkyGoogleCalendar.py", line 579, in getOutputFromTemplate
    output = output.replace("[duration]",duration)
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)


    Este erro acontece se existirem eventos no sabado (em Portugal e Brasil Sáb).
    A solução com o iconv mantém o erro.
    Se não existirem eventos no sábado não apresenta qualquer erro.

    Português>Inglês

    This error happens if there are events on Saturday (in Portugal and Brazil Sáb).
    With iconv keeps the error.
    If there are no events on Saturday shows no error.

    Any Help?
    Last edited by Walkerpt; November 10th, 2011 at 10:43 AM.

  9. #459
    Join Date
    Nov 2011
    Beans
    1

    Re: Conky Google Calendar Python Script

    Although it is something a few years ago, but still very help stick.

  10. #460
    Join Date
    Aug 2008
    Beans
    5

    Re: Conky Google Calendar Python Script

    Um esclarecimento.
    Li todo este forum tentei as varias soluções mas nenhuma resolveu o problema.
    No entanto para que se saiba o script roda no meu Uuntu 11.10 (unity).
    E ao Sábado é sempre feriado .

    Português > Inglês

    A clarification.
    I read all this forum tried the various solutions but none solved the problem.
    However, for knowing the script runs on my Uuntu 11.10 (unity).
    And Saturday is always holiday .

Page 46 of 47 FirstFirst ... 3644454647 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
  •