Real-time Sunlight Wallpaper
 
I just want to mention that RSW has stop working. This is due to wget request to die.net has stopped working, it has nothing to do with the application.

When I first started developing RSW I tried to get in touch with die.net about using their images for such a cause but I never got a response back from them. So, I continued using the images on the grounds that the images are free to use as stated here, as long as I provide a link back to their website which I did.

I already send them a message about this problem and waiting for a response. I'll try to get an agreement with them and see if I can sort this out asap.

I'm also looking at other alternatives, like using a http request within RSW instead of using wget or perhaps download the images to an external server and use the images for RSW from there, but any changes will take some time to develop specially now that I have exams coming before Christmas, etc...

The bug on relation to this can be found here.
 


Comments

17/11/2010 17:34

It works fine here...:


andrei@andrei-desktop:~$ wget http://static.die.net/earth/mercator/1600.jpg
--2010-11-17 19:32:12-- http://static.die.net/earth/mercator/1600.jpg
Resolving static.die.net... 209.151.236.22
Connecting to static.die.net|209.151.236.22|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37 [image/gif]
Saving to: `1600.jpg'

100%[=========================================================>] 37 --.-K/s in 0s

2010-11-17 19:32:13 (6.29 MB/s) - `1600.jpg' saved [37/37]

Reply
Diego
17/11/2010 23:20

It looks funny to me, since this seems to have stopped working just a few hours after I came across with it and decided to download it. I don't know too much about programming, but I think I found a workaround. I edited the file get_image.sh in ~/.gnome2/RealtimeSunlightWallpaper/ adding "--user-agent=firefox" after "wget" (it looks like die.net isn't liking wget anymore). The problem is, however, each time I change anything in the GUI, I have to edit the file again. Maybe changing the code would fix it definitely...

Reply
ika musume
18/11/2010 00:52

change download engine from wget to curl!!

Reply
juanmah
18/11/2010 07:50

At arch linux, Leon23 has made a patch which simply change wget to curl in the file callbacks.c:

http://aur.archlinux.org/packages.php?ID=38286

Reply
Andrea
18/11/2010 10:34

Hi guys,
the problem seems to be with 1600 image format(only 37 bytes...). This happens sometimes. No problem with 1024, 1280 and 1440 for all kinds of projection maps.
andrea@E4300:~$ wget http://static.die.net/earth/mercator/1600.jpg
--2010-11-18 11:16:44-- http://static.die.net/earth/mercator/1600.jpg
Resolving static.die.net... 209.151.236.22
Connecting to static.die.net|209.151.236.22|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 37 [image/gif]
Saving to: `1600.jpg'

100%[===================================================================================================================>] 37 --.-K/s in 0s

2010-11-18 11:16:44 (1.52 MB/s) - `1600.jpg' saved [37/37]

andrea@E4300:~$ wget http://static.die.net/earth/mercator/1600.jpg
--2010-11-18 11:31:50-- http://static.die.net/earth/mercator/1600.jpg
Resolving static.die.net... 209.151.236.22
Connecting to static.die.net|209.151.236.22|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 149295 (146K) [image/jpeg]
Saving to: `1600.jpg'

100%[===================================================================================================================>] 149,295 --.-K/s in 0.01s

2010-11-18 11:31:50 (11.2 MB/s) - `1600.jpg' saved [149295/149295]

Reply
Andrea
18/11/2010 11:14

The problem seems to be the same with curl. Only 37 Bytes...Sometimes ok, sometimes not...
andrea@E4300:~$ curl -O http://static.die.net/earth/mercator/1600.jpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 37 0 37 0 0 6189 0 --:--:-- --:--:-- --:--:-- 18500
andrea@E4300:~$ curl -O http://static.die.net/earth/mercator/1600.jpg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 145k 100 145k 0 0 7649k 0 --:--:-- --:--:-- --:--:-- 9100k

Reply
Mike
18/01/2011 21:52

A replacement that works for me (i have not tested it 100%) is the following

lynx -dump http://static.die.net/earth/mercator/1600.jpg > /tmp/1600.jpg

I will let you know if that gives the same problem as wget and curl

Reply

Your comment will be posted after it is approved.


Leave a Reply