A2F data conversion tab missing

Hey
Data conversion tab is missing after I make few changes:
-I added import pythonosc in facsSolver.py in C:\Users\USER\AppData\Local\ov\pkg\audio2face-2022.2.1\exts\omni.audio2face.exporter\omni\audio2face\exporter\scripts
-Opened A2F and Audio2Face/Open Demo Scene/Regular Core-streaming player
-A2F version 2022.2.1

Can it be that A2F can not find pythonosc module?

Can you please send your latest Audio2Face log file which can be found here: C:\Users\<USERNAME>\.nvidia-omniverse\logs\Kit\Audio2Face

kit_20230511_133115.log (719.2 KB)

From the log file, it appears there’s something wrong with this line from pythonosc import upd_client.

Failed to import python module omni.audio2face.exporter. Error: cannot import name 'upd_client' from 'pythonosc' 

Can you make sure pythonosc is in the PYTHONPATH?

I typed
python -c “import pythonosc”
in command line and there wasn’t any error, so I’m assuming that PYTHONPATH for pythonosc is fine.

but when I go to Script Editor in A2F and type
import python
print(pythonosc)
I receive an error:

OSError: [Errno 22] Invalid argument
At:
c:/users/USER/appdata/local/ov/pkg/audio2face-2022.2.1/kit/kernel/py\omni\kit\app_impl_init_.py(137): write
c/users/…/appdata/local/temp/x17ao.0/script_1684395829.py(2):

I SOLVED THE ISSUE!
facssolver.py file I also added some line code adding python osc library.
Before I had:
from pythonosc import upd_client

but importing whole library solved the problem:
import pythonosc

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.