Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run 2 bots #3088

Closed
paulsavoye opened this issue Aug 8, 2016 · 6 comments
Closed

Run 2 bots #3088

paulsavoye opened this issue Aug 8, 2016 · 6 comments

Comments

@paulsavoye
Copy link

Expected Behavior

Run 2 bots

Actual Behavior

Error Adress already in use

Steps to Reproduce

Copy new folder and run 2 bots with screen

Other Information

OS: Raspbian
Git Commit: (run 'git log -n 1 --pretty=format:"%H"' and paste it here)
Python Version: (run 'python -V' and paste it here)

@djadstar
Copy link

djadstar commented Aug 8, 2016

I had this issue on previous releases and used a virtual environment to run multiple bots. Not sure if this is the correct work around or not.

@fmdcarvalho
Copy link

Are you talking about the bot itself or the web module? If its the second you don't need to run 2 instances of the web module. read the wiki

@TCB13
Copy link

TCB13 commented Aug 8, 2016

I've been doing what @cbogithub suggested since ever without any issues.

@djadstar
Copy link

djadstar commented Aug 8, 2016

I've tried and get the following:

File "pokecli.py", line 38, in
from pgoapi.exceptions import NotLoggedInException, ServerSideRequestThrottlingException, ServerBusyOrOfflineException
ImportError: No module named pgoapi.exceptions

@djadstar
Copy link

djadstar commented Aug 8, 2016

Found my mistake, hadn't activated the virtual environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants
@fmdcarvalho @TCB13 @paulsavoye @djadstar @RedViper9 and others