Created
August 14, 2022 20:50
-
-
Save Th0rgal/03c6902c65fe5afbbe2010792145d2ec to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[nix-shell:~/workspace/hello]$ python ~/workspace/protostar/binary_entrypoint.py test | |
22:46:14 [WARNING] Couldn't read protostar package info | |
22:46:14 [INFO] Collected 1 suite, and 2 test cases (0.027 s) | |
Unexpected Protostar error. Report it here: | |
https://github.com/software-mansion/protostar/issues | |
Traceback (most recent call last): | |
File "/Users/thomas/workspace/protostar/binary_entrypoint.py", line 11, in <module> | |
main(Path(__file__).parent) | |
File "/Users/thomas/workspace/protostar/protostar/start.py", line 23, in main | |
run_protostar(container.protostar_cli, args, arg_parser) | |
File "/Users/thomas/workspace/protostar/protostar/start.py", line 56, in run_protostar | |
raise err | |
File "/Users/thomas/workspace/protostar/protostar/start.py", line 51, in run_protostar | |
asyncio.run(protostar_cli.run(args)) | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/asyncio/runners.py", line 44, in run | |
return loop.run_until_complete(main) | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete | |
return future.result() | |
File "/Users/thomas/workspace/protostar/protostar/protostar_cli.py", line 60, in run | |
await self._run_command_from_args(args) | |
File "/Users/thomas/workspace/protostar/protostar/protostar_cli.py", line 94, in _run_command_from_args | |
await super().run(args) | |
File "/Users/thomas/workspace/protostar/protostar/cli/cli_app.py", line 28, in run | |
await command.run(args) | |
File "/Users/thomas/workspace/protostar/protostar/commands/test/test_command.py", line 130, in run | |
summary = await self.test( | |
File "/Users/thomas/workspace/protostar/protostar/commands/test/test_command.py", line 207, in test | |
TestScheduler(live_logger, worker=TestRunner.worker).run( | |
File "/Users/thomas/workspace/protostar/protostar/commands/test/test_scheduler.py", line 58, in run | |
with multiprocessing.Pool( | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/multiprocessing/context.py", line 119, in Pool | |
return Pool(processes, initializer, initargs, maxtasksperchild, | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/multiprocessing/pool.py", line 212, in __init__ | |
self._repopulate_pool() | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/multiprocessing/pool.py", line 303, in _repopulate_pool | |
return self._repopulate_pool_static(self._ctx, self.Process, | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/multiprocessing/pool.py", line 326, in _repopulate_pool_static | |
w.start() | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/multiprocessing/process.py", line 121, in start | |
self._popen = self._Popen(self) | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/multiprocessing/context.py", line 284, in _Popen | |
return Popen(process_obj) | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 32, in __init__ | |
super().__init__(process_obj) | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/multiprocessing/popen_fork.py", line 19, in __init__ | |
self._launch(process_obj) | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/multiprocessing/popen_spawn_posix.py", line 47, in _launch | |
reduction.dump(process_obj, fp) | |
File "/nix/store/awi43jadpy76hwbxx2dpq866n2l1anv2-python3-3.9.13/lib/python3.9/multiprocessing/reduction.py", line 60, in dump | |
ForkingPickler(file, protocol).dump(obj) | |
AttributeError: Can't pickle local object 'TestScheduler.run.<locals>.<lambda>' | |
(.venv) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment