AttributeError: 'Object3D' object has no attribute

Discussions about MHX2 and other plugins that are developed outside the scope of MakeHuman. Note that bug reports should go to the respective code projects and might go unseen here.

Moderator: joepal

AttributeError: 'Object3D' object has no attribute

Postby haggag87 » Sun Jun 29, 2014 5:47 am

I'm trying to use a texture but I get the following error.
Code: Select all
Exception during event onFileSelected
Traceback (most recent call last):
  File "c:\jenkins\workspace\Windows_release\buildscripts\win32\build\makehuman\out00-PYZ.pyz\events3d", line 212, in callEvent
  File "plugins/3_libraries_texture_chooser.py", line 131, in onFileSelected
    filename))
  File "c:\jenkins\workspace\Windows_release\buildscripts\win32\build\makehuman\out00-PYZ.pyz\mhmain", line 760, in do
  File "plugins/3_libraries_texture_chooser.py", line 51, in do
    self.human.mesh.setShadeless(False)
AttributeError: 'Object3D' object has no attribute 'setShadeless'


This is my first time to use makehuman so if anyone could please advise.
Thanks
haggag87
 
Posts: 2
Joined: Sun Jun 29, 2014 5:45 am

Re: AttributeError: 'Object3D' object has no attribute

Postby duststorm » Mon Jun 30, 2014 6:56 pm

As answered in https://code.google.com/p/makehuman/iss ... il?id=1102
I think you are using an old an no longer supported version of MakeHuman. Please try the latest stable version from http://www.makehuman.org/content/download.html
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium

Re: AttributeError: 'Object3D' object has no attribute

Postby haggag87 » Wed Jul 02, 2014 7:02 am

Thanks for your reply.
I'm asking how then I can combine the code and textures found here https://github.com/KoenBuys/makehuman_datagen to the newer version which I have already downloaded it. What I did was copy and paste the contents found in the link into the 1.0.1 version but I then find it the old version again. Could you please advise?
Many Thanks
haggag87
 
Posts: 2
Joined: Sun Jun 29, 2014 5:45 am

Re: AttributeError: 'Object3D' object has no attribute

Postby duststorm » Mon Jul 07, 2014 11:51 pm

That code and assets is based on A7 MakeHuman data and basemesh. It'll be hard/a lot of work to get it working with a new v1.x of MakeHuman.
I advice to use it as-is, with the MH versions it comes with, or selectively port over the assets you need to the new basemesh using software such as Blender.

Also the posing code included in that repository is completely broken for the new MH version. While we are working on restoring posing and animation, I doubt we will re-implement BVH retargeting in MH, because we have the Blender MakeWalk tools for that.
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium


Return to MHX2 and other plugins developed outside MakeHuman

Who is online

Users browsing this forum: No registered users and 2 guests