opensourceBIM / BIMserver

The open source BIMserver platform
GNU Affero General Public License v3.0
1.56k stars 611 forks source link

No default render engine has been selected for this user #1309

Closed myfulltexts closed 9 months ago

myfulltexts commented 1 year ago

BIMServer-v1.588, when check in a .ifc file, the server throw no default render engine. Anybody kwon this issue?

08b5f169c35dd701c86abd0ad8b1d02
hlg commented 1 year ago

Usually this error indicates that you have not configured a render engine for the user. There is a choice of the default NOP engine, if you do not need triangulated geometry or a render engine plugin, for example IfcOpenShell, if you need triangulated geometry.

BIMserver version 1.588 does not exist. Do you mean 1.5.88? This version is outdated and might have issues which were already fixed in later versions. If the error appears in version 1.5.184 and after selecting the NOP engine, please follow up to this post, otherwise the issue should be closed.

Please do not post stack traces as images, but as text (with "code" markup).

myfulltexts commented 1 year ago

Yes, BIMserver-v1.5.88, thanks. By the way,the version 1.5.88 can work together with bimviews-0.087 and bimsurfer-0.042. if I update to version 1.5.184, how to get the machted version of the plugins?

hlg commented 12 months ago

Short answer: For BIMserver 1.5.184, go with bimviews-0.0.186 and bimsurfer3-0.0.274. Long answer below.

The compatibility information is stored with the plugins. They depend on a particular BIMserver version and declare that dependency in their pom.xml. For example the bimviews-0.0.186 POM declares a dependency on org.opensourcebim:pluginbase:1.5.184 to indicate it works with BIMserver version 1.5.184. Usually, the latest version of a plugin will either work with that latest BIMserver version or with a previous version, never with a future version. If a plugin declares dependency on only a previous BIMserver version, that means it has not been tested and updated with newer BIMserver versions by the maintainer. Depending on the interfaces the plugin uses and whether they have changed in the meantime, it might still work or not.

You can let BIMserver do the work of grabbing the version information in the POMs and comparing them to its own version: Just use the methods PluginInterface.getAvailablePluginBundles or PluginInterface.getInstalledPluginBundles. There is also PluginInterface.getPluginBundle if you know the Maven group and artifact IDs of the plugin. These methods will provide you with information on the latest version and max. 3 latest available versions. If "Strict plugin checking" is enabled in server settings, then these latest versions are guaranteed to be compatible, unless you work with a BIMserver snapshot version, where the strict checking is bypassed.

Note that the old org.opensourcebim:bimsurfer plugin is not maintained anymore after version 0.0.64 (BIMserver 1.5.125) and you may want to use org.opensourcebim:bimsurfer3 instead.

myfulltexts commented 12 months ago

Thanks for patiently answering my questions.

hlg commented 11 months ago

Is there an actual persisting issue or can this be closed?