Solar system

Plasma 4 Widgets

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

16
Score 84.3%
Description:

Displays position of planets in Solar system, applet icon credit: NASA/JPL.
Last changelog:

8 years ago

0.4.1
- Italian translation added, big thanks to Giuseppe Calí  for contribution :)
- Czech and German translations added (spell-checking and corrections appreciated!)

0.4:
- Greek and French i18n translations added, big thanks to Dimitrios Glentadakis
- For Russian translation big thanks goes to Alexander Potashev
- centering of names of planets and the Sun (due to different length in different languages)
- using translation context for the "Sun", now it should be translated correctly ("Fuzzy")
- changes in .po/.pot creation scripts to handle context function i18nc()
- .mo files automatically installed in ~/.kde4/share/locale directory
- removed "Form" from translation files (thanks to Alexander Potashev for suggestion)

0.3:
- i18n support added, big thanks to Edgardo Garcia Hoeffler for the code and Spanish translation :)
- Slovak i18n translation added
- added antialiasing of planet orbits, thanks goes to user nybble41 for suggestion and code :)
- resizing of the plasmoid added. The applet automatically switches to smaller size
planet images when resized below a certain scale

0.2.1:
- minor bugfix in the config dialog - font size fixed

0.2:
- it's now possible to show/hide Pluto (default: hide)
(Thanks to Kirilo for suggestion :)

0.1:
- basic funcionality.
- it is possible to configure:
- color of text information (legend)
- color of planets' orbits
- show/hide orbits (default: show)
- show/hide legend (default: hide)


Installation:

plasmapkg -i solar-system.plasmoid

or if you are upgrading then:

plasmapkg -u solar-system.plasmoid

10

byulbee

1 month ago

10 10 the best

Report

10

byulbee

11 months ago

It is a favorite widget.
It is not available for KDE Plasma 5.
Can you provide it for KDE plasma 5?

Report

trinnyg

6 years ago

where is the information taken from?
how hard would it be to add the picture type like the following URL ??

http://www.theplanetstoday.com/
Containing also the astrology sign that the planets are in??

Report

9

fisasi

7 years ago

Hi:
First of all, say that the application is fantastic. I have enjoyed it until I actualized my Open Suse KDE from 11 to 12 version. From then I only get
"No se ha podido crear un motor de scripts para el elemento gráfico Sistema solar"
what means some like
It can not generate (create) a script engine for the graphic element Solar system.

What I am doing bad? As I told, I like very much the widget and I like to get it again.
Thank you

Report

C

jramen

7 years ago

Sorry, probably in OpenSuse 12.1 these packages are called:

python-kde4
python-kdebase4

Report

9

fisasi

7 years ago

Thank you very much for your quick answer. I had already installed them. Anyway I have updated them but doesn't work yet. Could be anything else?
Thank you.

Report

C

jramen

7 years ago

Other than that plasmoid relies on PyQt4, so probably package "python-qt4" is missing. :-S

Report

9

fisasi

7 years ago

No luck. Python-qt4 already installed and updated but it doesn't want work :-(. Thanks a lot again.

Report

C

jramen

7 years ago

And one more thing, I found this at other plasmoid: "Note: If you get missing script-engine errors when loading the widget you need to install the plasma python script-engine (in openSUSE this requires the "python-kdebase4" and "python-devel" packages"

So please check whether python-devel package is installed. :)

Report

C

jramen

6 years ago

Thanks for the update! Or should I say, downgrade? ;)) Well, it's strange though, cuz I'm not aware I had used any heavily API dependent stuff. But nowadays APIs change without further notice and what worked in old, doesn't need to do so in new one. :-/

And... thanx for using the plasmoid even as it means having da oldie kwappy API. ;)

Report

bkant

6 years ago

I managed to get it up and running again. I downgraded the package python-sip from 4.14.7xxx to the last available version of 4.14.6xxx. While doing that some dependencies asked to downgrade other packages which I confirmed. After a reboot Solar system is working again.

Report

bkant

6 years ago

Thanks for this quick reply! Plasmoidviewer indeed is telling me some more details (not that I would understand anything of it):

plasmoidviewer(27916)/python (plugin): Failed to import module
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 22, in <module>
from PyKDE4.plasma import Plasma
RuntimeError: the sip module implements API v10.0 but the PyKDE4.plasma module requires API v9.2

