SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.


SM Forums / Maya Questions / Programming / // Error: line 0: Error reading file.

Programming MEL Scripts, Expressions & Programming Related Topics

Join the conversation. Reply to post
 
Thread Tools
02-07-2013, 09:20 PM   #1
PiroEfekta
Registered User
 
Join Date: May 2013
Posts: 37
// Error: line 0: Error reading file.
Hi there. I worked on a project one week. Once I restarted my computer [I saved the file first]. When I tried to open my .mb this error showed: // Error: line 0: Error reading file.
This is what showed up in the script editor:
file -f -options "v=0;" -typ "mayaBinary" -o "D:/My Documents/Desktop/ /Others/Maya Rigs/Cool Guy/cool guy.mb";addRecentFile("D:/My Documents/Desktop/ /Others/Maya Rigs/Cool Guy/cool guy.mb", "mayaBinary");
// File read in 0 seconds. //
// Warning: line 0: swatches file depend node not found, icon discarded: lambert13 //
// Warning: line 0: swatches file depend node not found, icon discarded: MouthBlack //
// Warning: line 0: swatches file depend node not found, icon discarded: EyesWhite //
// Warning: line 0: swatches file depend node not found, icon discarded: CP //
// Warning: line 0: swatches file depend node not found, icon discarded: Pupils //
// Warning: line 0: swatches file depend node not found, icon discarded: green //
// Warning: line 0: swatches file depend node not found, icon discarded: Transparent //
// Warning: line 0: swatches file depend node not found, icon discarded: Hair //
// Warning: line 0: swatches file depend node not found, icon discarded: Eyebrows //
// Warning: line 0: swatches file depend node not found, icon discarded: Fingers1 //
// Warning: line 0: swatches file depend node not found, icon discarded: pasted__Fingers1 //
// Warning: line 0: swatches file depend node not found, icon discarded: lambert4 //
// Warning: line 0: swatches file depend node not found, icon discarded: file1 //
// Warning: line 0: swatches file depend node not found, icon discarded: pasted__lambert2 //
// Error: line 0: Error reading file. //
// Error: line 0: Error reading file. //
  Reply with quote
03-07-2013, 04:42 AM   #2
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Most likely your file has been corrupted. If it is, you're kinda SOL when saving with .mb. With .ma, you can (sometimes) recover your information. Hopefully you have backups.
__________________
Imagination is more important than knowledge.
  Reply with quote
03-07-2013, 05:51 PM   #3
PiroEfekta
Registered User
 
Join Date: May 2013
Posts: 37
First question: what is SOL
Second question: what is the different between .mb and .ma?
Third question: can I recover my scene?
  Reply with quote
03-07-2013, 07:58 PM   #4
stwert
EduSciVis-er
 
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
1) http://www.urbandictionary.com/define.php?term=S.O.L.
2) http://simplymaya.com/forum/showpost...0&postcount=14
3) You can try zipping and uploading your file here and see if anyone else can open it.
  Reply with quote
04-07-2013, 09:18 AM   #5
PiroEfekta
Registered User
 
Join Date: May 2013
Posts: 37
http://www.mediafire.com/?fyok2ujmkw3a3pi Here is the download link. Hope somebody can open it :3
  Reply with quote
04-07-2013, 12:20 PM   #6
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
I opened the file in a hex editor (allows me to take a look at binary files) and there is absolutely zero information in the file; it's all zeros. Sorry, but it's gone.
__________________
Imagination is more important than knowledge.
  Reply with quote
04-07-2013, 06:06 PM   #7
PiroEfekta
Registered User
 
Join Date: May 2013
Posts: 37
Ohhh.... I had a backup on 1/4 of the process.. So I will start it from there.. Thanks for the attention
  Reply with quote
07-09-2013, 12:06 PM   #8
Lokjutus
Registered User
 
Join Date: Jan 2010
Location: Croatia
Posts: 11
Don't think this thread is in the right place, but I have exact same issue. My file is attached. Please, tell me it's not all zeroes I've been working for a week on this and I made backup ages ago.

Why is this stuff happening anyway?
Attached Files
File Type: zip Alley.zip (377.6 KB, 164 views)
  Reply with quote
07-09-2013, 12:37 PM   #9
PixalZA
Lifetime Member
 
PixalZA's Avatar
 
Join Date: May 2011
Location: Riyadh, Saudi Arabia
Posts: 525
Hi Lokjutus, the file is fine. It is still intact. It is a Maya 2014 file.
Attached Files
File Type: zip Alley.mb.zip (455.0 KB, 179 views)
__________________
Earth: The crazy asylum of the universe.
  Reply with quote
07-09-2013, 01:10 PM   #10
Lokjutus
Registered User
 
Join Date: Jan 2010
Location: Croatia
Posts: 11
Thank you PixalZA. It's in Maya 2014 - that I completely forgot. I was trying out Maya 2014 and without thinking I overwrote my Maya 2012 file. Is there any way to get it back to 2012? Because I don't think I will finish this project by the time my 2014 trial period ends.
  Reply with quote
07-09-2013, 01:24 PM   #11
PixalZA
Lifetime Member
 
PixalZA's Avatar
 
Join Date: May 2011
Location: Riyadh, Saudi Arabia
Posts: 525
Easiest is to export your geometry to obj or fbx and import it into 2012.
__________________
Earth: The crazy asylum of the universe.
  Reply with quote
07-09-2013, 06:50 PM   #12
Lokjutus
Registered User
 
Join Date: Jan 2010
Location: Croatia
Posts: 11
Thhank you very much for that, I will try it.
  Reply with quote
07-09-2013, 07:12 PM   #13
NextDesign
Technical Director
 
NextDesign's Avatar
 
Join Date: Feb 2004
Posts: 2,988
Or export as a .ma, and when opening the scene, check "Ignore version".
__________________
Imagination is more important than knowledge.
  Reply with quote
03-08-2016, 05:52 PM   #14
OriannaMainJack
Registered User
 
Join Date: Aug 2016
Posts: 5
Woops
uhm... I failed a little bit

Last edited by OriannaMainJack; 03-08-2016 at 05:54 PM. Reason: Wrong type of messag. Thought it was a new topic.
  Reply with quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error Reading File... HELP ME PLEASE roryfollansbee Challenge Forum 1 16-04-2016 09:00 AM
// Warning: line 0: swatches file depend node not found paragsharma Programming 0 14-12-2014 12:44 PM
Cant open file Jimmer Maya Basics & Newbie Lounge 0 18-09-2014 03:58 AM
trouble opening maya scene jooleyinboots Maya Technical Issues 2 03-02-2014 09:11 PM
Maya file and Project lost/disappeared, Help PLEASE dubai3d Maya Basics & Newbie Lounge 1 24-11-2012 09:03 PM