Message 1 of 25
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I got a tool I developed myself, which is still used okay in 2019 version of Maya. But when I updated to 2022 version, suddenly I couldn't use it anymore, the script editor said:
# Error: SyntaxError: file C:\Program Files\Autodesk\Maya2022\Python37\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py line 142: invalid syntax #
I designed it in a class way and called it like this in the Python tab:
import scenePublisher; reload(scenePublisher)
sc = scenePublisher.ScenePublisher(windowID = 'ScenePublisher', title = 'Scene Publisher', codec = 'film')
Anybody experienced this or know what this is I'll be really thankful!
Solved! Go to Solution.