Open Script window shows nothing

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
tckosvic
Posts: 1
Joined: 16.03.2021
With us: 3 years 3 months

Open Script window shows nothing

Post #1by tckosvic » 16.03.2021, 03:53

Using version 1.7.0 on opensuse linux. Source of code was opensuse science repository. opensuse distro code.

In using Open Script from main window a secondary window opens which is to select script file to load. The directories in the left window appear. When they are clicked upon nothing happens in the right pane. No files show at all whether they are celestia scripts or not. Clicking on the celestia directory where there are scripts also does nothing. The Open Script dialogue is dead.

Any advice or tricks from someone more experienced with the code. I am newby.

Thanks, tom kosvic

onetwothree
Site Admin
Posts: 705
Joined: 22.09.2018
With us: 5 years 9 months

Post #2by onetwothree » 16.03.2021, 08:56

tckosvic wrote:Using version 1.7.0 on opensuse linux. Source of code was opensuse science repository. opensuse distro code.

What interface do you use? Gtk+ or Qt? Could you also try a package from https://build.opensuse.org/package/show/home:munix9:unstable/celestia?

eundas
Posts: 3
Joined: 25.06.2021
With us: 3 years

Post #3by eundas » 25.06.2021, 05:20

I have the same problem. I compiled the Qt version from source following the instructions here:

https://malagaoriginal.blogspot.com/2019/03/instalar-celestia-en-ubuntu-1804-o.html

and I found the same problems described by tom kosvic above. The I compiled a GTK version (cmake .. -DENABLE_DATA=ON -DENABLE_GTK) which shows the scripts windows. However, for some reason in that case several functionalities are not available (for example the "Celestial browser is missing").

Any ideas of what I may be doing wrong?

onetwothree
Site Admin
Posts: 705
Joined: 22.09.2018
With us: 5 years 9 months

Post #4by onetwothree » 25.06.2021, 08:16

eundas wrote:Any ideas of what I may be doing wrong?

Please provide screenshots or a video record for all your actions.

chandra
Posts: 9
Joined: 26.11.2018
With us: 5 years 7 months

Post #5by chandra » 25.06.2021, 12:34

Don't use the package from openSUSE science, it's totally outdated.

1.7.0 download pages
https://software.opensuse.org//download.html?proj ... nix9:unstable&package=celestia
https://software.opensuse.org//download.html?proj ... unstable&package=celestia-data

Or the AppImage:
https://download.opensuse.org/repositories/home:/ ... elestia-latest-x86_64.AppImage
See also https://github.com/CelestiaProject/Celestia/issues/333

See eg. for Tumbleweed which packages are available:
https://build.opensuse.org/package/binaries/home: ... e/celestia/openSUSE_Tumbleweed
https://build.opensuse.org/package/binaries/home: ... estia-data/openSUSE_Tumbleweed

The best thing to do is to add the repository as described on the download page and search for the celestia packages using yast or zypper and install them.

eundas
Posts: 3
Joined: 25.06.2021
With us: 3 years

Post #6by eundas » 25.06.2021, 13:36

Thanks chandra. I did use the AppImage and it performed much better than the other solutions I had. However, I couldn't make the Addons to work, which is why I tried to go back to compile from source myself. I read the instructions given at the end of https://github.com/CelestiaProject/Celestia/issues/333 but they didn't work for me or perhaps I misunderstood what I had to do. As a way of example one addon I want to use is this one: http://www.celestiamotherlode.net/creators/fsgregs/Lat-Long_grid.zip The steps I take are:

mkdir ~/apps

cd ~/apps

wget -O celestia-1.7.0-git-x86_64.AppImage https://download.opensuse.org/repositories/home:/ ... elestia-latest-x86_64.AppImage

chmod 755 *.AppImage

./celestia-1.7.0-git-x86_64.AppImage

[Yay! It works!]

./celestia-1.7.0-git-x86_64.AppImage --celestia-extract-data

wget http://www.celestiamotherlode.net/creators/fsgregs/Lat-Long_grid.zip

unzip Lat-Long_grid.zip

rm Lat-Long_grid.zip

mv Lat-Long_grid/textures/medres/earthgrid.png celestia-1.7.0-git-x86_64.AppImage.data/textures/medres/

mv Lat-Long_grid/Lat-Long_grid.ssc celestia-1.7.0-git-x86_64.AppImage.data/data/

CELESTIA_DATA_DIR=/home/eundas/apps/celestia-1.7.0-git-x86_64.AppImage.data /home/eundas/apps/celestia-1.7.0-git-x86_64.AppImage

And there's no "Alternate textures" menu or any other way to activate the texture I just added. This is drifting away from the original topic but if I was able to solve this then I'd just stick to the AppImage.

chandra
Posts: 9
Joined: 26.11.2018
With us: 5 years 7 months

Post #7by chandra » 25.06.2021, 13:49

hm, Lat-Long_grid/Read-me.txt says:
Place in your extras folder in Celestia. Launch Celestia, go to Earth, right-click on Earth, select "alternate textures" and choose Grid-Overlay.

so this works for me:
cp -p Lat-Long_grid/textures/medres/earthgrid.png celestia-1.7.0-git-x86_64.AppImage.data/textures/medres/
cp -p Lat-Long_grid/Lat-Long_grid.ssc celestia-1.7.0-git-x86_64.AppImage.data/extras/

so it should be the /extras/ folder not the /data/ folder.

And it also works with the rpm-package of munix9 for my openSUSE Tumbleweed.

eundas
Posts: 3
Joined: 25.06.2021
With us: 3 years

Post #8by eundas » 25.06.2021, 14:15

Argh... OK, sorry to bother you. Much appreciated; it works.


Return to “Help Central”