Page 275 of 380 FirstFirst ... 175225265273274275276277285325375 ... LastLast
Results 2,741 to 2,750 of 3796

Thread: Conky Weather Forecast Python Script

  1. #2741
    Join Date
    Sep 2009
    Beans
    7

    Re: Conky Weather Forecast Python Script

    I was getting the same error as Vindsl, but I'm going to switch to my DSL internet tomorrow since I have more time to find out. Also whenever it would blank out my weather I'd use conkyForecast -r -v to see the result and it fixed itself without a hitch and a restart with conky displayed the gorgeous result, hehe. (:

  2. #2742
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by dannyamayay View Post
    I was getting the same error as Vindsl, but I'm going to switch to my DSL internet tomorrow [...]
    I've been running DSL for years (actually part of my nick). Love it!

    If you're running Ubuntu, it was a nifty DSL Connection option.


    (Click to expand)



    Whichever connection you use, for your DSL, make sure to set the MTU to 1492 bytes...
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  3. #2743
    Join Date
    Nov 2009
    Location
    France
    Beans
    14

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by Sector11 View Post
    If you use a template one line in your conky with a "--location" change could do it.
    Hi Sector11

    of course, this is an easy way.

    However, i experienced some problems with conky 1.8.1 and using templates.

    I think that VinDSL has succeeded in managing some fixes to solve the incompatibilities but i have to look at these in details.

    For the moment, i decided to downgrade to 1.8.0 and followed advices telling no to use templates.

    But i'll run some tests with your solution. Thanks !

    Quote Originally Posted by Sector11 View Post
    Nothing wrong with the way you are doing it, but "over writing" something ... if something goes wrong - OUCH!
    Yep, i know and that's why i included some security checks as you can see.

    Actually, only one file can be overwritten (.conkyForecast.config) and i have just upgraded my script. From now, it will make a backup of the file before overwritting

    Code:
    mv $configforecast ~/.conkyForecast.backup
    Last edited by Woulouf; February 14th, 2011 at 06:20 PM.
    Linux Mint 18.1 x86-64

  4. #2744
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by Woulouf View Post
    [...] I experienced some problems with conky 1.8.1 and using templates.

    I think that VinDSL has succeeded in managing some fixes to solve the incompatibilities but i have to look at these in details.
    I'm on the trot today. A couple of quick thoughts, then I need to run...

    I'm running Conky 1.8.1 exclusively now.

    I'm using wlourf's most excellent BARGRAPH WIDGET v2.1 Lua script. It remains unmolested. It runs fine under Conky 1.8.1 with no changes needed!

    I'm also using londonali1010's DRAW_BG background Lua script. It has been heavily modified for both form and functionality. The largest part of which was killing the memory leaks. That, alone, took me a month.

    Memory & System Load: Conky 1.8.1 / conkyForecast 2.16 / BARGRAPH WIDGET v2.1 / DRAW_BG v3.0

    (Click to expand)



    I don't use templates in Conky. That made the switch to 1.8.1 über simple.

    ConkyForecast 2.16 required no changes.

    The only change I made in .conkyrc was to my oddball calendar (a work in progress).

    Conky 1.8.0 & 1.8.1 handle sed differently.

    Actually, I prefer the way that Conky 1.8.1 handles things. It's definitely a progression, not a regression, IMO.

    OK, gotta go. BBL
    Last edited by VinDSL; February 16th, 2011 at 02:57 AM. Reason: WHOOPSIE - WRONG PERSON :)
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  5. #2745
    Join Date
    Feb 2011
    Beans
    20

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by VinDSL View Post
    I'm on the trot today. A couple of quick thoughts, then I need to run...

    I'm running Conky 1.8.1 exclusively now.

    I'm using wlourf's most excellent BARGRAPH WIDGET v2.1 Lua script. It remains unmolested. It runs fine under Conky 1.8.1 with no changes needed!

    I'm also using londonali1010's DRAW_BG background Lua script. It has been heavily modified for both form and functionality. The largest part of which was killing the memory leaks. That, alone, took me a month.

    Memory & System Load: Conky 1.8.1 / conkyForecast 2.16 / BARGRAPH WIDGET v2.1 / DRAW_BG v3.0

    (Click to expand)



    I don't use templates in Conky. That made the switch to 1.8.1 über simple.

    ConkyForecast 2.16 required no changes.

    The only change I made in .conkyrc was to my oddball calendar (a work in progress).

    Conky 1.8.0 & 1.8.1 handle sed differently.

    Actually, I prefer the way that Conky 1.8.1 handles things. It's definitely a progression, not a regression, IMO.

    OK, gotta go. BBL
    i cannot for the life of me get the weather to load up with your script.

    in this post (http://ubuntuforums.org/showpost.php...ostcount=15842)

    do you make changes to the following files:
    ~/home/username/.conkyForecast.config
    ~/usr/share/conkyforecast/conkyForecast.py

    and add the code that you gave? Or...do you create new files with ONLY the code you gave? btw, thanks for the script. its darn awesome.
    Attached Images Attached Images

  6. #2746
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: Conky Weather Forecast Python Script

    Interesting!

    Haven't experienced a double-post in a while.

    Nice going Canonical!
    Last edited by VinDSL; February 17th, 2011 at 08:47 AM.
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  7. #2747
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by yourwhiteshadow View Post
    i cannot for the life of me get the weather to load up with your script.

    in this post (http://ubuntuforums.org/showpost.php...ostcount=15842)

    do you make changes to the following files:
    ~/home/username/.conkyForecast.config
    ~/usr/share/conkyforecast/conkyForecast.py

    and add the code that you gave? Or...do you create new files with ONLY the code you gave? btw, thanks for the script. its darn awesome.
    First of all, your screenie is very amazing to me.

    I was looking at your desktop icons, in particular!

    Since the 'Great Conky Thread' has been smothered by Canonical & Friends, I have been inundated with requests -- not the least of which is, "What theme are you using?" or "How do you make your entire top panel transparent?" et cetera.

    It shocked me to see that we are using the same desktop icon set (or so it would appear).

    Personally, I employ "Human" icons, skinned with the Breathe Icon Set.

    Are you doing the same, or are those just "Human" icons?!?!?

    That'll tell me where you're coming from...
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  8. #2748
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: Conky Weather Forecast Python Script

    OK, now that I got past that...

    Sorry for being rudimentary, but...

    You do have a Weather.com account, with XOAP (so called) enabled, yes?

    If the answer is "yes" & "yes", and your keys, et cetera, aren't working (in my outdated script) it might be because of the texeci calls, in the weather section.

    I've been doing some forensics (since the well was poisoned last week) and M's cache doesn't gel well with texeci!

    This isn't a condemnation of his work. Just saying.

    If you have a Weather.com XOAP account, and you're using the code that you linked to, change the texeci calls (in the Weather Section) to execi calls, and kill your cache in ~/tmp. Killall conky and restart.

    If that doesn't work, we'll go from there.


    As an aside...


    I was going to publish an update today, but it's obvious that the "new" Conky thread is being frequented by burnouts -- and the old skool Conky dudes are boycotting and/or sabotaging it.

    Whatever... Such is the way with coders (of which I'm one).

    So, I'm left to publish my updated script here, where it doesn't really apply to anybody but you.

    Or, in the old Conky thread, that you linked to.

    Or, the new Conky thread, that has effectively been rendered impotent by royal fiat.

    I cannot provide independent support, via IM, PM, chat or email.

    If you were me, how would YOU proceed?
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

  9. #2749
    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 VinDSL View Post
    First of all, your screenie is very amazing to me.

    I was looking at your desktop icons, in particular!

    Since the 'Great Conky Thread' has been smothered by Canonical & Friends, I have been inundated with requests -- not the least of which is, "What theme are you using?" or "How do you make your entire top panel transparent?" et cetera.

    It shocked me to see that we are using the same desktop icon set (or so it would appear).

    Personally, I employ "Human" icons, skinned with the Breathe Icon Set.

    Are you doing the same, or are those just "Human" icons?!?!?

    That'll tell me where you're coming from...
    Hi VinDSL, I'm not sure what the poster needs from you but he/she was asking about editing the config and the py file...obviously based on what setups you've done in the past. Maybe this is best served on the new conkyrc thread? I think a new post of your setup is required in the new thread (if not done so already)

  10. #2750
    Join Date
    Aug 2010
    Location
    Arizona USA
    Beans
    3,001
    Distro
    Ubuntu Development Release

    Re: Conky Weather Forecast Python Script

    Quote Originally Posted by kaivalagi View Post
    Hi VinDSL, I'm not sure what the poster needs from you but he/she was asking about editing the config and the py file...obviously based on what setups you've done in the past. Maybe this is best served on the new conkyrc thread? I think a new post of your setup is required in the new thread (if not done so already)
    I see.

    Well... the only change I've EVER made to conkyForecast.py is the "Fri" thing -- adding a leading space. And, that spacing is unnecessary, now that I'm using a font with a mono character set, specifically Droid Sans Mono.

    The changes in .conkyForecast.config is more problematic. Basically leave the Weather.com line unmolested, but add a line for DEFAULT_LOCATION (needed in conkyForecast v2.16).

    Hrm...

    Upon reflection, I see your point.

    It's amazing how much things have changed, in the last 14 days!

    OK, I'll defer to your opinion.

    I'll go publish the latest update(s) in the new Conky thread.

    Thanks!
    Intel ® P4 Extreme Edition 3.4 (Gallatin) || DFI ® LanParty PRO875B rev B1
    Crucial ® Ballistix Tracer PC4000 1GB || Mountain Mods U2-UFO Opti-1203
    XFX 7600GT 560M AGP (PV-T73A-UDF3) || Corsair HX520W Modular PSU

Page 275 of 380 FirstFirst ... 175225265273274275276277285325375 ... 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
  •