Maya 8.5 SP1 x64
----------
from pymel import *
pymel : DEBUG : setting logLevel to default:
# Traceback (most recent call last):
#   File "/opt/lib/python2.4/logging/__init__.py", line 740, in emit
#   File "/opt/lib/python2.4/logging/__init__.py", line 718, in flush
# AttributeError: 'maya.Output' object has no attribute 'flush'
# Error: 'PySwigObject' object has no attribute 'disown'
# Traceback (most recent call last):
#   File "<maya console>", line 1, in ?
#   File "/tmp/python/pymel/__init__.py", line 1477, in ?
#     _installCallbacks()
#   File "/tmp/python/pymel/__init__.py", line 1459, in
_installCallbacks
#     mel.unloadPlugin( addCallback='''python("import pymel;
pymel._pluginUnloaded('#1')")''' )
#   File "/tmp/python/pymel/core/language.py", line 426, in _call
#     return self.eval(cmd)
#   File "/tmp/python/pymel/core/language.py", line 528, in eval
#     id.disown()
# AttributeError: 'PySwigObject' object has no attribute 'disown' #


Drake

On Feb 14, 5:37 am, chadrik <[email protected]> wrote:
> there was a bug with RC2 related to the pluginLoaded callbacks.  it's  
> tough to get these working properly because:
>
>         1 ) loadPlugin causes errors when using python callbacks
>         2) unloadPlugin does not even support python callbacks
>         3) unloadPlugin mel command is not passing the pluginName to the  
> function (even when using #1 syntax)
>         4 ) api callbacks for plugin load/unload are not supported until maya 
>  
> 2009
>
> needless to say this is pretty botched on autodesk's end.
>
> but it's working well enough now with RC3.
>
> -chad
>
> On Feb 12, 2009, at 11:00 PM, Chadrik wrote:
>
>
>
> > hi all, i posted RC2 tonight adding 8.5 support, as well as fixing
> > Mike's bug and a few others.
>
> > download it here:http://code.google.com/p/pymel/downloads/list
>
> > -chad
>
>
--~--~---------~--~----~------------~-------~--~----~
Yours,
Maya-Python Club Team.
-~----------~----~----~----~------~----~------~--~---

Reply via email to