Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata can't return StringVectorData #1136

Closed
andrewkaufman opened this issue Dec 18, 2014 · 0 comments · Fixed by #1137
Closed

Metadata can't return StringVectorData #1136

andrewkaufman opened this issue Dec 18, 2014 · 0 comments · Fixed by #1137
Labels
bug Issues representing bugs

Comments

@andrewkaufman
Copy link
Contributor

I get this when creating a node that has a userDefault registered for a StringVectorDataPlug

Traceback (most recent call last):
  File "/software/apps/cortex/9.0.0-b1/cent6.x86_64/base/python/2.7/gcc/4.1.2/IECore/curry.py", line 48, in curriedFunction
    return func( *args, **kwds )
  File "/software/apps/gaffer/0.6.0.0_dispatcherFix/cent6.x86_64/cortex/9/gaffer/python/Gaffer/WeakMethod.py", line 67, in __call__
    return m( *args, **kwArgs )
  File "/software/apps/gaffer/0.6.0.0_dispatcherFix/cent6.x86_64/cortex/9/gaffer/python/GafferUI/Menu.py", line 151, in __actionTriggered
    item.command( *args, **kw )
  File "/software/apps/gaffer/0.6.0.0_dispatcherFix/cent6.x86_64/cortex/9/gaffer/python/GafferUI/NodeMenu.py", line 122, in f
    Gaffer.NodeAlgo.applyUserDefaults( node )
  File "/software/apps/gaffer/0.6.0.0_dispatcherFix/cent6.x86_64/cortex/9/gaffer/python/Gaffer/NodeAlgo.py", line 46, in applyUserDefaults
    __applyUserDefaults( nodeOrNodes )
  File "/software/apps/gaffer/0.6.0.0_dispatcherFix/cent6.x86_64/cortex/9/gaffer/python/Gaffer/NodeAlgo.py", line 56, in __applyUserDefaults
    __applyUserDefaults( child )
  File "/software/apps/gaffer/0.6.0.0_dispatcherFix/cent6.x86_64/cortex/9/gaffer/python/Gaffer/NodeAlgo.py", line 56, in __applyUserDefaults
    __applyUserDefaults( child )
  File "/software/apps/gaffer/0.6.0.0_dispatcherFix/cent6.x86_64/cortex/9/gaffer/python/Gaffer/NodeAlgo.py", line 56, in __applyUserDefaults
    __applyUserDefaults( child )
  File "/software/apps/gaffer/0.6.0.0_dispatcherFix/cent6.x86_64/cortex/9/gaffer/python/Gaffer/NodeAlgo.py", line 51, in __applyUserDefaults
    plugValue = Gaffer.Metadata.plugValue( graphComponent, "userDefault" )
RuntimeError: Invalid Argument : Unhandled data of type StringVectorData encountered by DespatchTypedData
@andrewkaufman andrewkaufman added bug Issues representing bugs priority-high labels Dec 18, 2014
@andrewkaufman andrewkaufman added this to the Christmas Grab Bag milestone Dec 18, 2014
johnhaddon added a commit to johnhaddon/gaffer that referenced this issue Dec 18, 2014
Also introduced new DataBinding.h header with dataToPython() method, to consolidate duplicated code from Metadata and Context bindings.

Fixes GafferHQ#1136.
johnhaddon added a commit to johnhaddon/gaffer that referenced this issue Dec 18, 2014
Also introduced new DataBinding.h header with dataToPython() method, to consolidate duplicated code from Metadata and Context bindings.

Fixes GafferHQ#1136.
johnhaddon added a commit to johnhaddon/gaffer that referenced this issue Dec 18, 2014
Also introduced new DataBinding.h header with dataToPython() method, to consolidate duplicated code from Metadata and Context bindings.

Fixes GafferHQ#1136.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues representing bugs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant