Hey Matt, These are the results: git log -l --oneline gives a very long output. The first part of the output is:
commit 1350bb76eeebd8a5c15f22cb94b4fb8027fd4f1d Merge: c9a7217 5cb80b1 Author: Subutai Ahmad <[email protected]> Date: Tue Mar 4 08:42:29 2014 -0800 Merge pull request #692 from scottpurdy/master Spatial pooler pylint update commit 5cb80b1127c0a70d068e8afd8a836878a4129d52 Author: Scott Purdy <[email protected]> Date: Mon Mar 3 17:20:40 2014 -0800 Fix typos as suggested in code review. commit c9a7217957a916c4f42a169f86c38d4d1740bfaa Merge: e8be55d ca272cd Author: Matthew Taylor <[email protected]> Date: Mon Mar 3 16:32:10 2014 -0800 Merge pull request #696 from rhyolight/update-readme-logo Using new logo icon in README. The C++ tests pass. The python tests fail with the following output: tests/unit/py2/nupic/engine/network_test.py:32: NetworkTest.testErrorHandling FAILED =================== FAILURES ==================================== ___________________ NetworkTest.testErrorHandling __________________________________________ self = <tests.unit.py2.nupic.engine.network_test.NetworkTest testMethod=testErrorHandling> def testErrorHandling(self): n = engine.Network() # Test trying to add non-existent node with self.assertRaises(Exception) as cm: n.addRegion('r', 'py.NonExistingNode', '') self.assertEqual(cm.exception.message, "Matching Python module for " + "py.NonExistingNode not found.") # Test failure during import with self.assertRaises(Exception) as cm: n.addRegion('r', 'py.UnimportableNode', '') self.assertEqual(str(cm.exception), 'invalid syntax (UnimportableNode.py, line 5)') # Test failure in the __init__() method with self.assertRaises(Exception) as cm: n.addRegion('r', 'py.TestNode', '{ failInInit: 1 }') self.assertEqual(str(cm.exception), 'TestNode.__init__() Failing on purpose as requested') # Test failure inside the compute() method with self.assertRaises(Exception) as cm: r = n.addRegion('r', 'py.TestNode', '{ failInCompute: 1 }') r.dimensions = engine.Dimensions([4, 4]) n.initialize() n.run(1) self.assertEqual(str(cm.exception), > 'TestNode.compute() Failing on purpose as requested') E AssertionError: "Wrong number of arguments for overloaded function 'new_Dimensions'.\n Possible C/C++ prototypes are:\n nta::Dimensions()\n nta::Dimensions(std::vector< size_t,std::allocator< size_t > >)\n nta::Dimensions(size_t)\n nta::Dimensions(size_t,size_t)\n nta::Dimensions(size_t,size_t,size_t)\n" != 'TestNode.compute() Failing on purpose as requested' tests/unit/py2/nupic/engine/network_test.py:65: AssertionError ------------------------------------------------------------------------- Captured stdout -------------------------------------------------------------------------- ERROR: Matching Python module for py.NonExistingNode not found. [/home/grey/git/nupic/nta/engine/RegionImplFactory.cpp line 450] ERROR: Could not get valid spec for Region: py.UnimportableNode [/home/grey/git/nupic/nta/engine/RegionImplFactory.cpp line 446] {'singleNodeOnly': False, 'inputs': {'bottomUpIn': {'count': 0, 'requireSplitterMap': True, 'description': 'Primary input for the node', 'isDefaultInput': True, 'dataType': 'Real64', 'required': True, 'regionLevel': False}}, 'commands': {}, 'description': 'The node spec of the NuPIC 2 Python TestNode', 'parameters': {'failInCompute': {'count': 1, 'description': 'For testing failure in compute()', 'dataType': 'Int32', 'accessMode': 'ReadWrite', 'defaultValue': '0', 'constraints': ''}, 'stringParam': {'count': 0, 'description': 'String parameter', 'dataType': 'Byte', 'accessMode': 'ReadWrite', 'defaultValue': 'nodespec value', 'constraints': ''}, 'real32Param': {'count': 1, 'description': 'Real32 scalar parameter', 'dataType': 'Real32', 'accessMode': 'ReadWrite', 'defaultValue': '32.1', 'constraints': ''}, 'failInInit': {'count': 1, 'description': 'For testing failure in __init__()', 'dataType': 'Int32', 'accessMode': 'ReadWrite', 'defaultValue': '0', 'constraints': ''}, 'uint32Param': {'count': 1, 'description': 'UInt32 scalar parameter', 'dataType': 'UInt32', 'accessMode': 'ReadWrite', 'defaultValue': '33', 'constraints': ''}, 'int32Param': {'count': 1, 'description': 'Int32 scalar parameter', 'dataType': 'Int32', 'accessMode': 'ReadWrite', 'defaultValue': '32', 'constraints': ''}, 'uint64Param': {'count': 1, 'description': 'UInt64 scalar parameter', 'dataType': 'UInt64', 'accessMode': 'ReadWrite', 'defaultValue': '65', 'constraints': ''}, 'int64arrayParam': {'count': 0, 'description': 'Int64 array parameter', 'dataType': 'Int64', 'accessMode': 'ReadWrite', 'defaultValue': '', 'constraints': ''}, 'int64Param': {'count': 1, 'description': 'Int64 scalar parameter', 'dataType': 'Int64', 'accessMode': 'ReadWrite', 'defaultValue': '64', 'constraints': ''}, 'real64Param': {'count': 1, 'description': 'Real64 scalar parameter', 'dataType': 'Real64', 'accessMode': 'ReadWrite', 'defaultValue': '64.1', 'constraints': ''}, 'real32arrayParam': {'count': 0, 'description': 'Real32 array parameter', 'dataType': 'Real32', 'accessMode': 'ReadWrite', 'defaultValue': '', 'constraints': ''}}, 'outputs': {'bottomUpOut': {'count': 0, 'dataType': 'Real64', 'isDefaultOutput': True, 'regionLevel': False, 'description': 'Primary output for the node'}}} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ========================== 1 failed, 153 passed, 6 skipped in 14.55 seconds ======= ________________________________________ From: nupic [[email protected]] on behalf of Matthew Taylor [[email protected]] Sent: 07 March 2014 16:24 To: NuPIC general mailing list. Subject: Re: [nupic-discuss] Swarm failing from exceptions Manuel, Can you tell us how up-to-date your local repository is by running: › git log -1 --oneline and pasting the output in a message. Also, do the C++ tests [1] and python tests [2] pass? [1] https://github.com/numenta/nupic/blob/master/README.md#run-the-c-tests [2] https://github.com/numenta/nupic/blob/master/README.md#run-the-python-unit-tests Thanks, --------- Matt Taylor OS Community Flag-Bearer Numenta On Fri, Mar 7, 2014 at 4:51 AM, Scheele, Manuel <[email protected]> wrote: > Hi All, > > I am having some trouble running a swarm. It seems like a file is missing. I > would really appreciate it if someone could give me a hint as to how to fix > this. > > The terminal output is: > > Evaluated 7 models > HyperSearch finished! > Worker completion message: E10002: Exiting due to receiving too many models > failing from exceptions (6 out of 6). > Model Exception: Exception occurred while running model 1506: > Exception(u'Unable to locate: ta.csv using NTA_DATA_PATH of > /home/grey/nta/eng/share/prediction/data:',) (<type 'exceptions.Exception'>) > Traceback (most recent call last): > File > "/home/grey/nta/eng/lib/python2.7/site-packages/nupic/swarming/utils.py", > line 446, in runModelGivenBaseAndParams > (completionReason, completionMsg) = runner.run() > File > "/home/grey/nta/eng/lib/python2.7/site-packages/nupic/swarming/ModelRunner.py", > line 249, in run > maxTimeout=readTimeout) > File > "/home/grey/nta/eng/lib/python2.7/site-packages/nupic/data/stream_reader.py", > line 211, in __init__ > self._openStream(dataUrl, isBlocking, maxTimeout, bookmark, > firstRecordIdx) > File > "/home/grey/nta/eng/lib/python2.7/site-packages/nupic/data/stream_reader.py", > line 295, in _openStream > self._recordStoreName = findDataset(dataUrl[len(FILE_PREF):]) > File > "/home/grey/nta/eng/lib/python2.7/site-packages/nupic/data/datasethelpers.py", > line 78, in findDataset > (datasetPath, os.environ.get('NTA_DATA_PATH', ''))) > Exception: Unable to locate: ta.csv using NTA_DATA_PATH of > /home/grey/nta/eng/share/prediction/data: > > > The file format looks like this: > > time_stamp,phoneme,coef_1,coef_2,coef_3,coef_4 > datetime,string,float,float,float,float > T,S,,,, > 2014-01-01 00:00:01,h#,0.699627,-0.699280,-0.790237,-0.871324 > 2014-01-01 00:00:02,h#,0.429845,-0.754851,-0.781687,-0.871152 > > with some more coefficients to the right and more data down (I had to cut it > so the email is still readable). > > Any ideas what is going on? > > Regards, > Manuel > > > _______________________________________________ > nupic mailing list > [email protected] > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org _______________________________________________ nupic mailing list [email protected] http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org _______________________________________________ nupic mailing list [email protected] http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org
