Active Topics

 



Notices


Reply
Thread Tools
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#101
Originally Posted by J4ZZ View Post
It's still doubling the temps somehow. Is it imagemagick causing this?
Awesome... The pic showed me exactly what it's probably doing. I've updated the script to include the 5-day forecast and fix this issue. I'm betting it's a problem with your particular weather page. Your locale must be making the contents slightly different on yahoo.

Try this script and let me know if it works better. Also, those who want to see the new 5-day, try this out too If you don't like the 5-day, you can comment out the 2 lines in the convert area (for the 3 images) that put it there. It's the 2nd and 3rd from the last extended line in each of the convert commands.

Enjoy!
Attached Files
File Type: zip weather-script.zip (2.0 KB, 112 views)
 
Posts: 539 | Thanked: 518 times | Joined on May 2010 @ nanaurbusiness
#102
That's the final output...
Thanks so much for your help.



Greetz,

..::J4ZZ::..
 
woody14619's Avatar
Posts: 1,455 | Thanked: 3,309 times | Joined on Dec 2009 @ Rochester, NY
#103
Well, close. Looks like your page is a little different than mine, unless it's going to be "Germany" today, and "Mostly Cloudy" tomorrow. Have to love how even templated pages are different from region to region. Check your actual yahoo page and see if it' actually going to be sunny on the 15th. If so, it's just mixing up lines. More likely it's supposed to be sunny on the 14th, and there's an extra line at the top (which would also have screwed up the old high/low readings...)
 
Posts: 19 | Thanked: 1 time | Joined on Jun 2010 @ California, USA
#104
I have problem installing imagemagic. I downloaded one from
http://talk.maemo.org/showpost.php?p...2&postcount=64
but it compains about libgraphviz4 dependency.

# dpkg -i imagemagick-6.6.7-7_1.0-1_armel.deb
(Reading database ... 53507 files and directories currently installed.)
Preparing to replace imagemagick-6.6.7-7 1.0-1 (using imagemagick-6.6.7-7_1.0-1_armel.deb) ...
Unpacking replacement imagemagick-6.6.7-7 ...
dpkg: dependency problems prevent configuration of imagemagick-6.6.7-7:
imagemagick-6.6.7-7 depends on libgraphviz4 (>= 2.18); however:
Package libgraphviz4 is not installed.
dpkg: error processing imagemagick-6.6.7-7 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
imagemagick-6.6.7-7

/home/user/MyDocs/From_internet # display
display: error while loading shared libraries: libgvc.so.5: cannot open shared object file: No such file or directory
I have extras-testing and extras-devel enabled. Any ideas how to get imagemagic?
 
Posts: 27 | Thanked: 0 times | Joined on Nov 2009 @ Germany
#105
Hey guys, did the steps as told in post #1 and got following message while exe the sh:

/home/user/imagemagick/weather.sh: line 58: wget: not found

line 58 says:

wget --user-agent="" -q -t 1 -T 10 -O "$TEMPNAME" "$WEATHERURL" || exit 2

Can somebody tell me, wth i did wrong?
 
Posts: 27 | Thanked: 0 times | Joined on Nov 2009 @ Germany
#106
in addition: the slider already changed to this sun/feost-symbol, so it partly seems to work!

edit: do i have to replace "$WEATHERURL" with my own specific weathe-rurl? sorry for beeing a noob, just learning by doing, so .....

Last edited by Blaxe; 2011-05-26 at 09:45.
 
titou1234's Avatar
Posts: 49 | Thanked: 17 times | Joined on Feb 2010 @ Paris, France
#107
Originally Posted by Blaxe View Post
/home/user/imagemagick/weather.sh: line 58: wget: not found
You have to install wget; this command in terminal should do the trick:
apt-get install wget

Ithier
 

The Following 3 Users Say Thank You to titou1234 For This Useful Post:
Posts: 27 | Thanked: 0 times | Joined on Nov 2009 @ Germany
#108
wait...ehhmmm, where is it...right:

edit: aaawweesome

Last edited by Blaxe; 2011-05-26 at 18:36.
 
Posts: 270 | Thanked: 37 times | Joined on Sep 2010
#109
where I could find imagemagick? I didn't find in repository

I solved

Last edited by iscio; 2011-06-16 at 15:37.
 
Posts: 270 | Thanked: 37 times | Joined on Sep 2010
#110
@Alfred in the first post I'll try the script by woody14619 or your? thanks
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:50.