flowdriveai / flowpilot

flow-pilot is an openpilot based driver assistance system that runs on linux, windows and android powered machines.
GNU General Public License v3.0
1.67k stars 240 forks source link

ModuleNotFoundError: No module named 'common.timeout' #33

Open ayushmankumar7 opened 1 year ago

ayushmankumar7 commented 1 year ago

Describe the bug An attempt to run the file "selfdrive/loggerd/tests/test_loggerd.py". Internally, test_loggerd depends on common.timeout.

No module named "timeout" neither in /flowpilot/common nor in /flowpilot/common/__init__.py

To Reproduce python selfdrive/loggerd/tests/test_loggerd.py

Expected behavior Run the unit tests written for loggerd.

Platform Details Desktop:

Android :

Additional context Add any other context about the problem here.

ayushmankumar7 commented 1 year ago

In Openpilot, we have "https://github.com/commaai/openpilot/blob/master/common/timeout.py"

MankaranSingh commented 1 year ago

we can add the required files, just mention if it was hard forked with particular git commit like this: https://github.com/flowdriveai/flowpilot/blob/master/selfdrive/car/mock/interface.py#L1

ayushmankumar7 commented 1 year ago

Sure!