This is still broken in 2013 SP1 on Win x64. Anyone have a solution? Thanks!
Jesse On Tuesday, December 13, 2011 1:36:03 PM UTC-8, Count Zer0 wrote: > I do have latest off of github. I know those paths point to built-in > Maya pymel but it happens from latest 1.0.3 version on Github as well. > The bug fixed in github, referred to in a previous post on this forum: > http://bit.ly/vpCpuh which I found the fix for, is not the same bug. > > I know loggingControl menu is rarely used, can anybody confirm it > works for them in latest 2012 w/ latest pymel? > > Thanks, > > -jason > > On Dec 8, 4:48 pm, Geordie Martinez <[email protected]> wrote: > > if you get the latest from the gitHub it fixes the issue. > > > > > > > > > > > > > > > > On Thu, Dec 8, 2011 at 4:38 PM, Count Zer0 <[email protected]> wrote: > > > Looks like this may be broken again in 2012, or possible an OSX issue. > > > I get this when I open the menu: > > > > > " > > > # Error: CallbackError: file /Applications/Autodesk/maya2012/Maya.app/ > > > Contents/Frameworks/Python.framework/Versions/Current/lib/python2.6/ > > > site-packages/pymel/internal/factories.py line 744: Error executing > > > callback <bound method LoggingMenu.refresh of > > > ui.LoggingMenu('MayaWindow|pymelLoggingControl')> - refresh - module > > > pymel.tools.loggingControl - /Applications/Autodesk/maya2012/Maya.app/ > > > Contents/Frameworks/Python.framework/Versions/Current/lib/python2.6/ > > > site-packages/pymel/tools/loggingControl.py, line 113 > > > > > Original message: > > > Traceback (most recent call last): > > > File "/Applications/Autodesk/maya2012/Maya.app/Contents/Frameworks/ > > > Python.framework/Versions/Current/lib/python2.6/site-packages/pymel/ > > > internal/factories.py", line 742, in callback > > > res = origCallback( *newargs ) > > > File "/Applications/Autodesk/maya2012/Maya.app/Contents/Frameworks/ > > > Python.framework/Versions/Current/lib/python2.6/site-packages/pymel/ > > > tools/loggingControl.py", line 121, in refresh > > > self.refreshLoggingMenu() > > > File "/Applications/Autodesk/maya2012/Maya.app/Contents/Frameworks/ > > > Python.framework/Versions/Current/lib/python2.6/site-packages/pymel/ > > > tools/loggingControl.py", line 35, in refreshLoggingMenu > > > self.buildSubMenu(self, logging.root) > > > File "/Applications/Autodesk/maya2012/Maya.app/Contents/Frameworks/ > > > Python.framework/Versions/Current/lib/python2.6/site-packages/pymel/ > > > tools/loggingControl.py", line 65, in buildSubMenu > > > pymel.menuItem(l="Remove", p=parent, ob=True, > > > c=pymel.Callback(logger.removeHandler, item)) > > > File "/Applications/Autodesk/maya2012/Maya.app/Contents/Frameworks/ > > > Python.framework/Versions/Current/lib/python2.6/site-packages/pymel/ > > > internal/factories.py", line 764, in newUiFunc > > > return beforeUiFunc(*args, **kwargs) > > > File "/Applications/Autodesk/maya2012/Maya.app/Contents/Frameworks/ > > > Python.framework/Versions/Current/lib/python2.6/site-packages/pymel/ > > > internal/factories.py", line 878, in newFuncWithReturnFunc > > > res = beforeReturnFunc(*args, **kwargs) > > > File "/Applications/Autodesk/maya2012/Maya.app/Contents/Frameworks/ > > > Python.framework/Versions/Current/lib/python2.6/site-packages/pymel/ > > > internal/pmcmds.py", line 134, in wrappedCmd > > > res = new_cmd(*new_args, **new_kwargs) > > > RuntimeError: Option box items must be inserted after valid menu > > > items. # > > > " > > > > > -- > > > view archives:http://groups.google.com/group/python_inside_maya > > > change your subscription settings: > > >http://groups.google.com/group/python_inside_maya/subscribe -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected].
