Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

New installed Maya 2023 shows "Error: line 0" when open .ma files

0 REPLIES 0
Reply
Message 1 of 1
gtygg
287 Views, 0 Replies

New installed Maya 2023 shows "Error: line 0" when open .ma files

I installed Maya 2023 English in my new Windows PC (japanese windows 11), and "Error: line 0: Error reading file." shows up every time I open an .ma file. There is no error when open .mb files, and my other computer can open the .ma files just fine so I am sure the .ma files are not corrupted. 

 

P.S. Later I installed Maya 2024 English and opened ma files just fine. However, I wonder why the error happens every time with ma files. 

 

The script editor shows as below: (user name uncovered)(the error script is copied after installed Maya 2024 but the error itself is the same as before)

 

file -f -new;
// untitled
commandPort -securityWarning -name commandportDefault;
onSetCurrentLayout "General";
# # C:\Program Files\Autodesk\MayaUSD\Maya2023\0.16.0\mayausd\USD\lib\python\pxr\UsdUtils\updateSchemaWithSdrNode.py:372: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if sdrIdentifier is not "":
updateRenderOverride;
updateRenderOverride;
// Warning: file: C:/Program Files/Autodesk/Maya2023/scripts/startup/autoLoadPlugin.mel line 40: Loading plug-in "mtoh" has resulted in changes to the scene that may need to be saved.
// Warning: file: C:\Users\xxx\Documents\maya\2023\prefs\filePathEditorRegistryPrefs.mel line 4: filePathEditor: Attribute 'aiImage.filename' is invalid or is not designated 'usedAsFilename'.
// Warning: file: C:\Users\xxx\Documents\maya\2023\prefs\filePathEditorRegistryPrefs.mel line 5: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' is invalid or is not designated 'usedAsFilename'.
// Warning: file: C:\Users\xxx\Documents\maya\2023\prefs\filePathEditorRegistryPrefs.mel line 6: filePathEditor: Attribute 'aiStandIn.dso' is invalid or is not designated 'usedAsFilename'.
// Warning: file: C:\Users\xxx\Documents\maya\2023\prefs\filePathEditorRegistryPrefs.mel line 7: filePathEditor: Attribute 'aiVolume.filename' is invalid or is not designated 'usedAsFilename'.
// AbcExport v1.0 using Alembic 1.8.3 (built Feb 16 2022 14:36:32)
evalDeferred "shaderBallRendererMenuUpdate";
// Warning: line 1: filePathEditor: Attribute 'aiStandIn.dso' and label 'Standin' have been saved already.
// Warning: line 1: filePathEditor: Attribute 'aiVolume.filename' and label 'VDB' have been saved already.
// Warning: line 1: filePathEditor: Attribute 'aiImage.filename' and label 'Image' have been saved already.
// Warning: line 1: filePathEditor: Attribute 'aiPhotometricLight.aiFilename' and label 'IES' have been saved already.
import arnold
import mtoa
import mtoa.cmds.registerArnoldRenderer;mtoa.cmds.registerArnoldRenderer.registerArnoldRenderer()
updateRenderOverride;
// Bifrost: Pre-loaded mayaUsdPlugin to access proper Maya USD libraries.
// Loading Bifrost version 2.4.0.0-202202121141-d3627ed
// Bifrost: Loading library: Amino, from: Autodesk.
// Bifrost: Loading library: AminoMayaTranslation, from: Autodesk.
// Bifrost: Loading library: bif, from: Autodesk.
// Bifrost: Loading library: bifrostObjectMayaTranslations, from: Autodesk.
// Bifrost: Loading library: geometries, from: Autodesk.
// Bifrost: Loading library: fluids, from: Autodesk.
// Bifrost: Loading library: particles, from: Autodesk.
// Bifrost: Loading library: file, from: Autodesk.
// Bifrost: Loading library: mpm, from: Autodesk.
// Bifrost: Loading library: modeling, from: Autodesk.
// Bifrost: Loading library: nucleus, from: Autodesk.
// Bifrost: Loading library: simulation, from: Autodesk.
// Bifrost: Loading library: riv_types, from: Autodesk.
// Bifrost: Loading library: riv, from: Autodesk.
// Bifrost: Loading library: scatter_pack, from: Autodesk.
// Bifrost: Loading library: graphs, from: Autodesk.
// Bifrost: Loading library: usd_pack, from: Autodesk.
// Bifrost: Loading library: BifrostUSDMayaTranslation, from: Autodesk.
// AbcImport v1.0 using Alembic 1.8.3 (built Feb 16 2022 14:36:32)
updateRendererUI;
addRecentFile("E:/Animation/scenes/ball_animation.ma", "mayaAscii");file -f -options "v=0;" -ignoreVersion -typ "mayaAscii" -o "E:/Animation/scenes/ball_animation.ma";
// Error: file: E:/Animation/scenes/ball_animation.ma line 7: Unknown Maya file version: 2024.
updateRenderOverride;
// Error: file: E:/Animation/scenes/ball_animation.ma line 115: The displayLayer 'defaultLayer' has no '.ufem' attribute.
// Error: file: E:/Animation/scenes/ball_animation.ma line 115: setAttr: No object matches name: .ufem
// Error: file: E:/Animation/scenes/ball_animation.ma line 430: The hardwareRenderingGlobals 'hardwareRenderingGlobals' has no '.dli' attribute.
// Error: file: E:/Animation/scenes/ball_animation.ma line 430: setAttr: No object matches name: .dli
// Error: line 133: Invalid flag '-bluePencil'
// Warning: line 0: Errors have occurred while reading this scene that may result in data loss.
//
// Please check the Script Editor for details.
// Read 2 files in 0.72 seconds.
// Error: line 0: Error reading file.
// Error: line 0: Error reading file.

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report