Hello Matthew, Thanks for your answer.
I have a few questions on regards of Cerebro 2. 1. By CLA model you mean the description.py file that is generated after the swarm? -just to clarify. 2. When setting up cerebro2.server is written that i must first patch my model. but in which file exactly do i need to add these lines? Also can you pls point me out how do i need to save the description.py file so i can call it as an object-argument of *Patcher().patchCLAModel(model). * 3. I am able to start the server successfully (python server.py 9090) but when i go to url http://localhost:9090/demo i get a 404 error file not found, which is strange cause the folder and the files are there, and in the root i only see "See README for instructions". I think at this stage i should be able to see at least the demos running is that correct? 4. If i manage to run successfully the Model/SP/TP in cerebro2.server is it also necesary to go to cerebro2-client and run again *simplehttpserver* 8000? Or should it be the same port number 9090? Thanks, Diego 2014-09-14 18:00 GMT+02:00 <[email protected]>: > Send nupic mailing list submissions to > [email protected] > > To subscribe or unsubscribe, visit > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of nupic digest..." > > > Today's Topics: > > 1. Installing Cerebro (debugging tool) (Diego Martinez) > 2. Re: Installing Cerebro (debugging tool) (Matthew Taylor) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sat, 13 Sep 2014 19:52:26 +0200 > From: Diego Martinez <[email protected]> > To: [email protected] > Subject: Installing Cerebro (debugging tool) > Message-ID: > <CAJ3gpaDRi7yqNCpK5X5hRHWfSQNxW-2F1SU1SF0= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > 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 > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.numenta.org/pipermail/nupic_lists.numenta.org/attachments/20140913/ba9eacc3/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Sat, 13 Sep 2014 12:30:32 -0700 > From: Matthew Taylor <[email protected]> > To: "NuPIC general mailing list." <[email protected]> > Subject: Re: Installing Cerebro (debugging tool) > Message-ID: > <CAJv6nDNr-TGAkd6MyoyyuujfF0Lzg_E4nZ8rkCAv52UFS= > [email protected]> > Content-Type: text/plain; charset=UTF-8 > > Diego, > > https://github.com/numenta/nupic.cerebro is not actively supported any > more. Chetan and Jeff Fohl have been working on > https://github.com/numenta/nupic.cerebro2, however. I think you'd have > more luck trying to this that project. You'll definitely get more > support on the mailing list, because no one is maintaining Cerebro 1. > > Regards, > --------- > Matt Taylor > OS Community Flag-Bearer > Numenta > > > On Sat, Sep 13, 2014 at 10:52 AM, Diego Martinez <[email protected]> wrote: > > 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 > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > nupic mailing list > [email protected] > http://lists.numenta.org/mailman/listinfo/nupic_lists.numenta.org > > > ------------------------------ > > End of nupic Digest, Vol 17, Issue 25 > ************************************* >
