Open beks0nn opened 2 months ago
get same error when running unittests ==================================================================================================== short test summary info ==================================================================================================== ERROR tests/unit/gameplay/core/tasks/test_attackClosestCreature.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/gameplay/core/tasks/test_depositGold.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/gameplay/core/tasks/test_depositItems.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/gameplay/core/tasks/test_dropFlasks.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/gameplay/core/tasks/test_useRopeWaypoint.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/gameplay/core/tasks/test_useShovelWaypoint.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/gameplay/core/tasks/test_walkToCoordinate.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/gameplay/core/tasks/test_walkToWaypoint.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/repositories/radar/core/test_getBreakpointTileMovementSpeed.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/repositories/radar/core/test_getClosestWaypointIndexFromCoordinate.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/repositories/radar/core/test_isCloseToCoordinate.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/repositories/radar/core/test_isCoordinateWalkable.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/repositories/radar/core/test_isNonWalkablePixelColor.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/repositories/radar/extractors/getRadarImg/test_getRadarImg.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' ERROR tests/unit/repositories/radar/locators/getRadarToolsPos/test_getRadarToolsPos.py - FileNotFoundError: [Errno 2] No such file or directory: 'C:\git\PyTibia\src\repositories\radar/npys/floorsPathsSqms.npy' !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 15 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Describe the bug when running poetry install i get and error saying :
and whe ntrying to run the bot with poetry run python main.py there is an error after a few seconds. $ poetry run python main.py
after trying to debug abit it looks like the problem that buildFloorsPaths.py is never ran so radar/npys/floorsPathsSqms.npy is never created.
To Reproduce Steps to reproduce the behavior: clean project poetry install poetry run python main.py
Expected behavior expect radar/npys/floorsPathsSqms.npy to exist
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):