directtools errors

When I enable directtools with

loadPrcFileData("", "want-directtools #t")
loadPrcFileData("", "want-tk #t")

and try to perform some actions on a node through context menu like select, place etc…, I get this exception:

<type 'exceptions.TypeError'> Exception in Tk callback
  Function: <bound method TreeNode.popupMenuCommand of <direct.tkwidgets.Tree.TreeNode instance at 0x7f704edb97e8>> (type: <type 'instancemethod'>)
  Args: ()
Traceback (innermost last):
  File "/usr/lib/python2.7/dist-packages/Pmw/Pmw_1_3/lib/PmwBase.py", line 1747, in __call__
    return apply(self.func, args)
  File "/usr/share/panda3d/direct/tkwidgets/Tree.py", line 155, in popupMenuCommand
    skipUpdate = self.item.MenuCommand(command)
  File "/usr/share/panda3d/direct/tkwidgets/SceneGraphExplorer.py", line 191, in MenuCommand
    messenger.send('SGE_' + command, [self.nodePath])
  File "/usr/share/panda3d/direct/showbase/Messenger.py", line 326, in send
    self.__dispatch(acceptorDict, event, sentArgs, foundWatch)
  File "/usr/share/panda3d/direct/showbase/Messenger.py", line 411, in __dispatch
    method (*(extraArgs + sentArgs))
  File "/usr/share/panda3d/direct/tkpanels/Placer.py", line 789, in place
    return Placer(nodePath = nodePath)
  File "/usr/share/panda3d/direct/tkpanels/Placer.py", line 37, in __init__
    AppShell.__init__(self)
  File "/usr/share/panda3d/direct/tkwidgets/AppShell.py", line 96, in __init__
    self.__createInterface()
  File "/usr/share/panda3d/direct/tkwidgets/AppShell.py", line 118, in __createInterface
    self.createInterface()
  File "/usr/share/panda3d/direct/tkpanels/Placer.py", line 343, in createInterface
    self.setMovementMode('Relative To:')
  File "/usr/share/panda3d/direct/tkpanels/Placer.py", line 381, in setMovementMode
    self.updatePlacer()
  File "/usr/share/panda3d/direct/tkpanels/Placer.py", line 529, in updatePlacer
    self.updateAuxiliaryCoordinateSystems()
  File "/usr/share/panda3d/direct/tkpanels/Placer.py", line 554, in updateAuxiliaryCoordinateSystems
    self.posOffset.assign(self['nodePath'].getPos(self.orbitFromCS))
<type 'exceptions.TypeError'>: 'panda3d.core.LVector3f' object has no attribute 'assign'

Thanks, this turned out to be a recent regression on the master branch. I’ve checked in a fix.