# HG changeset patch # User drewp@bigasterisk.com # Date 2012-06-16 04:32:49 # Node ID c0977217a7da54d8bd8aeb4f5a584bd84b495657 # Parent c8d1a7bf5c6c54578805c4a294a675829228fd8f attempt to receive a brand new submaster. doesn't work, this fix doesn't address the problem. But you can drag it in twice as a workaround Ignore-this: feed1c3e69d0a50412fb6139e8c04ab0 diff --git a/bin/curvecalc b/bin/curvecalc --- a/bin/curvecalc +++ b/bin/curvecalc @@ -96,6 +96,12 @@ class Main(object): uri = URIRef(selection.data.strip()) subName = self.graph.label(uri) + + if not list(self.graph.subjects(L9['sub'], uri)): + # might be a new one just created in KC + print "didn't find %r, reloading subs" % uri + self.onReloadSubs() + try: self.makeSubterm(subName, withCurve=True) except SubtermExists: