Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected end of JSON input when working with point clouds #27

Open
eemilhaa opened this issue Aug 16, 2024 · 1 comment
Open

Unexpected end of JSON input when working with point clouds #27

eemilhaa opened this issue Aug 16, 2024 · 1 comment

Comments

@eemilhaa
Copy link

Description

Creating point cloud samples for preview or trying to get metadata (point counts / projection info) results in Unexpected end of JSON input (logs below).

Environment

operating system: Fedora Linux 40
Docker: 27.1.2 (docker compose v2.29.1)

Reproduction

I can reproduce this by following the tutorial in the wiki, i.e using the 1916.las file. Boils down to:

  1. docker compose up
  2. Unzip the example data into static/data
  3. Load 1916.las
  4. Use for example Create a data sample for preview

Logs

On 1st try after docker compose up:

digital_twin_toolbox          | Read point cloud statistic...
digital_twin_toolbox          | micromamba run -n pdal_env pdal info static/data/1916.las --stats
digital_twin_toolbox          | Read point cloud metadata...
digital_twin_toolbox          | micromamba run -n pdal_env pdal info static/data/1916.las --metadata
digital_twin_toolbox          | Success
digital_twin_toolbox          | 
digital_twin_toolbox          | error    libmamba Could not set lock (Resource temporarily unavailable)
digital_twin_toolbox          | warning  libmamba Cannot lock '/root/.cache/mamba/proc'
digital_twin_toolbox          |     Waiting for other mamba process to finish
digital_twin_toolbox          | Success
digital_twin_toolbox          | 
digital_twin_toolbox          | Unexpected end of JSON input
digital_twin_toolbox          | Unexpected end of JSON input
digital_twin_toolbox          | Unexpected end of JSON input

On subsequent tries:

digital_twin_toolbox          | Read point cloud statistic...
digital_twin_toolbox          | micromamba run -n pdal_env pdal info static/data/1916.las --stats
digital_twin_toolbox          | Read point cloud metadata...
digital_twin_toolbox          | micromamba run -n pdal_env pdal info static/data/1916.las --metadata
digital_twin_toolbox          | Success
digital_twin_toolbox          | 
digital_twin_toolbox          | Unexpected end of JSON input
digital_twin_toolbox          | Unexpected end of JSON input
digital_twin_toolbox          | Success
digital_twin_toolbox          | 
digital_twin_toolbox          | Unexpected end of JSON input

Running micromamba run -n pdal_env pdal info static/data/1916.las --stats directly inside the container:

critical libmamba The given prefix does not exist: "/root/micromamba/envs/pdal_env"
@tdipisa tdipisa added this to the v1.0.0 milestone Aug 19, 2024
@tdipisa tdipisa removed this from the v1.0.0 milestone Aug 29, 2024
@tdipisa
Copy link
Member

tdipisa commented Sep 2, 2024

Dear @eemilhaa sorry for the late feedback but we have recently made significant changes and updates to the master branch of the project for which you may want to check again if the problem you previously identified still persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants