cliffxuan / fuxi

Automatically exported from code.google.com/p/fuxi
0 stars 0 forks source link

Issue with constructor of FuXi.Horn.PositiveConditions.ExternalFunction #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Run FuXi.Rete.BuiltinPredicates from command-line (triggering unit test 
harness):

resulting in:

TypeError: unbound method __init__() must be called with Uniterm instance as 
first argument (got ExternalFunction instance instead)

Original issue reported on code.google.com by chime...@gmail.com on 19 Oct 2010 at 2:46

GoogleCodeExporter commented 9 years ago
Currently unable to reproduce

Original comment by chime...@gmail.com on 19 Oct 2010 at 3:18

GoogleCodeExporter commented 9 years ago
See related traceback while running test/additionalDLPTests.py (spotted by 
Owen):

Traceback (most recent call last):
  File "/Users/Shared/workspaces/workspace/fuxi/test/additionalDLPTests.py",
line 126, in testOtherForm
    contains   = Property(EX_NS.contains)
  File
"/Library/Python/2.6/site-packages/FuXi-1.1.dev-py2.6.egg/FuXi/Syntax/InfixOWL.p
y",
line 1469, in __init__
    super(Property, self).__init__(identifier,graph)
TypeError: super(type, obj): obj must be an instance or subtype of type

Original comment by chime...@gmail.com on 19 Oct 2010 at 3:26