Skip to content

TWO PROBLEMS; direct.task and Attribute Error #2

Open
@Daviderr

Description

@Daviderr

I have two problems,
when i start mesh tool it says:
Warning: filter 'viewer' disabled because of ImportError: No module named direct.task
Warning: filter 'collada_viewer' disabled because of ImportError: No module named direct.task
Warning: filter 'pm_viewer' disabled because of ImportError: No module named direct.task
Warning: filter 'save_screenshot' disabled because of ImportError: No module named direct.task
Warning: filter 'save_rotate_screenshots' disabled because of ImportError: No module named direct.task
Warning: filter 'save_bam' disabled because of ImportError: No module named direct.task
even if installed last version of Panda3D.

And when i try to load an obj file and simply write it it says to me:

Traceback (most recent call last):
File "/usr/local/bin/meshtool", line 8, in
load_entry_point('meshtool==0.3', 'console_scripts', 'meshtool')()
File "/Library/Python/2.7/site-packages/meshtool-0.3-py2.7.egg/meshtool/main.py", line 89, in main
collada_inst = inst.apply(collada_inst, *arguments)
File "/Library/Python/2.7/site-packages/meshtool-0.3-py2.7.egg/meshtool/filters/save_filters/save_obj.py", line 30, in apply
save_obj_util.write_obj(mesh, rel_mtlfilename, f)
File "/Library/Python/2.7/site-packages/meshtool-0.3-py2.7.egg/meshtool/filters/save_filters/save_obj_util.py", line 107, in write_obj
f.write("usemtl %s\n" % boundprim.material.id)
AttributeError: 'NoneType' object has no attribute 'id'
and when i open it with some OBJ Viewer like MeshViewer the new obj file has only vertices and no faces.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions