mpfb2 icon indicating copy to clipboard operation
mpfb2 copied to clipboard

Can't create human on Blender 4.0.1 due to disabled 'Wavefront OBJ Format' addon

Open JS-E opened this issue 1 year ago • 15 comments

Describe the bug I can't create a human in the plugin due to an error of Import-Export Wavefront OBJ format addon being disabled, but i believe this addon doesn't exist for Blender 4.0.1

Screenshots / logs If applicable, add screenshots to help explain your problem.

image

[INFO ] uiactions ..............................: Executing MPFB_OT_HumanFromPresetsOperator Error: The "Import-Export Wavefront OBJ format" addon seems to be disabled. You need to enable this in the preferences.

Platform and versions

  • OS: Windows 11
  • Blender 4.0.1
  • Downloaded latest version today

JS-E avatar Nov 30 '23 18:11 JS-E

Same for me, but I get this additional error...

image

Sphynxcolt avatar Nov 30 '23 22:11 Sphynxcolt

@Sphynxcolt I do get that error if i click other buttons, but i thought that might be due to lack of assets. Do you get one error if you click the 'Create Human' button under the from presets menu

JS-E avatar Nov 30 '23 22:11 JS-E

Just checking: Are you using the blender4 specific build here? That is, did you download a file called mpfb2-blender4-*.zip?

The alpha3 release was made long before blender 4 was released, and is not blender 4 compatible.

See also #133

joepal1976 avatar Dec 01 '23 06:12 joepal1976

@joepal1976 I downloaded this one -> http://files.makehumancommunity.org/plugins/mpfb2-blender4-latest.zip

JS-E avatar Dec 01 '23 18:12 JS-E

Yup, I downloaded specifically the Blender4 Branch version... didnt work with 4.0.0, and doesnt work with 4.0.1 (I use Blender Steam version)

Sphynxcolt avatar Dec 01 '23 19:12 Sphynxcolt

The reason I ask is because in the screenshot you provide, the version on the tab is listed as "...-a3". The blender4 versions are listed as "...-a4" and have been for some time. This makes me believe your blender installation is running an old version of the addon. Having downloaded the file you link and testing on blender 4.0.1, I don't run into the same problem.

I've seen similar problems earlier though. Can you take a look at this: http://static.makehumancommunity.org/mpfb/faq/ensure_correct_version.html and see if it helps?

joepal1976 avatar Dec 03 '23 14:12 joepal1976

I just removed the addon, then reinstalled it, or at least tried... now it wont even install, or rather appear in the Addon list. image

Sphynxcolt avatar Dec 04 '23 14:12 Sphynxcolt

Can you post a screenshot of the system console right after having tried to install from zip? Assuming you are on windows, it should be possible to toggle it in the "window" menu.

joepal1976 avatar Dec 04 '23 16:12 joepal1976

Can you post a screenshot of the system console right after having tried to install from zip? Assuming you are on windows, it should be possible to toggle it in the "window" menu.

Is this to me? The log is right there, underneath the Preferences window.

Which "window" menu do you mean?

Sphynxcolt avatar Dec 04 '23 22:12 Sphynxcolt

Yes, it was to you.

The problem here is that I see no error message. My hope was that if I could see the entire console window there would be a clue as to what's wrong. Atm I have absolutely nothing to go on, as it works on my side and there is no indication on what causes the problem.

The "window" is the main menu "window" in the top of the blender window. It is between the "render" and "help" menus.

As a observation, there seems to be something problematic with the paths in your blender installation, or something has happened with the installation directory. You've got 10+ warnings about missing module files for other addons, unrelated to MPFB.

joepal1976 avatar Dec 05 '23 06:12 joepal1976

I installed the addon again, again, it doesnt appear in the list. image Everything after the installed module of mpfb zip was just me removing the ghost scripts/"missing scripts" (I might have removed them at some point incorrectly) and can be ignored.

Edit: "The problem here is that I see no error message.": I dont get one... thats the point. It might be a Blender thing, unrelated to the addon. But I dont get an error message, nor does the addon even show up in the list. I am tempted to just reinstall Blender again.

Sphynxcolt avatar Dec 05 '23 18:12 Sphynxcolt

Well, I'm stuck. I've been trying to replicate the phenomena (both the error message and the addon not showing up) locally, on both windows and linux, but I can't trigger it. So right now it seems unlikely I'll be able to find anything that solves the problem.

If you reinstall blender, I'd suggest also clearing out the user data. Once the current version of blender is uninstalled, you might want to open "c:\Users\sphyn\AppData\Roaming\Blender Foundation" and move all subdirectories to somewhere else. This way you'll get a clean slate when installing the new blender.

joepal1976 avatar Dec 08 '23 07:12 joepal1976

So I tried with a fresh install, and it still doesnt shop up in the addon list.

Sphynxcolt avatar Dec 15 '23 14:12 Sphynxcolt

I'm reaching for straws here, as I have no natural explanation for why you don't either see the addon or at least get an error message. I can only speculate, although what I come up with sounds improbable even to me.

Anyway, what I'd like to know is if the files even end up in the right location when you select the addon zip in blender.

Can you post screenshots of the following dirs (if they exist) :

  • c:\Users\sphyn\AppData\Roaming\Blender Foundation\4.0
  • c:\Users\sphyn\AppData\Roaming\Blender Foundation\4.0\scripts\addons
  • c:\Users\sphyn\AppData\Roaming\Blender Foundation\4.0\scripts\addons\mpfb

If these dirs are missing, I'd take a look at windows defender or any other kind of antivirus solution to see if they were blocked or removed or something.

For reference, this is how they look on my windows 11 machine when I have installed from zip in blender:

dirs1 dirs2 dirs3

joepal1976 avatar Dec 16 '23 17:12 joepal1976

I was facing the same error until I read this part:

The reason I ask is because in the screenshot you provide, the version on the tab is listed as "...-a3". The blender4 versions are listed as "...-a4" ...

The latest link is referencing to a version that provida a "...-a3", so I tried the one above and re-started Blender. Everything works fine now and it is now listed as "...-a4".

This one: MPFB_RightOne

adrianwez avatar Dec 19 '23 16:12 adrianwez