Skip to content

nupic.bindings failed test SimpleTwoRegionNetworkIntrospection on 32 bit Linux #1437

Description

@paulscode

When building NuPIC Core from source on 32 bit Linux, the SimpleTwoRegionNetworkIntrospection test case for nupic.bindings fails:

_____________ NetworkTest.testSimpleTwoRegionNetworkIntrospection ______________

self = <tests.network_test.NetworkTest testMethod=testSimpleTwoRegionNetworkIntrospection>

    def testSimpleTwoRegionNetworkIntrospection(self):
      # Create Network instance
      network = engine.Network()
    
      # Add two TestNode regions to network
      network.addRegion("region1", "TestNode", "")
      network.addRegion("region2", "TestNode", "")
    
      # Set dimensions on first region
      region1 = network.getRegions().getByName("region1")
>     region1.setDimensions(engine.Dimensions([1, 1]))

network_test.py:89: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <nupic.bindings.engine_internal.Dimensions;  >, args = ([1, 1],)

    def __init__(self, *args):
        """
            __init__(self) -> Dimensions
            __init__(self, v) -> Dimensions
            __init__(self, x) -> Dimensions
            __init__(self, x, y) -> Dimensions
            __init__(self, x, y, z) -> Dimensions
            """
>       this = _engine_internal.new_Dimensions(*args)
E       NotImplementedError: Wrong number or type of arguments for overloaded function 'new_Dimensions'.
E         Possible C/C++ prototypes are:
E           nupic::Dimensions::Dimensions()
E           nupic::Dimensions::Dimensions(std::vector< size_t,std::allocator< size_t > >)
E           nupic::Dimensions::Dimensions(size_t)
E           nupic::Dimensions::Dimensions(size_t,size_t)
E           nupic::Dimensions::Dimensions(size_t,size_t,size_t)

../src/nupic/bindings/engine_internal.py:613: NotImplementedError

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions