|
@@ -92,6 +92,10 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
|
|
|
self.setInformation(catalog.i18nc("@error:zip", "No permission to write the workspace here."))
|
|
|
Logger.error("No permission to write workspace to this stream.")
|
|
|
return False
|
|
|
+ except EnvironmentError as e:
|
|
|
+ self.setInformation(catalog.i18nc("@error:zip", "The operating system does not allow saving a project file to this location or with this file name."))
|
|
|
+ Logger.error("EnvironmentError when writing workspace to this stream: {err}".format(err = str(e)))
|
|
|
+ return False
|
|
|
mesh_writer.setStoreArchive(False)
|
|
|
return True
|
|
|
|