Skip to content

TypeError: append() argument must be xml.etree.ElementTree.Element, not Element #59

Open
@George121380

Description

@George121380

Description

I encountered an error while running the task demo provided in the README. The issue persists across all my reproduction attempts.

Script I run

Image

The error log:

Image

What I Have Tried

  • Tested with all versions of robosuite within the 1.3 and 1.4 release series. (Some versions lack certain functions. Others produce the same error.)

  • Debugged the issue and found a potential cause: In the function "/home/george/anaconda3/envs/libero/lib/python3.8/site-packages/robosuite/models/objects/objects.py", line 383, in _get_object_subtree, I noticed that the obj class and ET.Element class share the same name but are actually different classes. I suspect that obj is redefined somewhere, which might be causing the issue. However, I was unable to resolve this conflict.

Any insights or solutions would be greatly appreciated. Thank you for your help!

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