Hi there,
I've successfully forked/installed Autopilot on MacOS 10.4.4/Python 3.8.5 (following the instructions
here). Running the setup routine for a terminal agent also seemed to work fine, giving:
--------------------------------
Environment Configuration:
[ SUCCESS ] virtualenv detected, path: /Users/pauljerem/.virtualenvs/autopilot
Additional Messages: Launch file created at /Users/pauljerem/autopilot/launch_autopilot.sh
--------------------------------
(albeit with the following warning):
/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py:127: RuntimeWarning: 'autopilot.setup.setup_autopilot' found in sys.modules after import of package 'autopilot.setup', but prior to execution of 'autopilot.setup.setup_autopilot'; this may result in unpredictable behaviour
warn(RuntimeWarning(msg))
However, when I try to run the launch script (sh launch_autopilot.sh), I get:
/Users/pauljerem/PycharmProjects/autopilot/autopilot/autopilot/core/terminal.py:251: DeprecationWarning: QDesktopWidget.availableGeometry(int screen) const is deprecated
winsize = app.desktop().availableGeometry()
/Users/pauljerem/PycharmProjects/autopilot/autopilot/autopilot/core/terminal.py:343: DeprecationWarning: QDesktopWidget.screenGeometry(int screen) const is deprecated
screensize = app.desktop().screenGeometry()
/Users/pauljerem/PycharmProjects/autopilot/autopilot/autopilot/core/terminal.py:344: DeprecationWarning: QDesktopWidget.availableGeometry(int screen) const is deprecated
winsize = app.desktop().availableGeometry()
/Users/pauljerem/PycharmProjects/autopilot/autopilot/autopilot/core/terminal.py:372: DeprecationWarning: QDesktopWidget.availableGeometry(int screen) const is deprecated
primary_display = app.desktop().availableGeometry(0)
INFO:main:Net Node Initialized
Traceback (most recent call last):
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 194, in _run_module_as_main
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py", line 87, in _run_code
File "/Users/pauljerem/PycharmProjects/autopilot/autopilot/autopilot/core/terminal.py", line 911, in <module>
File "/Users/pauljerem/PycharmProjects/autopilot/autopilot/autopilot/core/terminal.py", line 188, in __init__
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 121, in start
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 284, in _Popen
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 47, in _launch
File "/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/reduction.py", line 60, in dump
TypeError: cannot pickle '_thread.RLock' object
Do you have any idea what the issue might be? I'm very much a Python novice (much more of an R user...), so please forgive me if I've just made a rookie error! :)
Thanks v. much,
Paul.