Error: module 'MumbleServer' has no attribute 'MetaPrx' #1980
-
this error is on the following python 3.12 code def main():
if name == "main": try: I made this sample program to get the point the py file was generated with slice2py. I added both the ICE and the Py files |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
the error i get is Error: module 'MumbleServer' has no attribute 'MetaPrx' |
Beta Was this translation helpful? Give feedback.
-
Hi Frank, You should not import Something like:
|
Beta Was this translation helpful? Give feedback.
-
thank you very much , it did the job |
Beta Was this translation helpful? Give feedback.
Hi Frank,
You should not import
import MumbleServer_ice
directly, the generated code includes a Module inMumbleServer/__init__.py
, which you need to import.Something like: