pymel.mel2py.mel2py( 'spinFaces.mel' ) # Error: (2, 'No such file or directory', path(u'Documents/maya/2008/scripts/spinFaces.mel')) # Traceback (most recent call last): # File "", line 1, in # File "C:\Program Files\Autodesk\Maya2008\Python\lib\site-packages\pymel\mel2py.py", line 255, in mel2py # data = melfile.bytes() # File "C:\Program Files\Autodesk\Maya2008\Python\lib\site-packages\pymel\path.py", line 525, in bytes # f = self.open('rb') # File "C:\Program Files\Autodesk\Maya2008\Python\lib\site-packages\pymel\path.py", line 521, in open # return file(self, mode) # IOError: (2, 'No such file or directory', path(u'Documents/maya/2008/scripts/spinFaces.mel')) #
when i get back home to my windows machine i'll check this out more thoroughly, but if you give me the results of that command, i might be able to track it down before then.
ah, silly mistake on my part. the whitespace in the path to 'My Documents' is tripping it up. i get so used to working in a production environment where you're not allowed to name files with spaces.
haha pythonBoy, i will make it simpler, but people like yourself have to use it first before i can know where the bugs are. c'mon, you're pythonBoy, you need to live up to your namesake.
it's up to you. you can wait for me to release a new version or you can make this tiny change.
For the record, this advice is outdated. As of 0.9.0, mel2py.py has been replaced by mel2py\__init__.py and the change has been made.
QUOTE(Chadrik @ 01/10/08, 08:39 AM) [snapback]279498[/snapback] haha pythonBoy, i will make it simpler, but people like yourself have to use it first before i can know where the bugs are. c'mon, you're pythonBoy, you need to live up to your namesake.
it's up to you. you can wait for me to release a new version or you can make this tiny change.