Hello-

I am trying to install Cerebro but i keep getting this error. I would
appreciate if someone can tell me where to look in order to fix it:

*Traceback (most recent call last):*
*  File "/my-path/cerebro.py", line 26, in <module>*
*    from cerebro_model import CerebroModel*
*  File "/my-path/cerebro_model.py", line 39, in <module>*
*    from nupic.frameworks.opf.exp_generator.ExpGenerator import
(expGenerator)*
*  File "/home/nupic/nupic/frameworks/opf/exp_generator/ExpGenerator.py",
line 59, in <module>*
*    METRIC_WINDOW = int(Configuration.get("nupic.opf.metricWindow"))*
*TypeError: int() argument must be a string or a number, not 'NoneType'*

Here below the details:

1. I am using an HP TouchSmart 600 with Ubuntu 14.04.1 LTS (Trusty) in a
dual partition with Windows 7.
2. I have installed NuPIC on the Ubuntu partition following the Ubuntu
tutorial (https://github.com/numenta/nupic/wiki/Installing-NuPIC-on-Ubuntu)
and i have successfully run all the tests.
3. In Ubuntu I have installed: libevent(1.4.13), mongodb(v2.4.11) &
requirements.txt for cerebro (gevent==0.13.8, web.py==0.37 &
pymongo==2.6.2) Everything went OK.
4. I have created one folder named "mongo" to be used as a database path
and then launch mongo *~$ mongod --dbpath /my_path/mongo --port 8050*. The
reason i did this was because if i only run on the terminal *~$ mongod* i
get the following error - ERROR: dbpath (/data/db/) does not exist. (Just
FYI)
5. I suppose it lunch succesfully because i receive the confirmation
"waiting for connections on port 8050". Also when i run *~$ ps aux | grep
mongo* i can see the process ID number + some other details.
6. Then I open a new terminal to run *~$ python /my-path/cerebro.py* and i
get the error above.

Thanks for your help.

Kindly regards,
Diego

Reply via email to