Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Debugger not working #4

Open
tamurajunichi opened this issue Nov 25, 2019 · 0 comments
Open

Debugger not working #4

tamurajunichi opened this issue Nov 25, 2019 · 0 comments

Comments

@tamurajunichi
Copy link

/home/tj/anaconda3/envs/p-dqn/bin/python3 /snap/pycharm-professional/171/helpers/pydev/pydevd.py --multiproc --qt-support=auto --client 127.0.0.1 --port 40821 --file /home/tj/PycharmProjects/MP-DQN/run_soccer_qpamdp.py
pydev debugger: process 7349 is connecting

Connected to pydev debugger (build 192.7142.56)
/home/tj/anaconda3/envs/p-dqn/lib/python3.6/site-packages/hfo_py/bin/HFO
Starting server with command: /home/tj/anaconda3/envs/p-dqn/lib/python3.6/site-packages/hfo_py/bin/HFO --headless --frames-per-trial 500 --offense-agents 1 --defense-agents 0 --offense-npcs 0 --defense-npcs 0 --port 47115 --offense-on-ball 0 --seed -1 --ball-x-min 0.000000 --ball-x-max 0.200000 --log-dir log --fullstate --no-logging
usage: HFO [-h] [--headless] [--trials NUMTRIALS] [--frames NUMFRAMES]
           [--frames-per-trial MAXFRAMESPERTRIAL]
           [--untouched-time MAXUNTOUCHEDTIME]
           [--offense-agents OFFENSEAGENTS] [--defense-agents DEFENSEAGENTS]
           [--offense-npcs OFFENSENPCS] [--defense-npcs DEFENSENPCS]
           [--agent-play-goalie] [--offense-team OFFENSETEAM]
           [--defense-team DEFENSETEAM] [--no-sync] [--port PORT]
           [--no-logging] [--hfo-logging] [--log-dir LOGDIR] [--record]
           [--offense-on-ball OFFENSEONBALL] [--fullstate] [--seed SEED]
           [--message-size MESSAGESIZE] [--ball-x-min MIN_BALL_X]
           [--ball-x-max MAX_BALL_X] [--ball-y-min MIN_BALL_Y]
           [--ball-y-max MAX_BALL_Y] [--verbose] [--deterministic]
HFO: error: argument --frames-per-trial: invalid int value: '/snap/pycharm-professional/171/helpers/pydev/pydevd.py'
******************************************************************
 librcsc 4.1.0
 Copyright 2000 - 2007. Hidehisa Akiyama.
 Copyright 2007 - 2011. Hidehisa Akiyama and Hiroki Shimora
 All rights reserved.
******************************************************************
[ConnectToServer] Server Down!
 -1: waited 5 seconds. server down??

Process finished with exit code 1

If it runs run_psoccer_pdqn.py , the code will work properly, but debugging will result in the above error. How can I debug correctly?

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

No branches or pull requests

1 participant