Struggling with Maya Rendering on an imported model

Discussion started by nikhilb1981

Hi all..

I recently downloaded a Maya model and re configured all texture file locations. So it shows correctly in viewport but it gives few errors while rendering as below:

Can anyone help me out?

Here is the script editor message:

# Traceback (most recent call last):

# File "C:\solidangle\mtoadeploy\2019\scripts\mtoa\ui\globals\common.py", line 1332, in onCameraChanged

# updateCameras.onCameraChangedAddRemoveCameras()

# File "C:\Program Files\Autodesk\Maya2019\Python\lib\site-packages\maya\app\general\updateRenderableCamerasList.py", line 60, in onCameraChangedAddRemoveCameras

# newCameraShapes, cameraToBeRemoved = getAddedAndRemovedCameras()

# File "C:\Program Files\Autodesk\Maya2019\Python\lib\site-packages\maya\app\general\updateRenderableCamerasList.py", line 22, in getAddedAndRemovedCameras

# updatedCamerasList = cmds.ls(cameras=True)

# TypeError: Flag 'cameras' must be passed a boolean argument

// Error: argument list must be a tuple //

Answers

Posted over 2 years ago
0

I am a Blender user, but these error messages have nothing to do with textures.
It seems to be a Python syntax error. Maybe the file you have been trying to render contains embedded Python elements and your 2019 Maya-Arnold combo uses a different Python version, causing syntax mismatch.
As the error seems to be caused by the camera list, you could try to delete every cameras, save the file with a new name, open it, create new cameras and try to render, or
export your model as fbx or obj, create a fresh scene with your Maya, import it back, then try to render.

Maya or Arnold forums could be much more helpful...

Your answer

In order to post an answer, you need to sign in.

Help
Chat