Linux build will not load LAZ or LAS files

If you are allergic to bug trackers, you can post here any remarks, issues and potential bugs you encounter
zeddock
Posts: 10
Joined: Sat Jul 25, 2020 2:59 am

Re: Linux build will not load LAZ or LAS files

Post by zeddock »

CloudyCloud wrote: Wed Jul 29, 2020 7:53 am And when the command line goes, with snap package installed you can execute this command to subsample randomly to you desired cloud size:
cloudcompare.CloudCompare -SILENT -C_EXPORT_FMT LAS -o <FILENAME> -SS RANDOM 500000
This is what I hit on the CommandLine with the snap installed:

Code: Select all

cloudcompare.CloudCompare -SILENT -C_EXPORT_FMT LAS -o export_4326_points.laz -SS RANDOM 500000
QSocketNotifier: Can only be used with threads started with QThread
Gtk-Message: 18:40:23.864: Failed to load module "canberra-gtk-module"
Gtk-Message: 18:40:23.899: Failed to load module "colorreload-gtk-module"
[Global Shift] Max abs. coord = 1e+4 / max abs. diag = 1e+6
[ccColorScalesManager] Found 0 custom scale(s) in persistent settings
[Plugin] Searching: /snap/cloudcompare/208/lib/cloudcompare/plugins
        Plugin found: Additional I/O (libQADDITIONAL_IO_PLUGIN.so)
        Plugin found: Animation (libQANIMATION_PLUGIN.so)
        Plugin found: CEA Virtual Broom (libQBROOM_PLUGIN.so)
        Plugin found: CANUPO (libQCANUPO_PLUGIN.so)
        Plugin found: Compass (libQCOMPASS_PLUGIN.so)
        Plugin found: Core I/O (libQCORE_IO_PLUGIN.so)
        Plugin found: CSF Filter (libQCSF_PLUGIN.so)
        Plugin found: E57 (libQE57_IO_PLUGIN.so)
        Plugin found: EDL Shader (libQEDL_GL_PLUGIN.so)
        Plugin found: Facet/fracture detection (libQFACETS_PLUGIN.so)
        Plugin found: Hough Normals Computation (libQHOUGH_NORMALS_PLUGIN.so)
        Plugin found: Hidden Point Removal (libQHPR_PLUGIN.so)
        Plugin found: M3C2 Distance (libQM3C2_PLUGIN.so)
        Plugin found: PCD file I/O (libQPCL_IO_PLUGIN.so)
        Plugin found: PCL wrapper (libQPCL_PLUGIN.so)
        Plugin found: PCV / ShadeVis (libQPCV_PLUGIN.so)
        Plugin found: PDAL (libQPDAL_IO_PLUGIN.so)
        Plugin found: Photoscan I/O (libQPHOTOSCAN_IO_PLUGIN.so)
        Plugin found: PoissonRecon (libQPOISSON_RECON_PLUGIN.so)
        Plugin found: Surface of Revolution Analysis (libQSRA_PLUGIN.so)
        Plugin found: SSAO Shader (libQSSAO_GL_PLUGIN.so)
[Plugin] Searching: /home/jim/snap/cloudcompare/208/.local/share/CCCorp/CloudCompare/plugins
[Plugin] Searching: /home/jim/snap/cloudcompare/208/CCCorp/CloudCompare/plugins
[Plugin] Searching: /snap/cloudcompare/208/data-dir/CCCorp/CloudCompare/plugins
[Plugin] Searching: /snap/cloudcompare/208/share/CCCorp/CloudCompare/plugins
[Plugin] Searching: /snap/cloudcompare/208/usr/share/CCCorp/CloudCompare/plugins
[Plugin] Searching: /home/jim/.local/share/flatpak/exports/share/CCCorp/CloudCompare/plugins
[Plugin] Searching: /var/lib/flatpak/exports/share/CCCorp/CloudCompare/plugins
[Plugin] Searching: /usr/local/share/CCCorp/CloudCompare/plugins
[Plugin] Searching: /usr/share/CCCorp/CloudCompare/plugins
[Plugin] Searching: /var/lib/snapd/desktop/CCCorp/CloudCompare/plugins
[Plugin][Additional I/O] New file extensions registered: ICM OUT PN POLY POV PV SOI SX
[Plugin][Core I/O] New file extensions registered:  GEOREF MA OBJ OFF PDMS PTX SBF STL VTK
[Plugin][E57] New file extensions registered: E57
[Plugin][PCD file I/O] New file extensions registered: PCD
[Plugin][PDAL] New file extensions registered: LAS
[Plugin][Photoscan I/O] New file extensions registered: PSZ
Output export format (clouds) set to: LAS
[LOADING]
Opening file: 'export_4326_points.laz'
[LAS] Point format: 2
Fontconfig warning: FcPattern object weight does not accept value [40 210)
Segmentation fault (core dumped)
zeddock
Posts: 10
Joined: Sat Jul 25, 2020 2:59 am

Re: Linux build will not load LAZ or LAS files

Post by zeddock »

Now trying a snap of CloudCompare.

Almost a victory?

Code: Select all

$ cloudcompare.CloudCompare
QSocketNotifier: Can only be used with threads started with QThread
Gtk-Message: 21:37:50.887: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:37:50.922: Failed to load module "colorreload-gtk-module"
Fontconfig warning: FcPattern object weight does not accept value [40 210)
Segmentation fault (core dumped)
CloudyCloud
Posts: 16
Joined: Wed Jul 01, 2020 9:19 am

Re: Linux build will not load LAZ or LAS files

Post by CloudyCloud »

You should enable snap support in Pamac preferences to see snap packages
Screenshot from 2020-08-26 10-10-40.png
Screenshot from 2020-08-26 10-10-40.png (69.42 KiB) Viewed 4095 times
zeddock
Posts: 10
Joined: Sat Jul 25, 2020 2:59 am

Re: Linux build will not load LAZ or LAS files

Post by zeddock »

Thanx @CloudyCloud for the suggestion but I am confused.
In a previous post you said, "Why don't you install the official release version instead of compiling from AUR?"
But even with SNAP turned on in Pamac, I do not have an official release beyond AUR, SNAP or Flatpak.

Then in another post I shared that I could not SAVE in LAS or LAZ on one of the SNAP/FLAT versions.

Could you explain what you see for the "official release that you use successfully?

Currently, this is what I have, which mirrors what you have, I think:
Image

Yet, when I try to open it I get a quick icon, and then it goes away; the app never starts visually.
I get this icon, and then it goes away.
Image

Thank you for the help.
CloudyCloud
Posts: 16
Joined: Wed Jul 01, 2020 9:19 am

Re: Linux build will not load LAZ or LAS files

Post by CloudyCloud »

Try launching it from a console and see what errors you get. Execute command: cloudcompare.CloudCompare
Post Reply