Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nupic.engine.__init__.py #20

Open
chhenning opened this issue Jan 17, 2018 · 2 comments
Open

nupic.engine.__init__.py #20

chhenning opened this issue Jan 17, 2018 · 2 comments

Comments

@chhenning
Copy link
Owner

EsEsE
======================================================================
ERROR: testPhases (__main__.NetworkSugarTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "syntactic_sugar_test.py", line 33, in testPhases
    n = net.Network()
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 609, in __init__
    obj.__func__.__doc__ = docString
AttributeError: attribute '__doc__' of 'builtin_function_or_method' objects is not writable

======================================================================
ERROR: testRegionCollection (__main__.NetworkSugarTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "syntactic_sugar_test.py", line 63, in testRegionCollection
    n = net.Network()
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 609, in __init__
    obj.__func__.__doc__ = docString
AttributeError: attribute '__doc__' of 'builtin_function_or_method' objects is not writable
@chhenning
Copy link
Owner Author

Commented out the code for now.

@chhenning
Copy link
Owner Author

EsEs.
======================================================================
ERROR: testPhases (__main__.NetworkSugarTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "syntactic_sugar_test.py", line 39, in testPhases
    _r1 = n.addRegion('r1', 'TestNode', '')
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 642, in addRegion
    return self._getRegions()[name]
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 259, in __getitem__
    value = self.valueWrapper(key, value)
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 630, in makeRegion
    r = Region(r, self)
  File "D:\nupic\src\python\python3\nupic\support\lock_attributes.py", line 65, in decorated
    f(self, *args, **kw)
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 406, in __init__
    self._paramTypeCache = {}
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 419, in __setattr__
    setattr(self._region, name, value)
AttributeError: 'nupic.bindings.engine_internal.Region' object has no attribute '_paramTypeCache'

======================================================================
ERROR: testRegionCollection (__main__.NetworkSugarTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "syntactic_sugar_test.py", line 68, in testRegionCollection
    r1 = n.addRegion('r1', 'TestNode', '')
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 642, in addRegion
    return self._getRegions()[name]
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 259, in __getitem__
    value = self.valueWrapper(key, value)
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 630, in makeRegion
    r = Region(r, self)
  File "D:\nupic\src\python\python3\nupic\support\lock_attributes.py", line 65, in decorated
    f(self, *args, **kw)
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 406, in __init__
    self._paramTypeCache = {}
  File "D:\nupic\src\python\python3\nupic\engine\__init__.py", line 419, in __setattr__
    setattr(self._region, name, value)
AttributeError: 'nupic.bindings.engine_internal.Region' object has no attribute '_paramTypeCache'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant