Stromberg90 / Scripts

MIT License
199 stars 78 forks source link

Are scripts compatible with Blender 2.8 ? #1

Closed xan2622 closed 5 years ago

xan2622 commented 5 years ago

Are scripts compatible with Blender 2.8 ?

I keep trying to install them but they never get listed in the addons list. Am I doing something wrong or maybe the scripts are not compatible with blender 2.8 ?

Thanks for your help.

Stromberg90 commented 5 years ago

ContextSelect and MergeTool are compatible, the others are not yet. Which ones did you try?

xan2622 commented 5 years ago

All of them but I mostly would like to use MergeTool and ContextSelect.

I do click on the [Install...] button and select the MergeTool.py file but after this step, when I search for "MergeTool" or "Merge" in the Preferenecs > Addons window, I find nothing.

Stromberg90 commented 5 years ago

blender_2019-06-11_01-38-35

I reproduced your steps, it does show up for me. Could you go to Window->Toggle Systems Console and see if any errors show up when you try to install it?

xan2622 commented 5 years ago

I have just downloaded the latest (Windows 64 bits) nightly build from : https://builder.blender.org/download/

Here is what the Systems Console shows:

screenshot_2019-06-11_080738
Stromberg90 commented 5 years ago

I can't reproduce this on my end, I updated ContextSelect and MergeTool 4 months ago, could you be using older files than that?

xan2622 commented 5 years ago

I just download the ones from github, here, from your repository. I have just retried a few minutes ago (with another fresh nightly build). Same errors as the one in the Systems Console (above screenshot).

To install them, do you click on the Install button (in Preferences > Addons)?

Or do you copy the .py files manually and paste them into some folder? C:\Users\username\AppData\Roaming\Blender Foundation\Blender\2.80\scripts\addons\ for example ?

I only click on the Install button. And here is what I see as soon as I click on the button: ACxG6Ej6LU I checked in that folder, the .py file is there (correctly copied).

FrankIy don't understand what is happening.

Could it be related to: https://blender.stackexchange.com/questions/48085/how-to-fix-fake-module-addon-missing-bl-info-give-bad-performance/64497

Stromberg90 commented 5 years ago

I don't understand either, can you try deleting my other scripts in that folder, and only install the mergetool as a start? I did it by using the install button in blender when I tested.

xan2622 commented 5 years ago

I have asked for advices and help on a blender Discord server and here is what someone showed me: error

xan2622 commented 5 years ago

As I continue to investigate about this problem, this morning I have completely deleted my C:\Users\Nadine\AppData\Roaming\Blender Foundation\ folder and relaunched blender (starting with a default configuration), it didn't help. Same problem.

Tested with the latest build blender-2.80.0-git.8ac0fef4dfd1-windows64

xan2622 commented 5 years ago

I have been advised to try with a portable version of blender if the problem persists. It does.

xan2622 commented 5 years ago

I found the reason why !

When I downloaded your scripts from https://github.com/Stromberg90/Scripts/tree/master/Blender, I used to right click on the links (over the scripts links) and click on "Save target as..." in Firefox.

But if this method did download the files (and their extension) correctly, it saved bad files: inside the files, their content were not python but HTML !

screenshot2019-06-14_094149

It seems that the correct way to download files from github is to open the files on github and save them as RAW files.

Sorry for the inconvenience.

Stromberg90 commented 5 years ago

Ah, no worries, it's good to know why, and others can come here and see the solution :)