Hello ShapeDiver support team, have a happy and fruitful 2024 year!
I have a problem - Shapediver rejects my model with ## Error: Could not inspect script component.
The model is update of previously uploaded one, I even download from the platform previously uploaded version of it and tried to upload it again, and the same error appeared.
Can you please check it? Thanks!
Error
Could not inspect script component
Model uuid: 9b02e534-4a30-482a-ba53-74be7d19248a
Model guid: 195254c7-c36b-4661-a627-1692bde64d4f
There was an issue yesterday for models containing Python scripts. We have now fixed the issue, you can try to upload your model again. However, I think the checking process of your model times out as well (it takes more than 30 seconds). This is likely due to the number of scripts and the overall high number of components in the definition. Consider simplifying your definition, breaking it down in several smaller ones, or upgrade your account to access higher computation time limits.
Dear Forum/Matthieu, I have developed a script to use for teaching purposes here at the University that I work. The script allows some basic massing and conducts energy analysis based on swiss standards. I have developed the energy analysis component using python and is basically some simple caluclations. Although the script works fine when I uploaded the latest version with the python Component it get denied. This is weird because in previous versions it was going through. I below attach the scripts with and without the analysis components. Thanks in advance for your help
Your script seems to attempt to read and write from the local file system:
Therefore it cannot be allowed on the servers. If it was in a previous version, it might have been an error, and in any case would not ensure that the definition works correctly.
You will need to adapt the script to not rely on the local file system. Alternatively, you can contact our team to review the possibilities offered by enterprise systems.
Hello Mathieu, Thanks for the swift reply and for pointing this out. I just updated my python code and re-uploaded the script an waiting to see if that solves the issue