Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I click Predict RIG, I get an error. What's going on? #23

Open
qfb594 opened this issue Oct 3, 2022 · 5 comments
Open

When I click Predict RIG, I get an error. What's going on? #23

qfb594 opened this issue Oct 3, 2022 · 5 comments

Comments

@qfb594
Copy link

qfb594 commented Oct 3, 2022

Python: Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\brignet-main\brignet.py", line 220, in invoke
from . import rignetconnect
File "C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\brignet-main\rignetconnect.py", line 10, in
from .RigNet.utils.rig_parser import Info
ModuleNotFoundError: No module named 'brignet-main.RigNet.utils'

location: :-1

@pKrime
Copy link
Owner

pKrime commented Oct 3, 2022

Hi,

it would seem that Rignet is missing or not found. Does the folder

C:\Users\Administrator\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\brignet-main\RigNet

exist?

@qfb594
Copy link
Author

qfb594 commented Oct 3, 2022

image
All the required documents are here

@pKrime
Copy link
Owner

pKrime commented Oct 5, 2022

Hi, sorry for the delay, does the RigNet folder contain a utils subfolder? Does RigNet utils contain .py files? According to the error message, the add-on doesn't seem to find them

@qfb594
Copy link
Author

qfb594 commented Oct 6, 2022

The Settings are normal, the required files are there, but the operation is not up.

QQ浏览器截图20221006105211
QQ浏览器截图20221006105154
QQ浏览器截图20221006105227

@Abrahm1234
Copy link

I personal had to manually download everything in the RigNet folder to fix this issue. For some reason it does not download it using git clone? Also Now the rig_parser.py file is present in the RigNet/utils directory. One possible reason for the error could be that the Python environment used by Blender does not have the brignet add-on directory added to its sys.path. You can try adding the following line at the beginning of the brignet.py file to see if it resolves the issue:

import sys
sys.path.append('/User/Administrator/Path/To/Dir')
Copy
This will add the brignet add-on directory to the Python path, allowing Blender to find and import the RigNet module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants