APODview

Karamba & Superkaramba

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

This is a desktop applet for superkaramba that displays the Astronmy Picture Of the Day (APOD) from the site : http://antwrp.gsfc.nasa.gov/apod/astropix.html

require SUPERKARAMBA and IMAGEMAGICK.

NEW version 0.4 : code more simple !

version 0.3 : Image is load automatically every 12 hours


TeeAhr1

12 years ago

I'm having trouble getting this to work. Here's my output:

Loaded my python extension!
sys.path.insert(0, '/home/teeahr1/sourcefiles-etc/superk/APOD View/')
--11:01:33-- http://antwrp.gsfc.nasa.gov/apod/image/0712/holmes_ladanyi.jpg
=> `/home/teeahr1/sourcefiles-etc/superk/APOD'
Resolving antwrp.gsfc.nasa.gov... 128.183.240.121
Connecting to antwrp.gsfc.nasa.gov|128.183.240.121|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 141,557 (138K) [image/jpeg]

100%[==============================================================================>] 141,557 95.85K/s

11:01:35 (95.54 KB/s) - `/home/teeahr1/sourcefiles-etc/superk/APOD' saved [141557/141557]

--11:01:35-- http://view//temp.jpg
=> `/home/teeahr1/sourcefiles-etc/superk/APOD'
Resolving view... failed: Name or service not known.

FINISHED --11:01:43--
Downloaded: 141,557 bytes in 1 files
convert: unable to open image `View//temp-1.jpg': No such file or directory.
convert: unable to open image `View//temp-1.jpg': No such file or directory.
convert: unable to open image `View//temp-1.png': No such file or directory.
convert: unable to open image `View//temp-1.png': No such file or directory.
convert: unable to open image `View//apod-1.png': No such file or directory.
rm: cannot remove `View//temp.jpg': No such file or directory
rm: cannot remove `/home/teeahr1/sourcefiles-etc/superk/APOD': No such file or directory
rm: cannot remove `View//temp.png': No such file or directory

Report

TeeAhr1

12 years ago

I fail with "Resolving view... failed: Name or service not known." I have imagemagick installed. Am I still missing something?

Report

resubmit

13 years ago

Nice one!

Had problems with your character set.
I use UTF-8. To kick it off I added
the line
#coding: utf-8
(First I changed your french comments
to english ones, this works too.)

Once running, I did not appreciate
the png in $HOME, so I changed the
code to use $PWD instead and in the
same time save a copy of the original
jpg with the date as prefix. In this
way I can keep all pics.

Funny, I can't open the webbrowser
on click (openSUSE 10.2), but it
works in older versions (openSUSE 10.1)!

Report

C

Kiopaa

13 years ago

thank you for your message,
I noted your remarks for the next update ("utf-8" and "$PWD").
Pascal.
(Sorry for my poor english !)

Report

12345678910
product-maker Base: 4 x 5.0 Ratings
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.4
updated Jul 12 2007
added Jun 11 2007
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0