-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Intro
Hi!
I am developing a converter at NVIDIA that converts MuJoCo's XML files to OpenUSD format.
My setup
- MuJoCo 3.5.0
- Python 3.11.13
- Windows 11
What's happening? What did you expect?
Cannot open XML files with UTF-8 characters in their directory names using "bin/simulate.exe".
I am getting the error "ParseXML: Error opening file".
I have confirmed that this also fails with the following mujoco.MjSpec.from_file in Python.
spec = mujoco.MjSpec.from_file(path.as_posix())Note: This only occurs in Windows environments. I have confirmed that it does not occur on Linux (Ubuntu 22.04).
Steps for reproduction
- Create a directory named "C:/temp/UTF-8のディレクトリ".
Please create directory names using multibyte character sets such as Japanese or Chinese. - Copy the "model/cube" directory from the MuJoCo repository to this directory.
The directory structure will be as follows.
C:
[temp]
[UTF-8のディレクトリ]
[cube]
[assets]
blue.png
...
cube_3x3x3.xml
README.md
- Launch MuJoCo's "bin/simulate.exe" and drag and drop the xml file from this directory.
- The following error is displayed, and loading fails.
ParseXML: Error opening file 'C:\temp\UTF-8のディレクトリ\cube\cube_3x3x3.xml'
Minimal model for reproduction
No response
Code required for reproduction
No response
Confirmations
- I searched the latest documentation thoroughly before posting.
- I searched previous Issues and Discussions, I am certain this has not been raised before.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working