ECToo / pymel

Automatically exported from code.google.com/p/pymel
0 stars 0 forks source link

scriptEditor can easy fixed #247

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
when i want to using scriptEditor feature,i got this error message :
============================================================================
AttributeError: 'module' object has no attribute 'MelParser'
File "E:\mydoc\maya\2011-x64\plug-ins\pymelScrollFieldReporter.py", line 19, in 
<module>
  mparser = mel2py.MelParser()
============================================================================

What Version of Maya are you using?
2010,2011

fix step:
because ..\mel2py\__init__.py line:15  from 1.02:"from melparse import *" to 
1.03:"import melparse"
so the pymelScrollFieldReporter.py should be edit line19 from "mparser = 
mel2py.MelParser()" to "mparser = mel2py.melparse.MelParser()"

tested OK

Original issue reported on code.google.com by vdcoo...@gmail.com on 21 Jun 2011 at 11:08

GoogleCodeExporter commented 9 years ago
fixed in latest on github.

Thanks!

Original comment by elron...@gmail.com on 22 Jun 2011 at 4:19