Page 151 of 380 FirstFirst ... 51101141149150151152153161201251 ... LastLast
Results 1,501 to 1,510 of 3795

Thread: Conky Weather Forecast Python Script

  1. #1501
    Join Date
    Jul 2009
    Beans
    1

    Re: Conky Weather Forecast Python Script

    when i run this command:
    cp /usr/share/conkyforecast/conkyForecast.config ~/.conkyForecast.config

    in the terminal i get the following errors:

    Err http://archive.ubuntu.com Ubuntu/9.04 Packages
    404 Not Found [IP: 91.189.88.140 80]
    Err http://archive.ubuntu.com Ubuntu/Jaunty Jackalope Packages
    404 Not Found [IP: 91.189.88.140 80]
    Err http://archive.ubuntu.com Ubuntu/main Packages
    404 Not Found [IP: 91.189.88.140 80]
    Err http://archive.ubuntu.com Ubuntu/universe Packages
    404 Not Found [IP: 91.189.88.140 80]
    W: Failed to fetch cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)/dists/jaunty/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

    W: Failed to fetch cdrom://Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090420.1)/dists/jaunty/restricted/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

    W: Failed to fetch http://archive.ubuntu.com/dists/Ubun...-i386/Packages 404 Not Found [IP: 91.189.88.140 80]

    W: Failed to fetch http://archive.ubuntu.com/dists/Ubuntu/Jaunty Jackalope/binary-i386/Packages 404 Not Found [IP: 91.189.88.140 80]

    W: Failed to fetch http://archive.ubuntu.com/dists/Ubun...-i386/Packages 404 Not Found [IP: 91.189.88.140 80]

    W: Failed to fetch http://archive.ubuntu.com/dists/Ubun...-i386/Packages 404 Not Found [IP: 91.189.88.140 80]

    E: Some index files failed to download, they have been ignored, or old ones used instead.

    and then I search for "/usr/share/conkyforecast/conkyForecast.config" and it cannot be found. Can anyone help with this?

  2. #1502
    Join Date
    Sep 2006
    Beans
    2

    Re: Conky Weather Forecast Python Script

    I'm also having the same problem... it just can't find .conkyForecast.config. Where is it?

    ERROR: Config data file /home/<me>/.conkyForecast.config not found, using defaults (Registration info is needed though)
    Traceback (most recent call last):
    File "/usr/share/conkyforecast/conkyForecast.py", line 1553, in <module>
    main()
    File "/usr/share/conkyforecast/conkyForecast.py", line 1549, in main
    forecastinfo = ForecastInfo(options)
    File "/usr/share/conkyforecast/conkyForecast.py", line 635, in __init__
    socket.setdefaulttimeout(self.config.CONNECTION_TI MEOUT)
    AttributeError: 'NoneType' object has no attribute 'CONNECTION_TIMEOUT'

  3. #1503
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by heidenseek View Post
    when i run this command:
    cp /usr/share/conkyforecast/conkyForecast.config ~/.conkyForecast.config

    in the terminal i get the following errors:
    Quote Originally Posted by webgod View Post
    I'm also having the same problem... it just can't find .conkyForecast.config. Where is it?
    I'm inclined to think that conkyForecast is not installed, or not installed "completely/correctly"

    1. What method did you use to install?

    2. With your file manager look for it in /usr/share/conkyforecast/ - if you don't see what is in the image - reinstall it, via Method #1 if possible, then #2 last option #1 from the first post of this thread.

    3. Repeat Step #2 to see it it's there, then run:
    Code:
    cp /usr/share/conkyforecast/conkyForecast.config ~/.conkyForecast.config
    to put the conkyForecast.config in your home folder as a hidden file:

    4.
    Code:
    gedit ~/.conkyForecast.config
    and edit it, adding your ID and KEY numbers and changing "LOCALE = " (defaults to English) DO NOT edit the one in /usr/share/conkyforecast/

    Let us know what happens.

    Have a nice day.
    Bruce
    Attached Images Attached Images
    Last edited by Bruce M.; July 28th, 2009 at 06:06 PM.

  4. #1504
    Join Date
    Jul 2006
    Beans
    809
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conky Weather Forecast Python Script

    Just wanted to say nice job.

  5. #1505
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by lvleph View Post
    Just wanted to say nice job.
    WoW! lvleph!! Is it ever nice to see you. Life treating you right I hope?

    In case people don't know lvleph wrote a weather script before this one when weather.com changed things and it stopped working.

    CHIMO!
    Bruce
    Last edited by Bruce M.; August 2nd, 2009 at 11:29 PM.

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

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by lvleph View Post
    Just wanted to say nice job.
    Cheers, glad you think so

    Nice you see you around

  7. #1507
    Join Date
    Jul 2006
    Beans
    809
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conky Weather Forecast Python Script

    I have been busy with grad school. I decided to play with Conky a bit again, so just dropped in. I have not tried your script, yet. I am just planning out my desktop. I posted my current conky on the conkyrc thread.

  8. #1508
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    HEADS UP FOLKS

    xeddog - found out some information that affects gtk-desktop-info, it is NOT my discovery and since the two forecast.py programs are almost the same ...

    We can get 7 days, with a couple of changes to your conkyForecast.py file, this is my new conkyForecast layout.

    The changes to get the seven days:

    Make a backup!

    Code:
    gksudo gedit /usr/share/conkyforecast/conkyForecast.py
    Line number Info

    Change:
    625 MAX_DAY_NUMBER = 4
    to:
    625 MAX_DAY_NUMBER = 7

    and xoap to xml here:

    783 url = "http://xml.weather.com/weather/local/"

    Have a nice day.
    Bruce
    Attached Images Attached Images
    Last edited by Bruce M.; August 3rd, 2009 at 02:14 PM. Reason: make backup

  9. #1509
    Join Date
    Feb 2009
    Location
    UK
    Beans
    129
    Distro
    Ubuntu

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by Bruce M. View Post
    HEADS UP FOLKS

    ...We can get 7 days, with a couple of changes to your conkyForecast.py file...

    Have a nice day.
    Bruce
    Woop-woop!!! Thanks xeddog, and thanks Brucie for pointing this out
    - Samsung R519 Silver - Dual-Boot Windows 7/Ubuntu 9.10 -
    - The Official Conky Blog - Follow conkynews on Twitter -
    - My Launchpad PPA -
    - My blog: My Little Desktop -

  10. #1510
    Join Date
    Sep 2007
    Beans
    Hidden!

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by londonali1010 View Post
    Woop-woop!!! Thanks xeddog, and thanks Brucie for pointing this out
    Brucie!! Haven't been called that for like 100 years! My grandmother used to call me that. Nostalgia -

    Even though I hated it, I never complained when it came from grandma though. Now I'm just to old to care.

    Have a nice 7 days.
    Bruce

Page 151 of 380 FirstFirst ... 51101141149150151152153161201251 ... 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
  •