Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when performing compilation tests #3

Closed
juanmed opened this issue Aug 11, 2021 · 4 comments
Closed

Errors when performing compilation tests #3

juanmed opened this issue Aug 11, 2021 · 4 comments

Comments

@juanmed
Copy link

juanmed commented Aug 11, 2021

Hi,

Thank you for releasing this framework. I tried to compile and install openeb in my Ubuntu18.04 pc.I followed the instructions in this repository. Compilation goes fine but when I do ctest --verbose I get many errors. The summary is:

38% tests passed, 13 tests failed out of 21

Total Test time (real) =   9.39 sec

The following tests FAILED:
	  1 - metavision-raw-cutter-test (Failed)
	  4 - metavision-raw-info-with-sample-plugin-test (Failed)
	  5 - metavision-raw-cutter-with-sample-plugin-test (Failed)
	  6 - metavision-raw-to-csv-with-sample-plugin-test (Failed)
	  7 - metavision-raw-to-dat-with-sample-plugin-test (Failed)
	 11 - pytests_base (Failed)
	 13 - metavision-raw-to-video-test (Failed)
	 15 - pytests_core (Failed)
	 16 - metavision-raw-info-test (Failed)
	 17 - metavision-raw-to-dat-test (Failed)
	 18 - metavision-raw-to-csv-test (Failed)
	 20 - metavision-evt2-raw-file-decoder-test (Failed)
	 21 - metavision-evt3-raw-file-decoder-test (Failed)

Here is the full output of the ctest command:
test.log

I will appreciate if you could guide me on how to fix this errors.

@AwayB
Copy link
Contributor

AwayB commented Aug 11, 2021

Hello Juan,

Did you install the HAL Plugins and the datasets? It's explained in the lower part of the README that you need those for the tests to run.

https://github.com/prophesee-ai/openeb#optional-running-the-test-suite

You might also want to install opencv-python.

@juanmed
Copy link
Author

juanmed commented Aug 12, 2021 via email

@AwayB
Copy link
Contributor

AwayB commented Aug 12, 2021

Hello,

I believe the datasets were not placed correctly, since you have these assert os.path.exists(file) errors:

1: # To be sure the error isn't thrown because the input file doens't exist, use one of the datasets
1: input_rawfile = os.path.join(dataset_dir, "gen31_timer.raw")
1: > assert os.path.exists(input_rawfile)
1: �[1m�[31mE AssertionError: assert False�[0m

Just in case, are your datasets in <OPENEB_SRC_DIR>/datasets/ or <OPENEB_SRC_DIR>/datasets/datasets/?

Unzipping creates a datasets directory already, so if you unzipped them at <OPENEB_SRC_DIR>/datasets/, it might have created a subdirectory, which will not work.

@laurentbristiel
Copy link
Contributor

I am assuming @KingArrkinian comment helped @juanmed => closing this issue
If this is not the case, don't hesitate to ask for more help.

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

No branches or pull requests

3 participants