![]() ![]() Utf8 = ("utf-8")ĪttributeError: 'NoneType' object has no attribute 'QTextCodec' Return _start_engine(engine_name, tk, None, context)įile "V:/pipeline/shotgun/sgtk_configs/studio/install/core/python\tank\platform\engine.py", line 3173, in _start_engineĮngine = class_obj(tk, new_context, engine_name, env)įile "V:/pipeline/shotgun/sgtk_configs/studio/install/core/python\tank\platform\engine.py", line 198, in _init_įile "V:\resource\users\Jon H\P圜harmProjects\tk-cinema-master\engine.py", line 261, in pre_app_init More specifically if I try and import shiboken2 in C4D’s python console, I get this: Traceback (most recent call last):įile "V:\resource\users\Jon H\P圜harmProjects\tk-cinema-master\startup\shotgun.pyp", line 54, in Įngine = _engine(env_engine, context.sgtk, context)įile "V:/pipeline/shotgun/sgtk_configs/studio/install/core/python\tank\platform\engine.py", line 3013, in start_engine I get “Unable to import shiboken2” as the error on start up. Hello again everyone! Has anyone got this working for R24/25? I can see that tk-cinema was updated for R24, however I can’t get it to actually work. Once again thanks for sharing you’re working version, this is a massive help to me, and no doubt many others! I really appreciate it :). ![]() The fact that it doesn’t throw any kind of an error is extremely unhelpful… But not in R23… I’m not sure what else it would be treating differently between the two versions other than the Pyhtonpath which might explain that, and the Pythonpath wouldn’t make sense as an issue in this case. Which is very odd as if I swap back to R21, it loads up just fine. No errors in the console, it just does nothing. Not sure if you’ve encountered that? EDIT turns out it will add the menu item for it, but won’t actually run it. It’s listed in all the right places in the config seemingly. I’ve also been able to add my own custom tool into the menu again, which is great, although oddly it won’t load when C4D opens, even though it’s in the initial menu in shotgun.pyp, I only see Save/Open at that point, but once I’m in another context, the tool then shows up in the menu. Odd, not run into the folder creation process just failing like that before. Module = imp.load_source(module_uid, plugin_file)įile "C:\Program Files\Maxon Cinema 4D R23\resource\modules\python\libs\\lib\imp.py", line 171, in load_sourceįile "", line 219, in _call_with_frames_removedīut that seems to be some error of the folder creation process itself, which is likely a template thing I guess, even though those all look OK, so I’ll look further into that! EDIT Looks like it’s failing to build the final folder, once that’s there it’s all fine. The following error was reported:Įxception: - invalid token (process_folder_creation.py, line 121)įile "V:\pipeline\shotgun\sgtk_configs\c4d_test\install\core\python\tank\util\loader.py", line 59, in load_plugin I’m currently running into some saving\loading issues: Failed to create folders:įailed to load plugin V:\pipeline\shotgun\sgtk_configs\c4d_test\config\core\hooks\process_folder_creation.py. Initially I struggled for several hours with repeated shiboken2 errors, even after adding the Python 3 site-packages location to my Python path, and the new C4d one too, I was about to give up after trying all kidns of permutations and additional code lines forcing it to add it from within the app, but to no avail, it refused to pick it up… And then I just copied the shiboken2 and PySide2 folders from the Shotgun Python3 location to C:\Program Files\Maxon Cinema 4D R23\resource\modules\python\libs\python37 and bang! Suddenly it suddenly it started loading! Hi, this is fantastic, thank you so much! I’ve downloaded a copy of your branch (as I don’t really know how to make my config point specifically at your branch - git isn’t a strong point for me!) and it now loads up just fine!
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |