rebane2001 / matterport-dl

A downloader for matterport virtual tours
The Unlicense
322 stars 79 forks source link

360º pictures not downloading with the model #39

Closed MarquesDeLeguineche closed 2 months ago

MarquesDeLeguineche commented 2 years ago

There is a model I downloaded that has some 360º pictures attached to it that aren't downloaded with the script. Don't know if this is the normal behaviour or is a bug.

mitchcapper commented 2 years ago

Can you paste the exact command you used to download and the exact way you are serving the model up?

MarquesDeLeguineche commented 2 years ago

Sorry for the delay to answer. I retrieved the model with matterport-dl.py [url_or_page_id] command and realized that using python3 -m http.server resulted in the lower bar with the 360º pictures and quick access to 3D tour not showing. With matterport-dl.py [url_or_page_id] 127.0.0.1 8080 I'm able to view BOTH the 3D tour and 360º pictures clicking the lower bar links. However now there is an issue with the bar: It's like thumbnails' frame is shown but not the thumbnail image itself. I can click the links and navigate them though.

mitchcapper commented 2 years ago

You must download the model with --advanced-download to download additional resources for those modes. You can re-run on an existing download and will primarily just try to get the additional files.

MarquesDeLeguineche commented 2 years ago

Using --advanced-download still doesn't show the thumbnails. I did it as a new download renaming the previous download folder.

mitchcapper commented 2 years ago

Check the server.log file for 404 messages let us know the urls that are being missed. If you prefer attach run_report.log and server.log.

MarquesDeLeguineche commented 2 years ago

These are the 404 error files that seem not to be downloaded

2022-02-15 10:17:15 WARNING  404 error: /api/v1/jsonstore/model/trims/cYQe5kTv91A may not be downloading everything right
2022-02-15 10:17:16 WARNING  404 error: /models/15bb76197524400caa5d4f85e6a840ef/assets/pan/low/~/473b94b770034c05bade9010eeb45ccd_skybox1.jpg?t=2-1b538bd1ec4d7ff060795c8ffd3d7f1e8728ff17-1644927330-1&imgopt=1 may not be downloading everything right
2022-02-15 10:17:16 WARNING  404 error: /models/15bb76197524400caa5d4f85e6a840ef/assets/pan/low/~/6917932e554541528f091cfeb559ea06_skybox1.jpg?t=2-1b538bd1ec4d7ff060795c8ffd3d7f1e8728ff17-1644927330-1&imgopt=1 may not be downloading everything right
2022-02-15 10:17:16 WARNING  404 error: /models/15bb76197524400caa5d4f85e6a840ef/assets/pan/low/~/556d3a8b1ebd4e3da7c16ab2b66fc7d7_skybox1.jpg?t=2-1b538bd1ec4d7ff060795c8ffd3d7f1e8728ff17-1644927330-1&imgopt=1 may not be downloading everything right
2022-02-15 10:17:16 WARNING  404 error: /models/15bb76197524400caa5d4f85e6a840ef/assets/pan/low/~/89033805e7d342b2b7e3b4f3bd401a23_skybox1.jpg?t=2-1b538bd1ec4d7ff060795c8ffd3d7f1e8728ff17-1644927330-1&imgopt=1 may not be downloading everything right
2022-02-15 10:17:16 WARNING  404 error: /models/15bb76197524400caa5d4f85e6a840ef/assets/pan/low/~/03af255c94244f5fb630b333d6a1c837_skybox1.jpg?t=2-1b538bd1ec4d7ff060795c8ffd3d7f1e8728ff17-1644927330-1&imgopt=1 may not be downloading everything right
2022-02-15 10:17:16 WARNING  404 error: /models/15bb76197524400caa5d4f85e6a840ef/assets/pan/low/~/f07b74ca83f440feb45d75bc4d4e514b_skybox1.jpg?t=2-1b538bd1ec4d7ff060795c8ffd3d7f1e8728ff17-1644927330-1&imgopt=1 may not be downloading everything right
2022-02-15 10:17:16 WARNING  404 error: /models/15bb76197524400caa5d4f85e6a840ef/assets/pan/low/~/11b4ec6297344fae956a39fe30290e2b_skybox1.jpg?t=2-1b538bd1ec4d7ff060795c8ffd3d7f1e8728ff17-1644927330-1&imgopt=1 may not be downloading everything right
2022-02-15 10:17:16 WARNING  404 error: /models/15bb76197524400caa5d4f85e6a840ef/assets/pan/low/~/8d52f7e2065d47819f22ab994b6f9a3a_skybox1.jpg?t=2-1b538bd1ec4d7ff060795c8ffd3d7f1e8728ff17-1644927330-1&imgopt=1 may not be downloading everything right
2022-02-15 10:17:16 WARNING  404 error: /models/15bb76197524400caa5d4f85e6a840ef/assets/pan/low/~/e24cf715591344c4a91a58dcc138556e_skybox1.jpg?t=2-1b538bd1ec4d7ff060795c8ffd3d7f1e8728ff17-1644927330-1&imgopt=1 may not be downloading everything right
2022-02-15 10:17:16 WARNING  404 error: /models/15bb76197524400caa5d4f85e6a840ef/assets/pan/low/~/a684e93af88f4eceb2f220c003e4d5da_skybox1.jpg?t=2-1b538bd1ec4d7ff060795c8ffd3d7f1e8728ff17-1644927330-1&imgopt=1 may not be downloading everything right
2022-02-15 12:33:23 WARNING  404 error: /images/360_placement_pin_mask.png may not be downloading everything right
2022-02-16 10:23:31 WARNING  404 error: /favicon.ico may not be downloading everything right
mitchcapper commented 2 years ago

OK confirmed the trims path is not downloaded what thumbnails specifically should show up can you share a screenshot?

MarquesDeLeguineche commented 2 years ago

Do you want the screenshot of the image itself, the thumbnail or the frame where they aren't shown?

MarquesDeLeguineche commented 2 years ago

What I get is this:

image

Instead of this:

image

Many thanks!

mitchcapper commented 2 years ago

I am not sure how to get the file requests to process without a device, however I think this may work. Install fiddler as a proxy, run your browser through the proxy (be sure not to run anything else through the proxy at the same time as it will be included). In fiddler go to File->Save all sessions and save as a session archive file. If you post that here then we can see the exact requests the successful browser is making.

mitchcapper commented 2 months ago

I think this is now resolved please let us know if not.