Page 4 of 20 FirstFirst ... 2345614 ... LastLast
Results 31 to 40 of 195

Thread: Conky Pidgin Python Script

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

    Re: Conky Pidgin Python Script

    Quote Originally Posted by cl0ckwork View Post
    when running it through the terminal, i get no errors but it doesnt display buddies as mobile.
    -availableonly option works, shows only those online and not away
    buddies show up as away when they are away

    all status text options work accordingly (with the exception to being mobile)
    i dont have too many friends on MSN or Yahoo etc. so i could not tell if the invisible option was working

    when running the script in conky, starting through the command line gives me this error
    Code:
    Traceback (most recent call last):
      File "/home/clockwork/conkyPidgin.py", line 280, in writeOutput
        print output.encode("utf-8")
    IOError: [Errno 32] Broken pipe
    ERROR: Unknown error when calling writeOutput:[Errno 32] Broken pipe
    it seems to be running fine on my desktop other than that.

    oh. and i realized i need a longer desktop.... my conky is running off the bottom with my list of buddies!!

    but using the available only option did cut back on the list quite a bit

    thank you
    Can you run the command in the terminal with the verbose option, the output from that should tell me what status text is used for people in "mobile" mode

    e.g.

    python /home/clockwork/conkyPidgin.py -v

  2. #32
    Join Date
    Jan 2008
    Beans
    150
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Conky Pidgin Python Script

    ran it as verbose, just reports the buddy as available
    Intel Pentium IV Northwood@2.4 GHz, 1 GiB RAM, 22" Samsung Monitor Ubuntu 9.04 Jaunty Jackalope
    AMD Turion 64 X2 Mobile technology @2.2GHz, 2 GiB RAM, 320 GiB HDD Windows 7 Ultimate RC1

    please remember to thank those that helped you

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

    Re: Conky Pidgin Python Script

    Quote Originally Posted by cl0ckwork View Post
    ran it as verbose, just reports the buddy as available
    You should have something like below output when in verbose mode:

    Code:
    INFO: Adding IM data for buddy 'Michael', status type 'offline' -> status text 'Offline'
    I need to see that for a buddy with the "mobile" state, to understand what status type the "mobile" mode is actually interpreted as...

    The equivalent to the "status type 'offline'" part above

  4. #34
    Join Date
    Jan 2008
    Beans
    150
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Conky Pidgin Python Script

    this is all it shows for a currently mobile buddy
    Code:
    INFO: Found status type 'available' for buddy 'sara', using the status text 'Available'
    Intel Pentium IV Northwood@2.4 GHz, 1 GiB RAM, 22" Samsung Monitor Ubuntu 9.04 Jaunty Jackalope
    AMD Turion 64 X2 Mobile technology @2.2GHz, 2 GiB RAM, 320 GiB HDD Windows 7 Ultimate RC1

    please remember to thank those that helped you

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

    Re: Conky Pidgin Python Script

    Quote Originally Posted by cl0ckwork View Post
    this is all it shows for a currently mobile buddy
    Code:
    INFO: Found status type 'available' for buddy 'sara', using the status text 'Available'
    Not what I expected at all, pidgin has a status type for mobile, maybe it's not being used in these situations...

    Not much I can do, unless I have a buddy which has a mobile state, then maybe I can debug the API and set if anything will help.

  6. #36
    Join Date
    Jan 2008
    Beans
    150
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Conky Pidgin Python Script

    i would offer to help but im not too hot with python...
    Intel Pentium IV Northwood@2.4 GHz, 1 GiB RAM, 22" Samsung Monitor Ubuntu 9.04 Jaunty Jackalope
    AMD Turion 64 X2 Mobile technology @2.2GHz, 2 GiB RAM, 320 GiB HDD Windows 7 Ultimate RC1

    please remember to thank those that helped you

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

    Re: Conky Pidgin Python Script

    UPDATE

    Updated the script, the following has been done:

    • Updated to now handle available, unavailable, invisible, away and mobile statuses. All have their own text options for output.
    • Added --availableonly option to only show available buddies
    • Updated example to use new status formatting options
    • Updated README


    Note: Any existing use of the --onlinetext / -O option will break, new options should be used.

    The options for setting the text output are now:

    Code:
      -C TEXT, --chattingtext=TEXT
                            [default: Chatting] Text to use for chatting status
                            output
      -A TEXT, --availabletext=TEXT
                            [default: Available] Text to use for available status
                            output
      -U TEXT, --unavailabletext=TEXT
                            [default: Unavailable] Text to use for unavailable
                            status output
      -N TEXT, --invisibletext=TEXT
                            [default: Invisible] Text to use for invisible status
                            output
      -W TEXT, --awaytext=TEXT
                            [default: Away] Text to use for away status output
      -M TEXT, --mobiletext=TEXT
                            [default: Mobile] Text to use for mobile status output
      -F TEXT, --offlinetext=TEXT
                            [default: Offline] Text to use for offline status
                            output
    The first post has been updated and the apt package is available too.

    Chimo
    Last edited by kaivalagi; November 13th, 2008 at 09:02 PM.

  8. #38
    Join Date
    Sep 2008
    Beans
    128
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Conky Pidgin Python Script

    hello,
    when i type conkyPidgin -o into the terminal it tells me this:
    Code:
    conkyPidgin -o
    ERROR: Issue calling the dbus service:local variable 'status' referenced before assignment
    Traceback (most recent call last):
      File "/usr/share/conkypidgin/conkyPidgin.py", line 271, in writeOutput
        for pidginData in pidginDataList:
    TypeError: 'NoneType' object is not iterable
    ERROR: Unknown error when calling writeOutput:'NoneType' object is not iterable
    whats up with that?

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

    Re: Conky Pidgin Python Script

    Quote Originally Posted by hachel View Post
    hello,
    when i type conkyPidgin -o into the terminal it tells me this:
    Code:
    conkyPidgin -o
    ERROR: Issue calling the dbus service:local variable 'status' referenced before assignment
    Traceback (most recent call last):
      File "/usr/share/conkypidgin/conkyPidgin.py", line 271, in writeOutput
        for pidginData in pidginDataList:
    TypeError: 'NoneType' object is not iterable
    ERROR: Unknown error when calling writeOutput:'NoneType' object is not iterable
    whats up with that?
    Is Pidgin running?

  10. #40
    Join Date
    Sep 2008
    Beans
    128
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Conky Pidgin Python Script

    yes, when I do it without -o or with an -a instead it works as it should

Page 4 of 20 FirstFirst ... 2345614 ... 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
  •