Thanks, I think the later error messages are down to the first one. And
that was caused by what was in effect a typo, but I see that there were
other typos in the MakeHbondRestraints file so it makes me wonder if that
module has ever been used (!). Anyway, it should be fixed now.
Wayne
On Wed, 2 Jun 2010, Pryank Patel wrote:
>
> Hi,
> I've been playing around with the "Make H Bond Restraints Popup". I can add
> restraints to a list, and I can delete individual restraints from the list
> using the "Delete Selected" button. But if I try to delete the list, from
> either the "Make H Bond Restraints" popup or the "Restraints and Violations"
> popup, I get the following message:
>
>>>> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
> return self.func(*args)
> File
> "/home/pryank/programs/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/popups/MakeHbondRestraints.py",
> line 769, in deleteRestraintList
> restraintList.delete()
> File
> "/home/pryank/programs/ccpnmr/ccpnmr2.1/python/memops/api/Implementation.py",
> line 4234, in delete
> notify(obj)
> File
> "/home/pryank/programs/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/popups/MakeHbondRestraints.py",
> line 447, in updateRestraintLists
> index = restraintLists.index(restraintList)
> ValueError: list.index(x): x not in list
>
> The list disappears from the "Restraints and Violations" popup, but is still
> present in the "Make H Bond Restraints" popup. Trying to delete the list
> again from "Make H Bond Restraints" gives:
>
>>>> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
> return self.func(*args)
> File
> "/home/pryank/programs/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/popups/MakeHbondRestraints.py",
> line 769, in deleteRestraintList
> restraintList.delete()
> File
> "/home/pryank/programs/ccpnmr/ccpnmr2.1/python/memops/api/Implementation.py",
> line 4215, in delete
> called on deleted object""" % self.qualifiedName
> ApiError: ccp.nmr.NmrConstraint.HBondConstraintList.delete:
> called on deleted object
>
> and trying to delete individual items from the list in "Make H Bond
> Restraints" gives:
>
>>>> Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/lib64/python2.6/lib-tk/Tkinter.py", line 1410, in __call__
> return self.func(*args)
> File
> "/home/pryank/programs/ccpnmr/ccpnmr2.1/python/ccpnmr/analysis/popups/MakeHbondRestraints.py",
> line 756, in deleteRestraints
> restraint.delete()
> File
> "/home/pryank/programs/ccpnmr/ccpnmr2.1/python/memops/api/Implementation.py",
> line 4215, in delete
> called on deleted object""" % self.qualifiedName
> ApiError: ccp.nmr.NmrConstraint.HBondConstraint.delete:
> called on deleted object
>
>
> Best wishes,
> Pryank
>
>
>
>
>
>
|