EcoNet-NZ / inaturalist-to-cams

Synchronises observations from iNaturalist to the CAMS Weed App
Apache License 2.0
3 stars 3 forks source link

Error building lxml with pip #72

Closed nigelcharman closed 10 months ago

nigelcharman commented 10 months ago

The Synchronise iNaturalist observations to CAMS job is failing continually with the error starting from Action https://github.com/EcoNet-NZ/inaturalist-to-cams/actions/runs/7359741975:

Collecting lxml (from arcgis==2.1.0.3->-r requirements.txt (line 2)) Downloading lxml-5.0.0.tar.gz (3.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.8/3.8 MB 113.6 MB/s eta 0:00:00 Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'error' error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [3 lines of output] Building lxml version 5.0.0. Building without Cython. Error: Please make sure the libxml2 and libxslt development packages are installed. [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details. Error: Process completed with exit code 1.

nigelcharman commented 10 months ago

After updating the version of ArcGIS API to 2.2.0 on the update-arcgis-to-220 branch and running the Run Tests Action on the pull request associated with this branch, the next run of the Synchronise iNaturalist observations to CAMS on the main branch worked OK!

nigelcharman commented 10 months ago

Fixed with #71