rgsouthall / vi-suite07

VI-Suite for Blender 4.2
32 stars 8 forks source link

error when trying to run energy plus analysis #6

Closed Sinasta closed 11 months ago

Sinasta commented 2 years ago

I am getting this error message when clicking on 'calculate' on the envi simulation node: Python: Traceback (most recent call last): File "/home/sinasta/.config/blender/3.4/scripts/addons/vi-suite07-master/vi_operators.py", line 1856, in modal self.esimruns.append(Popen(self.esimcmds[self.e].split(), stderr=PIPE)) File "/usr/lib/python3.10/subprocess.py", line 969, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.10/subprocess.py", line 1845, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) OSError: [Errno 8] Exec format error: 'energyplus'

Linux Arch, Blender 3.4, Python 3.10 Screenshot from 2022-09-09 13-42-53

rgsouthall commented 2 years ago

Have you downloaded from master very recently? I made some changes a few days ago to correct permissions settings for energyplus. Check the contents of ~/.config/blender/3.4/scripts/addons/vi-suite07-master/EPFiles/linux. You should have a energyplus-22.1.0 file which is executable and an energyplus file which is a symbolic link to it. Bear in mind I have not tested VI-Suite with 3.4 yet and there maybe api changes so I am not accepting general bug reports with 3.4 yet.

Sinasta commented 2 years ago

Thank you for your answer. I did try the same with blender 3.3 but the error is the same. i checked the content of EPFiles/linux folder and everything is exactly as it should be. I am using the most recent version with your latest changements. I tried to use a version before this commit but the error remains the same. I did verify if the energyplus-22.1.0 file is executable and if the 'energyplus' file is properly linking to it but everything is correct.

Screenshot from 2022-09-09 18-04-05

Screenshot from 2022-09-09 18-05-20

rgsouthall commented 2 years ago

Then I don't know. I have just updated symbolic links in master but as you say everything in your folder is linking correctly then this won't solve your problem.

rgsouthall commented 11 months ago

Closing this in the hope it now works.