Impossible to export anything

If you have problems understanding something or getting started, ask here

Moderator: joepal

Impossible to export anything

Postby Patrick1957 » Sun Oct 27, 2019 6:41 pm

Hi !

Impossible to export anything
Makehuman 1.1.1 - Linux Opensuse 15.1

For example, when I export my mesh to obj, I get the following message:

Exception during event onFileSelected
Traceback (most recent call last):
File "./core/events3d.py", line 211, in callEvent
method(event)
File "./apps/gui/guiexport.py", line 112, in onFileSelected
exporter.export(gui3d.app.selectedHuman, filename)
File "plugins/9_export_obj/__init__.py", line 71, in export
mh2obj.exportObj(filename("obj"), cfg)
File "plugins/9_export_obj/mh2obj.py", line 73, in exportObj
wavefront.writeObjFile(filepath, meshes, True, config, filterMaskedFaces=not config.hiddenGeom)
File "./shared/wavefront.py", line 178, in writeObjFile
meshes = [m.clone(scale=scale, filterMaskedVerts=True) for m in meshes]
File "./core/module3d.py", line 160, in clone
self.filterMaskedVerts(other, update=False)
File "./core/module3d.py", line 311, in filterMaskedVerts
inverse_uv_idx[uv_idx] = np.arange(self.texco.shape[0], dtype=np.int32)
ValueError: shape mismatch: value array of shape (21334,) could not be broadcast to indexing result of shape (14517,)


Thanks for help !
Patrick1957
 
Posts: 2
Joined: Sun Oct 27, 2019 3:34 pm

Re: Impossible to export anything

Postby MTKnife » Mon Oct 28, 2019 12:34 am

What type of export are you attempting?

It looks like a mismatch in number of vertices. Have you tried it with a different model and/or different clothes?

Also, since it seems to be choking on deleted hidden vertices, does it still do it when you uncheck '"Hide faces under clothes"? I'm not sure if that option is supposed to affect exports or not--it shouldn't for MHX, but I don't know about the others.
MTKnife
 
Posts: 311
Joined: Tue Sep 01, 2015 5:22 am

Re: Impossible to export anything

Postby loki1950 » Mon Oct 28, 2019 1:35 am

He is trying to export to .obj format which in it's defining for Lightwave only handles a single mesh BTW the base meshes for MH are stored in .obj format as it is one of the simplest to implement though I see no reason to use that format in blender Patrick could you be more specific on what you trying to do so we can understand your workflow and be more helpful.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo Ideapad 320-15ABR Win 10/Mint 19
User avatar
loki1950
 
Posts: 1219
Joined: Thu Dec 18, 2014 6:27 pm
Location: Ottawa,Ontario

Re: Impossible to export anything

Postby Patrick1957 » Mon Oct 28, 2019 7:56 am

Hi !
I exported in obj, dae, fbx, mhx2, nothing works.
I used the base mesh and also assets models
I now see that by opening the software, without doing anything else, there are already errors :

Problem loading binary mesh: ('compiled file missing: %s', u'data/3dobjs/base.npz')
Problem loading binary proxy: ('compiled proxy file missing: %s', u'data/eyes/high-poly/high-poly.mhpxy')
Problem loading binary mesh: ('compiled file missing: %s', u'/usr/share/makehuman/data/eyes/high-poly/high-poly.npz')
Could not load 8_server_socket
Traceback (most recent call last):
File "./core/mhmain.py", line 541, in loadPlugin
module.load(self)
File "plugins/8_server_socket/__init__.py", line 218, in load
taskview = category.addTask(SocketTaskView(category, socketConfig=socketConfig))
File "plugins/8_server_socket/__init__.py", line 68, in __init__
box.addWidget(gui.QtWidgets.QLabel(''))
AttributeError: 'module' object has no attribute 'QtWidgets'
Patrick1957
 
Posts: 2
Joined: Sun Oct 27, 2019 3:34 pm

Re: Impossible to export anything

Postby Aranuvir » Mon Oct 28, 2019 10:22 pm

That's the old numpy issue. This has been fixed in the development branch. You could also downgrade numpy. For the other bug, many plug-ins do not have backward compatibility.
Aranuvir
 
Posts: 1314
Joined: Sun Oct 12, 2014 2:12 pm


Return to Newbies

Who is online

Users browsing this forum: No registered users and 1 guest

cron