opensourceBIM / bimvie.ws

Javascript client for Building Information Modelling, using open standards like IFC, BCF and BIMSie. Using Bootstrap, BIM Surfer, etc..
GNU Affero General Public License v3.0
171 stars 87 forks source link

Fail to load BIMsurfer js ressources when launching #86

Closed xie-qianyue closed 7 years ago

xie-qianyue commented 7 years ago

I add the bimvie.ws plugin to BIMServer by adding argument -plugin. When launching this plugin, nothing displays except a "Loading BIMviews" message.

Below is the log displayed in the console of Chrome:

(index):65 GET http://localhost:8080/apps/bimsurfer//plugin.version 404 (Not Found)
getPluginVersion @ (index):65
loadBimSurfer @ (index):70
(anonymous) @ (index):187
l @ (index):28
j @ (index):29
(index):30 GET http://localhost:8080/apps/bimsurfer/lib/hammer/touch-emulator.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/lib/hammer/hammer.min.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/lib/scenejs/scenejs.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/BIMSURFER.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Constants.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/SceneJS.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/ProgressLoader.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Control.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Types/Light.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Control/ProgressBar.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Control/ClickSelect.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Control/PickFlyOrbit.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Types/Light/Sun.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Control/LayerList.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Types/Light/Ambient.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Control/ObjectTreeView.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Events.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/GeometryLoader.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/StringView.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/DataInputStream.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/AsyncStream.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Util.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):30 GET http://localhost:8080/apps/bimsurfer/api/Viewer.js?_v=1493804455199 
j @ (index):30
js @ (index):31
(anonymous) @ (index):101
myRequest.onreadystatechange @ (index):54
(index):197 Uncaught ReferenceError: SceneJS is not defined
    at (index):197
    at l ((index):28)
    at HTMLScriptElement.j ((index):29)

I check the js directory of the bimvie.ws project, there isn't a bimsufer dir in it.

FYI, I also run the command git submodule update, but it seems that nothing happened.

rubendel commented 7 years ago

BIMvie.ws requires version 1 of BIMsurfer, I have updated the documentation here: https://github.com/opensourceBIM/BIMserver/wiki/Eclipse#adding-the-plugins-property

xie-qianyue commented 7 years ago

Thanks! I will test it tomorrow. Should I build the BIMsufer project after I switch to the branch V1? Or it just work well without any build?

rubendel commented 7 years ago

No builds required, only if you want to distribute your changes to others

xie-qianyue commented 7 years ago

Thank you! It works well.