Results 1 to 8 of 8

Thread: Conky wget stopped working

  1. #1
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    714
    Distro
    Ubuntu 14.04 Trusty Tahr

    Conky wget stopped working

    I have a conky that uses wget in a couple of places.
    Everything worked fine until I booted up today and then my weather script and the part of the conky that pulls the exchange rate both stopped working.

    When I ran the weather script in a terminal I noticed this right after starting the script:

    Code:
    wget: no process found
    Does anyone know how I can get wget to work again?
    Thank you,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

  2. #2
    Join Date
    Jun 2007
    Location
    China
    Beans
    995
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Conky wget stopped working

    I think the problem is the wget part of your conky script has an error and wget cant download anything. Have a look at this and it might help https://bbs.archlinux.org/viewtopic.php?id=139962

  3. #3
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    714
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Conky wget stopped working

    Quote Originally Posted by Gone fishing View Post
    I think the problem is the wget part of your conky script has an error and wget cant download anything. Have a look at this and it might help https://bbs.archlinux.org/viewtopic.php?id=139962
    Thanks,

    I'm using a version of Teo's weather script that Sec11 modified and the other conky that uses wget calls the exchange rates from a web page.

    The thing is that this happened all of a sudden. I didn't make any changes to the conkys.
    On one machine the weather conky still loads but the update is stuck at last night.
    On the second machine the weather conky will not load anymore.

    I think there is something in a recent round of Ubuntu updates that did it. I haven't even opened a conkyrc file for months.
    Last edited by GrouchyGaijin; June 23rd, 2012 at 09:24 PM. Reason: caught a typo
    Thank you,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

  4. #4
    Join Date
    Jun 2007
    Location
    China
    Beans
    995
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Conky wget stopped working

    I'm doubtful that its an update - I wonder if the URL has changed? Might be worth a check?

  5. #5
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    714
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Conky wget stopped working

    If for example I run
    Code:
    ${execi 3600 wget -q -O -  http://"http://www.google.com/financ...om=JPY&to=USD"|grep  "<div id=currency_converter_result>"|sed 's/<[^>]*>//g'}
    in the conky I get zilch. If I run

    Code:
    wget -q -O -  http://"http://www.google.com/financ...om=JPY&to=USD"|grep  "<div id=currency_converter_result>"|sed 's/<[^>]*>//g'
    in the terminal, it returns

    1000 JPY = 12.4000 USD

    I checked the version of Conky in synaptic and it is still locked down at the same version I was using when everything worked.
    Thank you,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

  6. #6
    Join Date
    Oct 2008
    Beans
    3,509

    Re: Conky wget stopped working

    Don't know if you had a copy/paste error but this works for me.
    Code:
    ${execi 3600 wget -q -O - "http://www.google.com/finance/converter?a=1000&from=JPY&to=USD" | grep "<div id=currency_converter_result>" | sed 's/<[^>]*>//g'}
    Ubuntu 12.04
    conky --version 1.9.0-2


    As far as I know it's only version 1.8.1-6 in the default 12.04 repo with problems.
    Last edited by stinkeye; June 24th, 2012 at 10:50 AM.

  7. #7
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    714
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Conky wget stopped working

    Quote Originally Posted by stinkeye View Post
    Don't know if you had a copy/paste error but this works for me.
    Code:
    ${execi 3600 wget -q -O - "http://www.google.com/finance/converter?a=1000&from=JPY&to=USD" | grep "<div id=currency_converter_result>" | sed 's/<[^>]*>//g'}
    Ubuntu 12.04
    conky --version 1.9.0-2


    As far as I know it's only version 1.8.1-6 in the default 12.04 repo with problems.
    The thing is that I didn't change anything in the conkyrc. I have had 1.8.1-6 locked for months now.
    Thank you,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

  8. #8
    Join Date
    Oct 2010
    Location
    Sweden
    Beans
    714
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Conky wget stopped working

    I installed Conky 1.9 from http://packages.debian.org/testing/utils/conky-all
    and now everything works as it should again.
    Thank you,
    GG -----------
    GUI we don't need no stinking GUI: A collection of Bash scripts
    Mutt (email), cmus (music),Google Calendar and Google Tasks cli

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
  •