imodpasteur / imodpasteur/ShareLoc.XYZ
Potree viewer
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

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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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