imodpasteur / imodpasteur/ShareLoc.XYZ

Potree viewer

Open
#84 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Hi @oeway,
The potree viewer doesn't work on computer browser but every thing is ok on the mobile phone
![image](https://user-images.githubusercontent.com/56833522/177323077-9900e640-c9ae-44a1-b067-c0586295f7d9.png)

errors appeared as shown below
```
Uncaught TypeError: class heritage _ is not an object or null
https://gildas-lormeau.github.io/zip.js/demos/lib/zip.min.js:1
https://gildas-lormeau.github.io/zip.js/demos/lib/zip.min.js:1
https://gildas-lormeau.github.io/zip.js/demos/lib/zip.min.js:1
[zip.min.js:1:2361](https://gildas-lormeau.github.io/zip.js/demos/lib/zip.min.js)
https://gildas-lormeau.github.io/zip.js/demos/lib/zip.min.js:1
https://gildas-lormeau.github.io/zip.js/demos/lib/zip.min.js:1
https://gildas-lormeau.github.io/zip.js/demos/lib/zip.min.js:1
```
```
Error: failed to load point cloud from URL: https://imjoy-s3.pasteur.fr/public/pointclouds/10.5281/zenodo.6611690/sample-1/data.potree.zip
loadPointCloud https://shareloc.xyz/libs/potree/potree.js:426
load https://shareloc.xyz/libs/potree/potree.js:4053
loadPointCloud https://shareloc.xyz/libs/potree/potree.js:423
https://shareloc.xyz/shareloc-potree-viewer.html?pointShape=circle&pointSizeType=adaptive&unit=nm&name=sample-1/data.smlm&load=https://imjoy-s3.pasteur.fr/public/pointclouds/10.5281/zenodo.6611690/sample-1/data.potree.zip:74
[potree.js:426:13](https://shareloc.xyz/libs/potree/potree.js)
loadPointCloud https://shareloc.xyz/libs/potree/potree.js:426
load https://shareloc.xyz/libs/potree/potree.js:4053
loadPointCloud https://shareloc.xyz/libs/potree/potree.js:423
https://shareloc.xyz/shareloc-potree-viewer.html?pointShape=circle&pointSizeType=adaptive&unit=nm&name=sample-1/data.smlm&load=https://imjoy-s3.pasteur.fr/public/pointclouds/10.5281/zenodo.6611690/sample-1/data.potree.zip:74
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure in a desktop browser using the reported ShareLoc viewer URL and point-cloud URL. Inspect the zip.min.js error and the loadPointCloud path in potree.js around line 426; done means the Potree viewer loads this point cloud in a computer browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.