Page 1 of 1

Open Script window shows nothing

Posted: 16.03.2021, 03:53
by tckosvic
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

Posted: 16.03.2021, 08:56
by onetwothree
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?

Posted: 25.06.2021, 05:20
by eundas
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?

Posted: 25.06.2021, 08:16
by onetwothree
eundas wrote:Any ideas of what I may be doing wrong?

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

Posted: 25.06.2021, 12:34
by chandra
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.

Posted: 25.06.2021, 13:36
by eundas
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.

Posted: 25.06.2021, 13:49
by chandra
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.

Posted: 25.06.2021, 14:15
by eundas
Argh... OK, sorry to bother you. Much appreciated; it works.