Code Monkey home page Code Monkey logo

Comments (9)

niicojs avatar niicojs commented on June 24, 2024

this need a pythin rather up to date, what version are you using?
you can try to disable those lines also

from openpogobot.

mrkaqz avatar mrkaqz commented on June 24, 2024

It is Python 2.7.9

from openpogobot.

niicojs avatar niicojs commented on June 24, 2024

Did you pip install -r requirements.txt?

from openpogobot.

mrkaqz avatar mrkaqz commented on June 24, 2024

Yes, I did

Follow instruction below

git clone --recursive https://www.github.com/OpenPoGo/OpenPoGoBot
cd OpenPoGoBot
virtualenv env
source env/bin/activate
pip install -r requirements.txt

from openpogobot.

niicojs avatar niicojs commented on June 24, 2024

Try removing lines 40 to 42 in pokecli.py

from openpogobot.

niicojs avatar niicojs commented on June 24, 2024

did it work?

from openpogobot.

mrkaqz avatar mrkaqz commented on June 24, 2024

nope, it gave another error below


(env) pi@raspberrypi:~/OpenPoGoBot $ python pokecli.py config/config.yml
[2016-08-17 22:41:11] [Plugins] Loaded plugin "egg_incubator".
[2016-08-17 22:41:11] [Plugins] Loaded plugin "spin_pokestop".
[2016-08-17 22:41:11] [Plugins] Loaded plugin "recycle_items".
[2016-08-17 22:41:11] [Plugins] Loaded plugin "evolver".
[2016-08-17 22:41:11] [Plugins] Loaded plugin "catch_pokemon".
[2016-08-17 22:41:11] [Plugins] Loaded plugin "transfer_pokemon".
Traceback (most recent call last):
File "pokecli.py", line 88, in
main()
File "pokecli.py", line 73, in main
kernel.boot()
File "/home/pi/OpenPoGoBot/app/kernel.py", line 66, in boot
for plugin in self.container.get_by_tag('plugin'):
File "/home/pi/OpenPoGoBot/app/service_container.py", line 88, in get_by_tag
services.append(self.get(service_id))
File "/home/pi/OpenPoGoBot/app/service_container.py", line 77, in get
self._services[service_id] = self._make_service(service_id)
File "/home/pi/OpenPoGoBot/app/service_container.py", line 50, in _make_service
args.append(self.get(service_arg[1:]))
File "/home/pi/OpenPoGoBot/app/service_container.py", line 74, in get
raise ServiceNotFoundException('Service "{}" was not registered.'.format(service_id))
app.exceptions.ServiceNotFoundException: Service "config.egg_incubator" was not registered.

from openpogobot.

niicojs avatar niicojs commented on June 24, 2024

did you rename all .example files in config directory to .yml files to configure the bot?

from openpogobot.

niicojs avatar niicojs commented on June 24, 2024

Closing due to no answers. Reopen it if needed.

from openpogobot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.