Troubleshooting#
This page lists the failures that a first installation or a first program most often meets. Each section quotes the message you see, says what causes it, and gives the fix.
The Wheel Does Not Install#
pip install ovspatialquery finds no wheel for the host:
ERROR: Could not find a version that satisfies the requirement ovspatialquery (from versions: none)
ERROR: No matching distribution found for ovspatialquery
Installing a downloaded wheel file fails the same way with this message:
ERROR: ovspatialquery-<version>-py3-none-<platform>.whl is not a supported wheel on this platform.
No wheel’s platform tag matches the host, or the Python version is not supported. Each release provides a wheel for each of the following platforms:
Platform |
Wheel Tag |
|---|---|
Linux x86-64 (glibc 2.35 or newer) |
|
Linux AArch64 (glibc 2.35 or newer) |
|
Windows x86-64 |
|
Use one of these platforms. On Linux, ldd --version prints the glibc
version; pip refuses these wheels on a release older than 2.35. The Python version must be 3.11,
3.12, or 3.13.
The Library Does Not Load#
Library.open() raises LibraryLoadError with the path it tried, as in
this example:
ovspatialquery.library.LibraryLoadError: OVSPATIALQUERY_LIBRARY ovspatialquery library does not exist: /opt/sdk/lib/libovspatialquery.so
The first word names where the path came from, in the order in which Library.open() looks:
explicit: the path passed toLibrary.open(path).OVSPATIALQUERY_LIBRARY: the environment variable.bundled wheel artifact: the copy inside the wheel.
Correct or unset the path that the message names. A message that starts with
Failed to load the complete core interface means that the file exists but is not a complete
build of this library for this platform. A message that starts with
Unsupported ovspatialquery interface version means that the file comes from another minor
release than the Python package. Use the library from the same release as the package. Refer to
Install for the check that prints the loaded version and path.
CMake Cannot Find the SDK#
find_package(ovspatialquery CONFIG REQUIRED) fails with this message:
Could not find a package configuration file provided by "ovspatialquery"
CMake does not know where the SDK is. Pass the directory that holds the unpacked SDK’s
include/ and lib/ folders as -DCMAKE_PREFIX_PATH=<sdk-root>. With COMPONENTS ovstage, add
ovstage’s CMake package directory to the same list, separated by a semicolon. Refer to
C and C++ SDK.
The ovstage Version Is Refused#
instance.ovstage(ovstage, stage) raises an error that names the version it found:
Ovstage companion requires a supported release (0.3.x, 0.4.x); observed '0.2.1'
The installed ovstage release is not supported. Install a supported release:
Requirement |
Supported Versions |
|---|---|
ovstage |
0.3, 0.4 |
A Prim or a Shape Is Refused#
An ovstage publication succeeds without the prims it cannot publish exactly and lists each one
with a reason, such as UNSUPPORTED_TYPE or MALFORMED_GEOMETRY. Refer to
Excluded Prims for every reason.
An explicit registration instead fails with INVALID_ARGUMENT, and the detail names the
definition. A convex definition is refused when its hull exceeds 255 vertices or 254 faces, or
when its points lie too nearly in one plane. Refer to
Convex Hulls for the limits and the alternatives.
Other Errors#
Every C call returns a status, and the Python package raises ApiError
with that status and a description of the failure. Refer to
Status Codes for what each status means.