At least that sounds to me that the system updates have lifted some files to a new API level which other files aren't capable to deal with, and it doesn't sound like related to gettext. Google shows the exact same runtime error message two times connected to other distros and other software, so apparently this is not a sole problem of Solar system, so to say, more like a Milky Way malady ...

I guess I just have to wait and see. The planets are not going to leave the system by then ...

Report

C

jramen

6 years ago

Sadly, sometimes updates break stuff. :-S
This time I really don't know what's wrong. I currently updated my OpenSuse 12.2 and it's working fine, so probaly guys at OpenSuse did break something for 12.3.

My best bet is for you to wait for the next update, hoping it will fix things, and in the meantime try to run plasmoid from command line with:

# plasmoidviewer solar-system

and hopefully it will report where the crash occurs.
And also, I saw gettext package being updated and it's needed for solar-system plasmoid.
Please try to reinstall and/or downgrade using YAST Installer and Versions tab on selected gettext package.

Report

bkant

6 years ago

I have run this fine plasmoid until today on my Opensuse 12.3 64bit system. Today I updated a bunch of software packages and now the sun refuses to shine for me. The error message is the same as reported before in Spanish, but for me in German: "Der python-Skript-Treiber für Sonnensystem kann nicht initialisiert werden." I have checked all the packages that have been mentioned here and they are all installed and updated.
What to do?

Report

C

jramen

7 years ago

I can't reply to your post, so I'm replying to mine. :))


GREAT!! I'm very happy that it finally works! ^_^
All the best,
John

Report

9

fisasi

7 years ago

:-) :-) :-)
¡¡¡AT LAST!!!!
It works very well. When I installed python-devel it didn't work. I was writing again to you when I think it could be better to try again after restarting computer. And it works great. Thank you very much for your attention.
Best regards

Report

C

jramen

7 years ago

I sent you a private message with some other possibilities.. :)

But we surely will find what's missing, because I'm using OpenSuse 12.1 myself and plasmoid works on my desktop. :)

Report

C

jramen

7 years ago

Hi there, thank you very much for your kind words. :)

In regard of your problem, I think you have some python packages missing. Please try to install "kdebindings-python" package, it might solve your problem. :)

Report

9

heinquoi

8 years ago

hello,

I like this plasmoid. thank for this.

But when I change the version of my Kubuntu with the latest ( kubuntu 11.10 ), I have this message:
Script initialization failed
And when I execute "plasmoidviewer solar-system"

Installing fr translations...
Command: msgfmt -f -o /home/franck12/.kde/share/locale/fr/LC_MESSAGES/solar-system.mo /home/franck12/.kde/share/app
Traceback (most recent call last):
File "/usr/share/kde4/apps/plasma_scriptengine_python/pyappletscript.py", line 75, in init
self.pyapplet.init()
File "/home/franck12/.kde/share/apps/plasma/plasmoids/solar-system/contents/code/main.py", line 442, in init
self.installTranslation(vers, unicode(KGlobal.locale().language()), kdehome)
File "/home/franck12/.kde/share/apps/plasma/plasmoids/solar-system/contents/code/main.py", line 719, in installTr
msg = "Error installing translation: "+out
TypeError: cannot concatenate 'str' and 'tuple' objects

should you help me ? I don't know python.

Report

9

heinquoi

8 years ago

sorry for my English
Would you help me ? I'm a shit in English an d in Python.

Report

C

jramen

8 years ago

Hi there, it's not a problem of Python, installation of language translations relies on the "Gettext" system package ("msgfmt" script is part of that).

Please install the "Gettext" package and everything should go fine. :)

Report

9

heinquoi

8 years ago

thank you for your response. And your application really well. I love it. And to clarify the package gettext was not installed but I had a program installed with the name gettext. There are subtleties that I not yet understand in kubuntu.

Report

9

heinquoi

8 years ago

It good. I found the problem. 'gettext' was installed but not 'msgfmt'. I have reinstalled 'gettext' and it's OK.

Report

C

jramen

8 years ago

Great! ^^

You solved the problem while I was typing my answer. :)

Report

dotancohen

8 years ago

For more realistic orbits, you could move the Earth code to be the first in the code (it is currently the last) then multiply each other planet's coefficient by it's distance from the Sun in AU:

