HTMpandaVis icon indicating copy to clipboard operation
HTMpandaVis copied to clipboard

Error in running PandaVis

Open csoubhik opened this issue 2 years ago • 1 comments

Extract from Numenta Discussion Forum Hi, getting the following error when trying to run the hotgym example with pandavis (runs fine without pandavis). Can you please advise?

File “/Users/soubhikchatterjee/.local/lib/python3.7/site-packages/HTMpandaVis-0.1-py3.7.egg/pandaBaker/pandaBaker.py”, line 56, in PrepareDatabase self.db.Insert(tableName, regionName,regionInstance[0], json.dumps(regionInstance[1].getParameters()))

RuntimeError: Attribute getParameters not found.

Zbysekz HTM Wizard 4d Hello, please this kind of problems post as issues in github repository. Anyway, it seems that you have pretty old pandaVis version (0.1) package, but current is 1.0.

I have installed Pandavis from this repository. Please advise how to get the current version.

csoubhik avatar Feb 28 '22 06:02 csoubhik

Ok, sorry you have probably current version - the latest has wrong version in setup.py - it should have 1.0 instead of 0.1.

But back to the problem - i made a quick look and it is problem of htm.core - getParameters() is maybe missing in that library. We implemented that with this PR https://github.com/htm-community/htm.core/pull/866 Not sure where is the problem - are you using latest (v2.1.16) htm.core? If yes then try to go back to 2.1.15.

Also you can trace down the type of region - add print() function before this runtime error, to print some info about the regionName and type - then you should find this method in htm.core region - or post this detailed trace as issue in htm.core. (with link to this issue)

BTW - I am not currently in active development in this project.

Zbysekz avatar Mar 01 '22 07:03 Zbysekz