firetools / blenderfds

The open user interface for the NIST Fire Dynamics Simulator (FDS)
https://blenderfds.org
GNU General Public License v3.0
44 stars 11 forks source link

Crash when installing cloned version with Blender 3.1 #35

Closed rmcdermo closed 2 years ago

rmcdermo commented 2 years ago

Hi Ema, I was just updating my BlenderFDS after the new release. I installed the latest Blender (3.1.2), created the scripts/addons directory and cloned your repo there. When I went to Edit >> Preferences >> Addons and searched for "blenderfds" the import module came up and when I checked the box, I got this error (second window below). I'm on macOS 12.4 Monterey. Any ideas?

Screen Shot 2022-05-30 at 8 09 47 AM Screen Shot 2022-05-30 at 8 10 17 AM
emanuelegissi commented 2 years ago

Yes, sure. As for the requirements, thou shall install Blender 3.2.0 beta. Not 3.1.x. that was too buggy. I skipped it ;-)

On Mon, May 30, 2022, 14:11 Randy McDermott @.***> wrote:

Hi Ema, I was just updating my BlenderFDS after the new release. I installed the latest Blender (3.1.2), created the scripts/addons directory and cloned your repo there. When I went to Edit >> Preferences >> Addons and searched for "blenderfds" the import module came up and when I checked the box, I got this error (second window below). I'm on macOS 12.4 Monterey. Any ideas?

[image: Screen Shot 2022-05-30 at 8 09 47 AM] https://user-images.githubusercontent.com/4418497/170989634-daf47031-1232-4321-b049-a794e64f8306.png

[image: Screen Shot 2022-05-30 at 8 10 17 AM] https://user-images.githubusercontent.com/4418497/170989656-3424d0e7-7846-4bcb-9c48-4c5feaa07a83.png

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY2RZIFPBU6UDR7TYHTVMSV6ZANCNFSM5XKL4TNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

emanuelegissi commented 2 years ago

Let me know if it works.

On Mon, May 30, 2022, 15:46 Emanuele Gissi @.***> wrote:

Yes, sure. As for the requirements, thou shall install Blender 3.2.0 beta. Not 3.1.x. that was too buggy. I skipped it ;-)

On Mon, May 30, 2022, 14:11 Randy McDermott @.***> wrote:

Hi Ema, I was just updating my BlenderFDS after the new release. I installed the latest Blender (3.1.2), created the scripts/addons directory and cloned your repo there. When I went to Edit >> Preferences >> Addons and searched for "blenderfds" the import module came up and when I checked the box, I got this error (second window below). I'm on macOS 12.4 Monterey. Any ideas?

[image: Screen Shot 2022-05-30 at 8 09 47 AM] https://user-images.githubusercontent.com/4418497/170989634-daf47031-1232-4321-b049-a794e64f8306.png

[image: Screen Shot 2022-05-30 at 8 10 17 AM] https://user-images.githubusercontent.com/4418497/170989656-3424d0e7-7846-4bcb-9c48-4c5feaa07a83.png

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY2RZIFPBU6UDR7TYHTVMSV6ZANCNFSM5XKL4TNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

emanuelegissi commented 2 years ago

And if your BlenderFDS addon install folder is not called "blenderfds" you should rename it "blenderfds".

This was a bug of the previous version.

Even better, delete your user configuration directory and reinstall the addon from scratch.

On Mon, May 30, 2022, 15:47 Emanuele Gissi @.***> wrote:

Let me know if it works.

On Mon, May 30, 2022, 15:46 Emanuele Gissi @.***> wrote:

Yes, sure. As for the requirements, thou shall install Blender 3.2.0 beta. Not 3.1.x. that was too buggy. I skipped it ;-)

On Mon, May 30, 2022, 14:11 Randy McDermott @.***> wrote:

Hi Ema, I was just updating my BlenderFDS after the new release. I installed the latest Blender (3.1.2), created the scripts/addons directory and cloned your repo there. When I went to Edit >> Preferences >> Addons and searched for "blenderfds" the import module came up and when I checked the box, I got this error (second window below). I'm on macOS 12.4 Monterey. Any ideas?

[image: Screen Shot 2022-05-30 at 8 09 47 AM] https://user-images.githubusercontent.com/4418497/170989634-daf47031-1232-4321-b049-a794e64f8306.png

[image: Screen Shot 2022-05-30 at 8 10 17 AM] https://user-images.githubusercontent.com/4418497/170989656-3424d0e7-7846-4bcb-9c48-4c5feaa07a83.png

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY2RZIFPBU6UDR7TYHTVMSV6ZANCNFSM5XKL4TNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

emanuelegissi commented 2 years ago

Your user folder to be deleted should be something like this: /Users/$USER/Library/Application Support/Blender/3.1/

On Mon, May 30, 2022, 15:51 Emanuele Gissi @.***> wrote:

And if your BlenderFDS addon install folder is not called "blenderfds" you should rename it "blenderfds".

This was a bug of the previous version.

Even better, delete your user configuration directory and reinstall the addon from scratch.

On Mon, May 30, 2022, 15:47 Emanuele Gissi @.***> wrote:

Let me know if it works.

On Mon, May 30, 2022, 15:46 Emanuele Gissi @.***> wrote:

Yes, sure. As for the requirements, thou shall install Blender 3.2.0 beta. Not 3.1.x. that was too buggy. I skipped it ;-)

On Mon, May 30, 2022, 14:11 Randy McDermott @.***> wrote:

Hi Ema, I was just updating my BlenderFDS after the new release. I installed the latest Blender (3.1.2), created the scripts/addons directory and cloned your repo there. When I went to Edit >> Preferences >> Addons and searched for "blenderfds" the import module came up and when I checked the box, I got this error (second window below). I'm on macOS 12.4 Monterey. Any ideas?

[image: Screen Shot 2022-05-30 at 8 09 47 AM] https://user-images.githubusercontent.com/4418497/170989634-daf47031-1232-4321-b049-a794e64f8306.png

[image: Screen Shot 2022-05-30 at 8 10 17 AM] https://user-images.githubusercontent.com/4418497/170989656-3424d0e7-7846-4bcb-9c48-4c5feaa07a83.png

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY2RZIFPBU6UDR7TYHTVMSV6ZANCNFSM5XKL4TNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rmcdermo commented 2 years ago

Ema, I get the same with 3.2. I have deleted 3.1

Screen Shot 2022-05-30 at 10 02 54 AM

I am cloning the add on per the instructions in the install wiki. If these instructions are not up-to-date, please let me know.

rmcdermo commented 2 years ago

Here is my addons directory

Screen Shot 2022-05-30 at 10 11 31 AM
emanuelegissi commented 2 years ago

It seems to me that there is a leftover from your previous user configuration.

May you please delete completely the blender user directory: /Users/$USER/Library/Application Support/Blender

On Mon, May 30, 2022, 16:12 Randy McDermott @.***> wrote:

Here is my addons directory

[image: Screen Shot 2022-05-30 at 10 11 31 AM] https://user-images.githubusercontent.com/4418497/171009845-6f9c993f-a7bb-4f97-a034-9e909ba3c1c1.png

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35#issuecomment-1141205917, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVYYXBV43GT73DM46UC3VMTEDHANCNFSM5XKL4TNA . You are receiving this because you commented.Message ID: @.***>

emanuelegissi commented 2 years ago

Another thing that you may check is that inside the blender directory there's directly the code and not another blender directory. This sometimes happens to me when I git clone

On Mon, May 30, 2022, 17:55 Emanuele Gissi @.***> wrote:

It seems to me that there is a leftover from your previous user configuration.

May you please delete completely the blender user directory: /Users/$USER/Library/Application Support/Blender

On Mon, May 30, 2022, 16:12 Randy McDermott @.***> wrote:

Here is my addons directory

[image: Screen Shot 2022-05-30 at 10 11 31 AM] https://user-images.githubusercontent.com/4418497/171009845-6f9c993f-a7bb-4f97-a034-9e909ba3c1c1.png

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35#issuecomment-1141205917, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVYYXBV43GT73DM46UC3VMTEDHANCNFSM5XKL4TNA . You are receiving this because you commented.Message ID: @.***>

rmcdermo commented 2 years ago

I'm sorry, but I've deleted everything and reinstalled from scratch. I get the same error. I have installed the Intel beta version of Blender 3.2.0 from here.

Screen Shot 2022-05-30 at 12 31 36 PM
rmcdermo commented 2 years ago

I'll check with Marcos. I think we need another macOS test. He's probably fishing :)

rmcdermo commented 2 years ago

Ema, An update. @marcosvanella got something to work on Catalina, but he first put Blender.app into his User local and put blenderfds into the Blender.app. I did this as well, and it worked. But there is a catch. On Monterey, you first have to open Blender.app so it can do the checksum and verify the program. Then you can start adding stuff to Blender.app/Contents/Resources/3.2/scripts/addons.

I don't think this is the proper way. Most users will simply copy Blender.app to their Applications directory. So, it should work to put blenderfds into Application Support. I will check with Marcos if he can do this method.

marcosvanella commented 2 years ago

In Catalina I installed Blender 3.2 in /Applications. Then I made this directory: /Users/MYUSER/Library/Application Support/Blender/3.2/scripts/addons Then

git clone git@github.com:firetools/blenderfds.git

