AECgeeks / ifc-pipeline

Processing queue and front-end for visualizing BIM models with IfcOpenShell, Docker Compose and Flask
MIT License
155 stars 44 forks source link

GET http://127.0.0.1:5000/static/bimsurfer/lib/three/r140/three.module.js net::ERR_ABORTED 404 (NOT FOUND) #22

Closed sadsasuke closed 10 months ago

sadsasuke commented 10 months ago

Hi, i am trying to run locally with the instructions of linux in readme. I am getting this issue . after the i click submit all screens are empty and model doesnt load GET http://127.0.0.1:5000/static/bimsurfer/lib/three/r140/three.module.js net::ERR_ABORTED 404 (NOT FOUND) is the issue what i can see. I have placed on this link the exact files in repo but cant seem to work.

any suggesstions will be helpful

aothms commented 10 months ago

Have you cloned with --recursive (or git submodule update --init --recursive)? bimsurfer is a git submodule in this repo.

sadsasuke commented 10 months ago

hi, yes cloned recursively and installed all the requirements

image

image

image

sadsasuke commented 10 months ago

i have been trying all day. but cant seem to find the issue . Basically I follow all your instructions. I have linux machine

aothms commented 10 months ago

Hm, that log is helpful, I see now that path is indeed not correct

https://github.com/AECgeeks/ifc-pipeline/blob/6abb9412ffedd4a9a72b9f8702c6af5106210dac/application/templates/viewer.html#L22

https://github.com/AECgeeks/ifc-pipeline/blob/6abb9412ffedd4a9a72b9f8702c6af5106210dac/application/templates/viewer.html#L36

Can you try updating to:

"/static/bimsurfer/src/v2/bimsurfer/lib/three/r140/three.module.js" 
sadsasuke commented 10 months ago

hi, i updated and thanks for that but now this has arrived image

sadsasuke commented 10 months ago

hi the issue is resolved. i put the path you sent incorrectly

sadsasuke commented 10 months ago

thanks @aothms

aothms commented 10 months ago

Glad it's resolved. Would you mind sending in a Pull request with the correction?

sadsasuke commented 10 months ago

created