AstroPixelProcessor...
 
Share:
Notifications
Clear all

UPDATE FROM MABULA

I have had a very rough 2 months unfortunately health wise. I was struck 3x in a row with bacterial infections. The second infection occurred  after a routine hospital checkup and I became very sick. I had to rest and take a lot of antibiotics. Once I was recovering and restarting work 1 month ago, I again became sick. The infection was not yet gone, so even more antibiotics and rest was needed. Needless to say, it took a lot of my energy and I needed a lot of rest.

 

Finally, the infection is really gone and my energy is coming back step-by-step now and I have started work again. I am terribly sorry to have kept you waiting for support. I will address all outstanding questions and e-mails step-by step and will be on the forum daily from today.

 

APP 2.0.0-beta47 will come soon as well, a lot of work was already completed before I became very ill, so the release is also nearly ready for you. Beta47 will be much faster actually. Many workflows will be more than 2x faster, mosaics can even be 10x faster than before because registration really received a major boost... all compared to beta46.  Before I release it, I will make sure that everything is working properly and then I will release it.

AstroPixelProcessor 2.0.0-beta41 Linux DEB did not start. These were the errors I encountered and how I fixed them

4 Posts
2 Users
1 Reactions
455 Views
 Hans
(@hans)
White Dwarf
Joined: 9 years ago
Posts: 6
Topic starter  

Edit by Mabula: this is not a supported solution. If you have trouble installing on Linux, please first remove the old APP version and make a clean installation. The below issue is caused by conflicting 3rd party libraries in the installation /libs directory.

# java.lang.module.FindException: Two versions of module jogl.all found in libs (jogl-all-2.4.0.jar and jogl-all-2.4.0-natives-android-aarch64.jar)
sudo rm /opt/AstroPixelProcessor/libs/jogl-all-2.4.0-natives-android-aarch64.jar \
        /opt/AstroPixelProcessor/libs/jogl-all-2.4.0-natives-linux-aarch64.jar \
        /opt/AstroPixelProcessor/libs/jogl-all-2.4.0-natives-linux-armv6hf.jar \
        /opt/AstroPixelProcessor/libs/jogl-all-2.4.0-natives-macosx-universal.jar \
        /opt/AstroPixelProcessor/libs/jogl-all-2.4.0-natives-windows-amd64.jar \
        /opt/AstroPixelProcessor/libs/jogl-all-2.6.0.jar
sudo mv /opt/AstroPixelProcessor/libs/jogl-all-2.4.0-natives-linux-amd64.jar \
        /opt/AstroPixelProcessor/libs/jogl-all-natives-linux-amd64-2.4.0.jar

# java.lang.module.FindException: Two versions of module gluegen.rt found in libs (gluegen-rt-2.4.0-natives-macosx-universal.jar and gluegen-rt-2.6.0.jar)
sudo rm /opt/AstroPixelProcessor/libs/gluegen-rt-2.4.0-natives-android-aarch64.jar \
        /opt/AstroPixelProcessor/libs/gluegen-rt-2.4.0-natives-linux-aarch64.jar \
        /opt/AstroPixelProcessor/libs/gluegen-rt-2.4.0-natives-linux-armv6hf.jar \
        /opt/AstroPixelProcessor/libs/gluegen-rt-2.4.0-natives-macosx-universal.jar \
        /opt/AstroPixelProcessor/libs/gluegen-rt-2.4.0-natives-windows-amd64.jar \
        /opt/AstroPixelProcessor/libs/gluegen-rt-2.6.0.jar
sudo mv /opt/AstroPixelProcessor/libs/gluegen-rt-2.4.0-natives-linux-amd64.jar \
        /opt/AstroPixelProcessor/libs/gluegen-rt-natives-linux-amd64-2.4.0.jar

# java.lang.module.FindException: Two versions of module ejml.all found in libs (ejml-one-0.44.1-SNAPSHOT.jar and ejml-all-0.41.jar)
sudo rm /opt/AstroPixelProcessor/libs/ejml-all-0.41.jar \
        /opt/AstroPixelProcessor/libs/annotations-23.0.0.jar \
        /opt/AstroPixelProcessor/libs/nom-tam-fits-1.16.0.jar

# java.lang.module.ResolutionException: Modules java.annotation and jsr305 export package javax.annotation to module ejml.zdense
sudo rm /opt/AstroPixelProcessor/libs/jsr305-3.0.2.jar \
        /opt/AstroPixelProcessor/libs/javax.annotation-api-1.3.2.jar

# java.lang.module.ResolutionException: Modules ejml.simple and ejml.all export package org.ejml.equation to module astropixelprocessor
sudo rm /opt/AstroPixelProcessor/libs/ejml-cdense-0.41.jar \
        /opt/AstroPixelProcessor/libs/ejml-core-0.41.jar \
        /opt/AstroPixelProcessor/libs/ejml-ddense-0.41.jar \
        /opt/AstroPixelProcessor/libs/ejml-dsparse-0.41.jar \
        /opt/AstroPixelProcessor/libs/ejml-fdense-0.41.jar \
        /opt/AstroPixelProcessor/libs/ejml-fsparse-0.41.jar \
        /opt/AstroPixelProcessor/libs/ejml-simple-0.41.jar \
        /opt/AstroPixelProcessor/libs/ejml-zdense-0.41.jar

# WARNING: OpenGL initialization failed with exception java.lang.UnsatisfiedLinkError: 'boolean jogamp.opengl.x11.glx.GLX.initializeImpl()'
sudo sed -i 's/-Djogamp\.gluegen\.UseTempJarCache=false/-Djogamp.gluegen.UseTempJarCache=true/' /opt/AstroPixelProcessor/AstroPixelProcessor

 


This topic was modified 4 months ago by Mabula-Admin

   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5369
 

Hi @hans,

Thank you very much for reporting this and for providing your solution.

The installation failed clearly because there are conflicting 3rd party libraries in the libs folder. I have opened an issue to make sure that the DEB/RPM installers will clean the libs directory before installing a new version 😉

Can you confirm that a clean install simply works on your linux distribution?

Mabula



   
ReplyQuote
 Hans
(@hans)
White Dwarf
Joined: 9 years ago
Posts: 6
Topic starter  

Hi Mabula, I can confirm that moving /opt/AstroPixelProcessor/ aside and forcing a reinstall of the deb file also works.
I thought about this the same day I posted the initial message but never got to test it. I assumed this all happened because not cleaned files from upgrades.

-- Hans



   
ReplyQuote
(@mabula-admin)
Universe Admin
Joined: 9 years ago
Posts: 5369
 

Hi Hans @hans

Indeed, thanks for the feedback. I have noted on my issue list to improve the DEB & RPM installer to explicitly clean the LIBS folder before installing a new version.

Mabula



   
Hans reacted
ReplyQuote
Share: