I’m developing some scripted (python) plug-ins. One VERY annoying part of the development cycle as my projects grow is when the load plug-in (via the Plug-in Manager or cmd in the script editor) fails (usually due to a syntax/import error in one of my modules). Maya only gives me something like
// Warning: line 1: Failed to run file: /u/ryanh/tools/maya/2009/ plugins/python/myScriptedPlugin.py // // Error: line 1: (myScriptedPlugin) // which makes tracking the syntax error a nightmare as I have to magically turn into a python interpretor. Kidding aside, I can’t really run my code through pychecker, pyflakes, and/or pylint very easily with the maya stuff in the code. Is there any way to get Maya (or the python interpretor within) to give me a nice traceback to the script editor or cmd line? Many Thanks, Ryan -- http://groups.google.com/group/python_inside_maya To unsubscribe from this group, send email to python_inside_maya+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
