Closed TristanHehnen closed 2 years ago
Hi Tristan, is your addon directory named "blenderfds" or "blenderfds32"?
In this line:
bfv = sys.modules["blenderfds"].bl_info["version"]
the addon name is hardcoded to "blenderfds"... Try to set the directory name to "blenderfds". Anyway I am going to prevent this from happening again. Thanks for reporting,
Ema
Il giorno dom 15 mag 2022 alle ore 12:52 FireTristan < @.***> ha scritto:
Dear Emanuele,
I've tried out BlenderFDS for the Blender 3.2 alpha. There seems to be an issue with importing FDS files, it raises the error message: Import: Unresolved relative path, save the Blender file Saving the empty Blender file and trying to import did not help.
I tried then the other way, exporting. This gives a more detailed error message:
Python: Traceback (most recent call last): File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\blenderfds-blender32\bl\operators\scene_export.py", line 46, in execute sc.to_fds( File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\blenderfds-blender32\lang\bf_scene\bf_scene.py", line 73, in to_fds text = self.to_fds_list(context=context, full=full).to_string() File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\blenderfds-blender32\lang\bf_scene\bf_scene.py", line 37, in to_fds_list export_helper.append_header(context=context, sc=self, fds_list=fds_list) File "C:\Users\ADMIN\AppData\Roaming\Blender Foundation\Blender\3.2\scripts\addons\blenderfds-blender32\lang\bf_scene\export_helper.py", line 10, in append_header bfv = sys.modules["blenderfds"].bl_info["version"] KeyError: 'blenderfds'
I have the beta not installed but just unpacked the zip archive on drive F:.
Last thing I tried is to move Blender 3.2 alpha to C: and then import a FDS file from C: as well. This did still raise the unresolved relative path message.
Do you have an idea what I'm doing wrong here?
Best, Tristan
— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY5UNZWBKMJXSR2BGYTVKDJNHANCNFSM5V65PHIA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- "When old people used to wish each other peace, we didn't understand the meaning of this word. Now we really understand." [Natalia Balasynovych, mayor of Vasilkiv, Ukraine 2022]
Hm, it seems I'm missunderstanding something here.
So, right now I created a directory: E:\blenderfds
in which I have unpacked the Blender zip archive, thus the path to the exe is E:\blenderfds\blender.exe
.
In this same directory the BlenderFDS zip archive is located. When starting Blender, I installed the addon from the zip directly without unpacking. The zip was renamed to blenderfds.zip
Maybe I should also mention that I've the Blender version 2.91.2 installed with the respective BlenderFDS version.
No Tristan, I intended the addon directory name. Anyway I pushed the fix, the addon directory name is not hardcoded any more. Please, download the blenderfds.zip again and let me know. Ema
Il giorno dom 15 mag 2022 alle ore 13:25 FireTristan < @.***> ha scritto:
Hm, it seems I'm missunderstanding something here.
So, right now I created a directory: E:\blenderfds in which I have unpacked the Blender zip archive, thus the path to the exe is E:\blenderfds\blender.exe. In this same directory the BlenderFDS zip archive is located. When starting Blender, I installed the addon from the zip directly without unpacking. The zip was renamed to blenderfds.zip
— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/21#issuecomment-1126914713, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY7T6FPZW6CXJPU2BR3VKDNK7ANCNFSM5V65PHIA . You are receiving this because you commented.Message ID: @.***>
-- "When old people used to wish each other peace, we didn't understand the meaning of this word. Now we really understand." [Natalia Balasynovych, mayor of Vasilkiv, Ukraine 2022]
Hm, I'm not having success. I downloaded the most recent version. Then changed the directory name inside the zip to just blenderfds
. Now the Roaming path looks like this:
The install in Blender is again just from the zip file without extracting it and it is still located inside the blender directory.
I must be doing something wrong here but don't see what exactly.
I am available for a call tomorrow at late morning, if that works for you
On Sun, May 15, 2022, 13:58 FireTristan @.***> wrote:
Hm, I'm not having success. I downloaded the most recent version. Then changed the directory name inside the zip to just blenderfds. Now the Roaming path looks like this:
[image: grafik] https://user-images.githubusercontent.com/34650649/168471536-32bbfb98-aed3-4f9d-bb3c-809894c254b6.png
The install in Blender is again just from the zip file without extracting it and it is still located inside the blender directory.
I must be doing something wrong here but don't see what exactly.
— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/21#issuecomment-1126922453, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY6OWVT7HCSALYV4DVLVKDRHDANCNFSM5V65PHIA . You are receiving this because you commented.Message ID: @.***>
I tested it on Linux, there I'm able to import things. Thus, I assume it is really related to the path.
Thank you again!
Good to know, I will fix it.
On Mon, May 16, 2022, 15:43 FireTristan @.***> wrote:
I tested it on Linux, there I'm able to import things. Thus, I assume it is really related to the path.
Thank you again!
— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/21#issuecomment-1127693699, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY7CFCJOL7RHG42TZVLVKJGHPANCNFSM5V65PHIA . You are receiving this because you commented.Message ID: @.***>
It should be fixed. And there is much more now. @Tristan may I ask you to check before closing this issue? Thanks a lot
Dear Emanuele,
I've tested the recent master (2559da5) into the recent Blender 3.2 beta (bdab538b3019) on Windows 10 - I'm now able to import FDS input files. It seems to work.
Thank you very much! Tristan
Great news, thanks! Let me know if you stumble on other bugs...
Dear Emanuele,
I've tried out BlenderFDS for the Blender 3.2 alpha. There seems to be an issue with importing FDS files, it raises the error message:
Import: Unresolved relative path, save the Blender file
Saving the empty Blender file and trying to import did not help.I tried then the other way, exporting. This gives a more detailed error message:
I have the beta not installed but just unpacked the zip archive on drive
F:
.Last thing I tried is to move Blender 3.2 alpha to
C:
and then import a FDS file fromC:
as well. This did still raise the unresolved relative path message.Do you have an idea what I'm doing wrong here?
Best, Tristan