- From: Tim Berners-Lee <timbl@w3.org>
- Date: Fri, 2 Nov 2007 10:28:42 -0400
- To: Norman Walsh <Norman.Walsh@sun.com>, Yosi Scharf <syosi@mit.edu>
- Cc: public-cwm-bugs@w3.org
- Message-Id: <467F232D-25A6-4F18-8220-6594DA6CD301@w3.org>
Norm,
Does this still fail? Yosi could not reproduce it without the files.
It does look like a nasty bug.
We might need the files.
http://lists.w3.org/Archives/Public/public-cwm-bugs/2007Mar/0001.html
Tim
> FYI:
>
> $cwm --rdf contact.rdf ../etc/pubs.rdf ../etc/places.rdf \
> --n3 ../ontologies/addr.ont ../ontologies/bio.ont ../
> ontologies/cc.ont ../ontologies/contacts.ont ../ontologies/
> dc.ont ../ontologies/foaf.ont ../ontologies/genealogy.ont ../
> ontologies/geowgs84.ont ../ontologies/pim.ont ../ontologies/
> pub.ont ../ontologies/sun.ont ../ontologies/upcoming.ont ../
> ontologies/vcard.ont ../ontologies/wordnet.ont rules.n3 \
> ../etc/contacts.n3 ../etc/us-states.n3 \
> ../etc/countries.n3 \
> --closure=e --think --data --base=bogus: --bySubject --
> rdf > addrbook.rdf
> Traceback (most recent call last):
> File "/projects/w3c/2000/10/swap/cwm.py", line 740, in <module>
> doCommand()
> File "/projects/w3c/2000/10/swap/cwm.py", line 607, in doCommand
> think(workingContext, mode=option_flags["think"])
> File "/projects/w3c/WWW/2000/10/swap/query.py", line 88, in think
> return InferenceTask(knowledgeBase, ruleFormula, mode=mode,
> why=why, repeat=1).run()
> File "/projects/w3c/WWW/2000/10/swap/query.py", line 262, in run
> return self.runSmart()
> File "/projects/w3c/WWW/2000/10/swap/query.py", line 250, in
> runSmart
> total += cy.run()
> File "/projects/w3c/WWW/2000/10/swap/query.py", line 422, in run
> found = rule.once()
> File "/projects/w3c/WWW/2000/10/swap/query.py", line 555, in once
> total = query.resolve()
> File "/projects/w3c/WWW/2000/10/swap/query.py", line 832, in resolve
> k = self.matchFormula(self.statements, self.variables,
> self._existentialVariables)
> File "/projects/w3c/WWW/2000/10/swap/query.py", line 1184, in
> matchFormula
> nbs = item.tryDeepSearch(queue)
> File "/projects/w3c/WWW/2000/10/swap/query.py", line 1772, in
> tryDeepSearch
> nb = nb.bind(x, (s.quad[p], env2))
> File "/projects/w3c/WWW/2000/10/swap/term.py", line 121, in
> newBinding
> retVal = Env(self, {var: val})
> File "/projects/w3c/WWW/2000/10/swap/term.py", line 99, in __init__
> for k, (a,b) in self.iteritems():
> TypeError: unpack non-sequence
>
> Much (but not all) of this data is public. If you need the actual
> sources to find the bug, let me know and I'll see what I can do.
>
> Be seeing you,
> norm
>
> --
> Norman Walsh <ndw@nwalsh.com> | Everything should be made as simple as
> http://nwalsh.com/ | possible, but no simpler.
>
Received on Friday, 2 November 2007 14:29:47 UTC