Tilapiatsu / blender-Universal_Multi_Importer

This addon is made to facilitate the import of data in Blender, allowing the support of multiple files and multiple format at the same time. It also support a object processing feature
MIT License
16 stars 1 forks source link

Enable is error #2

Closed mac4kent closed 4 months ago

mac4kent commented 4 months ago

Extension install button is error see picture on Blender.app 4.2.0

image

This for MacOS Ventura 13.6.7

Tilapiatsu commented 4 months ago

Good Evening @mac4kent !

Thank you for reaching out.

Indeed I don't have a Mac so I've never tried on this OS. If you can give me more info I can try to help and fix the issue.

Here is a build which will print more info in the terminal. if you can :

In the terminal you should see 3 lines after enabling the addon

UMI : Log file will be saved in : C:\path\to\temp\folder\XXXXXXXX UMI : Temp Folder : C:\path\to\temp\folde UMI : Log file path : C:\path\to\temp\folder\XXXXXXXXUMI_XXXXXXXXX.log

If you can send me what those line are it would help me

universal_multi_importer_printlog.zip

mac4kent commented 4 months ago

Yes I will show you my screen record tomorrow during our son go school

mac4kent commented 4 months ago

There for Mac path. https://youtu.be/IoHeZCFTZ9E You can put /tmp/ on show from hidden folder.

image

Also you can ask question to Nutti (Screencast Key) about Windows, Macintosh, and Linux is 3 separate path.

https://github.com/nutti/Screencast-Keys

if mac { Macintosh } elseif windows { Windows } else if Linux { Linux }

mac4kent commented 4 months ago

https://youtu.be/avttMp-Qrr0

You may read my comment youtube.

Tilapiatsu commented 4 months ago

Thanks a lot @mac4kent for these info and videos :) but I would really need you to install the modified addon I've send you. I'm using a standardize way of accessing tempfolder which should work on any platform ( PC, Linux, Mac) ... but apparently it is not entirely the case. So I need to understand what path is outputed from this tempfolder method. Maybe the path is wrong, or maybe there is actually a file access issue.

Thanks in advance

mac4kent commented 4 months ago

I already test there same version and still fail.

Tilapiatsu commented 4 months ago

Yes but I would need to know what message you can see in the blender system console

image

you should see 3 lines like these one: UMI : Log file will be saved in : C:\path\to\temp\folder\XXXXXXXX UMI : Temp Folder : C:\path\to\temp\folder UMI : Log file path : C:\path\to\temp\folder\UMI_XXXXXXXXX.log

image

mac4kent commented 4 months ago

Oh really I show you my Blender 4.2.0

image
mac4kent commented 4 months ago

This one youtube. https://youtu.be/RbQCzk-ef3g

Tilapiatsu commented 4 months ago

This one youtube. https://youtu.be/RbQCzk-ef3g

This is great ! did you tried to

mac4kent commented 4 months ago

'NoneType' object has no attribute 'umi_colors' UMI : Creating Preset Folder : /Users/kentdavis/Library/Application Support/Blender/4.2/scripts/presets/umi/command_batcher

mac4kent commented 4 months ago

Kent on MacOS 1.0.0.txt

Tilapiatsu commented 4 months ago

Kent on MacOS 1.0.0.txt Thanks a lot for your time :)

Great ! We're moving forward ! Apparently my modification isn't catching the issue properly. so I've made other changes. Can you retry with this V2 ?

universal_multi_importer_printlog_v2.zip

I'm sorry I know it might be tedious for you, but because I don't have a Mac this is the only way I have to help you out

mac4kent commented 4 months ago

Same problem.

Tilapiatsu commented 4 months ago

don't you have other things printed in the console ?

mac4kent commented 4 months ago

How?

Tilapiatsu commented 4 months ago

This one youtube. https://youtu.be/RbQCzk-ef3g

This is great ! did you tried to

  • right click on the blender app -> show package contents
  • browse to content/MacOs
  • to drag and drop the blender exec into the terminal to run it
  • then enable the addon and look in the terminal

I mean follow the same steps but with the V2 https://github.com/user-attachments/files/16233571/universal_multi_importer_printlog_v2.zip

And give send me the complete console print like you did here :

Kent on MacOS 1.0.0.txt

mac4kent commented 4 months ago

Kent on MacOS 1.0.1.txt

Tilapiatsu commented 4 months ago

Thanks ! This time the console caught the proper path.

I finally made some changes that would fix the issue you had. Please let me know if it works properly now. If it is good i'll make a proper release with the fix.

universal_multi_importer_newlog.zip

mac4kent commented 4 months ago

Yaaaaa ay it worked.

image

and

image
mac4kent commented 4 months ago

Don't forget update new version 2.1.4 or whatever you want.

Tilapiatsu commented 4 months ago

That's awesome ! Thanks for the confirmation :) I'll make a proper release on Github but it will arrive later on extensions.blender.org as the validation process is a bit longer.

Thanks again for your time :)

Tilapiatsu commented 4 months ago

https://github.com/Tilapiatsu/blender-Universal_Multi_Importer/releases/tag/v2.1.4

Tilapiatsu commented 4 months ago

it is also available in https://extensions.blender.org/add-ons/universal-multi-importer/ if you prefer to get it that way :). There is only an approval the first time I upload, but not after each update

mac4kent commented 4 months ago

sure you are welcome