geocoders / geocoder-tester

Run search queries against a geocoder that supports geocodejson spec.
Other
40 stars 23 forks source link

Interrupted: 1 errors during collection - but no additional info #31

Closed marcosox closed 6 years ago

marcosox commented 6 years ago

After following the steps in the readme (with data successfully imported from local nominatim instance), a generic error is shown but no context or details about what actually is the error.

(venv-geocode-tester) user@debian:~/geocoder-tester/geocoder_tester$ py.test --api-url http://localhost:2322/api/

[a line of equal signs omitted because it messes up markdown]
platform linux -- Python 3.5.3, pytest-3.3.2, py-1.5.2, pluggy-0.6.0 -- /home/user/venv-geocode-tester/bin/python3
cachedir: ../.cache
rootdir: /home/user/geocoder-tester, inifile: pytest.ini
collected 20361 items / 1 errors                                                                                                                                                                                  
[exclamation points omitted because they mess up markdown] Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

[a line of equal signs omitted because it messes up markdown]

Any insight about this message?

yohanboniface commented 6 years ago

Weird. This seems like an error while collecting the test cases. Can you try with --verbose of --fulltrace or --debug, and this last case you should have more details in a pytestdebug.log file.

nlehuby commented 6 years ago

The PR #35 may fix this.

marcosox commented 6 years ago

Thanks, the PR fixes the error. I was testing an italian dataset indeed.