coef1 = coef3 * 0.4
coef2 = coef3 * 0.7
coef4 = coef3 * 1.5
coef5 = coef3 * 5.2
coef6 = coef3 * 9.5
coef7 = coef3 * 19.6
coef8 = coef3 * 30

Report

8 years ago

0.4.1
- Italian translation added, big thanks to Giuseppe Calí  for contribution :)
- Czech and German translations added (spell-checking and corrections appreciated!)

0.4:
- Greek and French i18n translations added, big thanks to Dimitrios Glentadakis
- For Russian translation big thanks goes to Alexander Potashev
- centering of names of planets and the Sun (due to different length in different languages)
- using translation context for the "Sun", now it should be translated correctly ("Fuzzy")
- changes in .po/.pot creation scripts to handle context function i18nc()
- .mo files automatically installed in ~/.kde4/share/locale directory
- removed "Form" from translation files (thanks to Alexander Potashev for suggestion)

0.3:
- i18n support added, big thanks to Edgardo Garcia Hoeffler for the code and Spanish translation :)
- Slovak i18n translation added
- added antialiasing of planet orbits, thanks goes to user nybble41 for suggestion and code :)
- resizing of the plasmoid added. The applet automatically switches to smaller size
planet images when resized below a certain scale

0.2.1:
- minor bugfix in the config dialog - font size fixed

0.2:
- it's now possible to show/hide Pluto (default: hide)
(Thanks to Kirilo for suggestion :)

0.1:
- basic funcionality.
- it is possible to configure:
- color of text information (legend)
- color of planets' orbits
- show/hide orbits (default: show)
- show/hide legend (default: hide)


Installation:

plasmapkg -i solar-system.plasmoid

or if you are upgrading then:

plasmapkg -u solar-system.plasmoid

12345678910
1311
product-maker byulbee Sep 30 2019 10 the best
10 the best
product-maker rosenrot Jan 10 2015 9 excellent
product-maker janet Oct 20 2013 9 excellent
product-maker paulus3005 Mar 16 2013 9 excellent
product-maker Sweyn78 Aug 27 2012 9 excellent
product-maker fisasi May 16 2012 9 excellent
product-maker MaxEki Mar 26 2012 9 excellent
product-maker I027614 Dec 22 2011 9 excellent
product-maker StrikeHoreges Oct 27 2011 9 excellent
product-maker heinquoi Oct 22 2011 9 excellent
product-maker weyll Oct 02 2011 9 excellent
product-maker mzatari Sep 06 2011 9 excellent
product-maker brna Aug 27 2011 9 excellent
product-maker jackhunter2 Aug 22 2011 9 excellent
product-maker Arstan Aug 06 2011 9 excellent
product-maker Nebkheperureinpu Jul 10 2011 9 excellent
product-maker vatsok Jun 23 2011 9 excellent
product-maker vitex Jun 23 2011 9 excellent
product-maker deabru Jun 18 2011 9 excellent
product-maker prostosuper Jun 15 2011 9 excellent
product-maker dobri Jun 15 2011 9 excellent
product-maker SeaJey Jun 14 2011 9 excellent
product-maker phade Jun 12 2011 9 excellent
product-maker aspotashev Jun 12 2011 9 excellent
product-maker gamdoodyandgam Jun 03 2011 9 excellent
product-maker fineday2love May 05 2011 9 excellent
product-maker Dellara Mar 26 2011 3 bad
product-maker Brutus180 Mar 15 2011 9 excellent
product-maker mornaran Mar 12 2011 9 excellent
product-maker ruman Mar 08 2011 9 excellent
product-maker Alesvol Mar 08 2011 9 excellent
product-maker gcala Oct 04 2010 9 excellent
product-maker Schiwi Sep 26 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
byulbee
Nov 21 2018
bkant
Jul 25 2013
saftsocken
Dec 24 2012
fisasi
May 14 2012
heinquoi
Oct 22 2011
Nebkheperureinpu
Jul 10 2011
vitex
Jun 23 2011
SeaJey
Jun 14 2011
phade
Jun 14 2011
aspotashev
Jun 12 2011
dglent
Mar 09 2011
opaflamme
Mar 08 2011
eusebio
Jan 27 2011
nick1701
May 18 2010
cesorensen
Apr 18 2010
Bert
Apr 18 2010
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.1
updated Jun 18 2011
added Apr 16 2010
downloads 24h
1
pageviews 24h 2