Home > Maya Error > Maya Error Ioerror 2

Maya Error Ioerror 2

Bahasa Indonesia (Indonesian) Bahasa Melayu (Malay) Català (Catalan) Čeština (Czech) Dansk (Danish) Deutsch (German) English Español (Spanish) Français (French) Italiano (Italian) Latviešu valoda (Latvian) Lietuvių kalba (Lithuanian) Magyar (Hungarian) Nederlands (Dutch) Please see the Autodesk Creative Commons FAQ for more information. The CGS supports artists at every level by offering a range of services to connect, inform, educate and promote digital artists worldwide. The save command crashes Maya without an error. Check This Out

More about us on TheArtSociety.com Learn CGWorkshops Forums Inspire Galleries CGPortfolio CGChallenge Forum Inform CGFeatures News About CGS About Contact Privacy Advertising CGSOCIETY© 2002-2016 | The CGSociety - All rights For the Mac users: Have a look at the comments below,- Bill provided a solution for you. I tried reinstalling both and i get the same problem X( Reply With Quote 08-08-2013,05:14 PM #5 04chiak View Profile View Forum Posts Private Message integer Join Date Mar 2012 Posts All Aboard the Kolmogorov Complexity Train std::string += operator cannot pass 0 as argument Can you have negative sets? http://stackoverflow.com/questions/17055637/maya-python-error

Though many reasons may cause this error, the primary problem is a recent change in the software or hardware state of the computer. Modifying the advanced tab settings will enable you to do this. Python 3.2 and exist_ok is the right approach, but question says 2.7. –David Heffernan Sep 12 '13 at 8:40 add a comment| up vote 1 down vote If you try to I found a practice for python and I am having trouble with an error.

So I can look into compiling the source code specifically for that version… Though I'm not sure what the difference would be. afile = 'D:\\temp\\test.txt' outFile = open( afile, 'w' ) outFile.write('Test.') outFile.close() # Error: 2 # Traceback (most recent call last): # File "", line 1, in # IOError: [Errno Any problems? :) francois March 3, 2015 at 4:40 pm · · Hey I have upgraded to Maya 2014 and i have installed the PIL library in maya2014/python/Lib/site-packages/ PIL comes from Does it create directories if they don't exist or do I need explicitly create the directory path before I use open() in 'write' mode to create a file?

Just try the makedirs, and handle the EEXIST by doing nothing (or, if you prefer, you can even try the open, and handle the ENOENT by trying makedirs…). –abarnert Sep 12 However, you don't need to think so much about that, you should remember that Maya Error Ioerror 2 will always be there. mistermatti September 20, 2016 at 10:50 pm · · Reply → Hey Francois, your error sounds more like the PIL module is not installed in a location known to Python. For all of you, who want to use PIL in Maya 2014 with freetype support, download this and it should work.

Did Pokemon start off as a Manga? Download and install Autodesk Maya 2014 Service Pack 3 or Maya 2015 Service Pack 4. I agree that testing for existence is crappy. To start viewing messages, select the forum that you want to visit from the selection below.

Maya Error Ioerror 2 4.5 out of 5 based on 44 ratings. http://www.digitaltutors.com/forum/showthread.php?33187-could-you-help-me Digital-Tutors subscribers now get access to 1,400+ courses on Pluralsight.com Get started » Hide ▾ Important Notice: As of September 15, we will no longer publish new courses on DigitalTutors.com. In any case its also a maya convention to use / instead of \ like python in general so thats the right thing to do. –joojaa Jun 12 '13 at 15:39 I won't make any promises, though, as I haven't tested.

On linux I'd use gdb but I've used WindDbg on Windows before and it helped sometimes… Just a suggestion. his comment is here Is there a name for this kind of comparator? Why is this child portrait not compelling? Why would you not accept a free great person?

francois March 4, 2015 at 9:50 am · · import os import maya.cmds as cmds from PIL import Image path = "C:/Users/francesco/Desktop/selectionMaya" dir = os.listdir(path) junk = [".mayaSwatches", ".DS_Store", ".picasa.ini"] for The time now is 05:07 AM. up vote 0 down vote As joojaa said, try to avoid using backslashes when you can. http://divxpl.net/maya-error/maya-error-python.html Just go to Control Panel, System, Security and Advanced system settings Achieving a PageFile size doubly larger than the RAM space is possible when you change the settings.

All rights reserved. I am pretty sure I didn't changed anything on my computer.Now, everytime I try to import pymel I get an error.import pymel.core as pmpm.polyCube()results in :# Error: IOError: file C:\Program Files\Autodesk\Maya2014\bin\python27.zip\logging\__init__.py Visit the Forum Contributed By Support Need Assistance?

There's a race no matter what between the call to makedirs and that to open.

James Potter and the Cloak of Invisibility - Why didn't he use it to hide the family from Voldemort? Powered by vBulletin Version 4.2.1 Copyright © 2016 vBulletin Solutions, Inc. There are individuals who find PC replacement as the smart choice for these errors. If you wish to continue the discussion, please create a new thread in the appropriate forum.

Was Harry's concern about Fleur's sister Gabrielle misplaced? share|improve this answer answered Jun 12 '13 at 0:10 theodox 7,2032732 1 or stockPath = r"C:\Users\Dryan\Desktop\table.csv" where the r means raw string that does not escape. A world with a special political system All Aboard the Kolmogorov Complexity Train How to professionally handle sexist remarks by a student? navigate here mistermatti February 26, 2015 at 4:09 pm · · Reply → Hey Francois, mh, it's been a while since I last dealt with this so my memory is a bit rusty.

mistermatti July 20, 2016 at 5:12 am · · Reply → woah, I haven't looked at PIL in ages… What Maya are you running? What is the inner cover of the winter shoes called in English? What's the verb for "to drink small amounts of drink"? Try our newsletter Sign up for our newsletter and get our top new questions delivered to your inbox (see an example).

His version lacks the freetype support which is why I could not use it and had to compile it myself. So if you want to use myScript.py you place it somewhere in the PYTHONPATH and then from maya and a python tab you do: import myScript myScript.functionName() CGTalk Moderation02-24-2012, 11:05 AMThis import maya.cmds as cmds stockPath = "C:\Users\Dryan\Desktop\table.csv" f = open(stockPath) data = f.read() f.close() print data This is the error I get. > # Error: line 1: IOError: file But otherwise yes. –theodox Jun 13 '13 at 16:06 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using

It seems that I can't create the directory path I would like while trying to create the file. Other scripts in that same directory work. Like mkdir(), but makes all intermediate-level directories needed to contain the leaf directory. As for a different build - no, I have no idea.

I'm on Maya 2016. Image resizer by SevenSkins Copyright © 2008, Rob Galanakis Want to supercharge your tech skills? share|improve this answer answered Sep 12 '13 at 8:02 paxdiablo 498k1219841439 add a comment| up vote 0 down vote Alternately, you could check if the file exists before opening it with: Thanks a ton for posting this!

current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.