Then went to /Users/MYUSER/Library/Application Support/Blender/3.2/config

rm *

opened Blender in applications, Preferences => click Import Export BlenderFDS => the in there load Default BlenderFDS settings. It worked. See if doing this helps, if not might be something related to Monterrey.

Screen Shot 2022-06-01 at 8 46 35 AM

emanuelegissi commented 2 years ago

Perfect! Thank you so much Marcos.

Do you think I should update this page? https://github.com/firetools/blenderfds/wiki/Install#install-a-development-version

On Wed, Jun 1, 2022, 14:49 marcosvanella @.***> wrote:

In Catalina I installed Blender 3.2 in /Applications. Then I made this directory: /Users/MYUSER/Library/Application Support/Blender/3.2/scripts/addons Then

git clone @.***:firetools/blenderfds.git

Then went to /Users/MYUSER/Library/Application Support/Blender/3.2/config

rm *

opened Blender in applications, Preferences => click Import Export BlenderFDS => the in there load Default BlenderFDS settings. It worked. See if doing this helps, if not might be something related to Monterrey.

[image: Screen Shot 2022-06-01 at 8 46 35 AM] https://user-images.githubusercontent.com/7450069/171408088-3c1d5f87-f924-4af4-a3bc-0773e01043eb.png

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35#issuecomment-1143568438, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVYYSANK3WATFE4PEGDLVM5L6HANCNFSM5XKL4TNA . You are receiving this because you commented.Message ID: @.***>

marcosvanella commented 2 years ago

Ciao Ema, I think we can update the versions in there to 3.2 given that it is the actual development version. Let's see first if Randy can get it to work. I also have a laptop at home with Big Sur (a version less than Monterrey). I can try there.

emanuelegissi commented 2 years ago

Okay, right

On Wed, Jun 1, 2022, 15:21 marcosvanella @.***> wrote:

Ciao Ema, I think we can update the versions in there to 3.2 given that it is the actual development version. Let's see first if Randy can get it to work. I also have a laptop at home with Big Sur (a version less than Monterrey). I can try there.

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35#issuecomment-1143605905, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY6VAJL7CPEGDIS2WH3VM5PXNANCNFSM5XKL4TNA . You are receiving this because you commented.Message ID: @.***>

rmcdermo commented 2 years ago

Well, sorry. After all the trouble, the issue seems to have been simply that I had the Blender app open when I cloned the blenderfds repo. If I close the app and reopen it, then the addon functions properly. I updated the wiki notes. As always, I am a good test monkey to make things idiot proof.

emanuelegissi commented 2 years ago

No problem is a silly problem ;-)

On Wed, Jun 1, 2022, 17:28 Randy McDermott @.***> wrote:

Closed #35 https://github.com/firetools/blenderfds/issues/35 as completed.

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35#event-6720246721, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY6I7KEMMFZ5X3DYLKDVM56TBANCNFSM5XKL4TNA . You are receiving this because you commented.Message ID: @.***>

emanuelegissi commented 1 year ago

Ah, better!

In fact the addon should be installed in the user directory that should not be checksummed, I suppose. The same that gets used by Blender when installing a stable from the zip file.

Maybe, if you got spare time, you could try to discover for me where Blender installs the userspace add-ons. According to the documentation it should be something like:

/Users/$USER/Library/Application Support/Blender/3.2/

Thank you

On Wed, Jun 1, 2022, 14:28 Randy McDermott @.***> wrote:

Ema, An update. @marcosvanella https://github.com/marcosvanella got something to work on Catalina, but he first put Blender.app into his User local and put blenderfds into the Blender.app. I did this as well, and it worked. But there is a catch. On Monterey, you first have to open Blender.app so it can do the checksum and verify the program. Then you can start adding stuff to Blender.app/Contents/Resources/3.2/scripts/addons.

I don't think this is the proper way. Most users will simply copy Blender.app to their Applications directory. So, it should work to put blenderfds into Application Support. I will check with Marcos if he can do this method.

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35#issuecomment-1143545332, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVY2HJBUBTTKE7X7ZOJLVM5JPNANCNFSM5XKL4TNA . You are receiving this because you commented.Message ID: @.***>

emanuelegissi commented 1 year ago

Okay, I am sorry. In fact the MacOS version is tested only on a Catalina virtual machine :-( not very realistic indeed

On Mon, May 30, 2022, 18:34 Randy McDermott @.***> wrote:

I'll check with Marcos. I think we need another macOS test. He's probably fishing :)

— Reply to this email directly, view it on GitHub https://github.com/firetools/blenderfds/issues/35#issuecomment-1141334379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXMVYYBB4J273KNL2PEPVDVMTUYDANCNFSM5XKL4TNA . You are receiving this because you commented.Message ID: @.***>