ARPA-SIMC / arkimaps

generazione mappe meteorologiche da modelli previsionali
GNU General Public License v2.0
0 stars 1 forks source link

module errors on rocky8 #173

Closed brancomat closed 2 months ago

brancomat commented 2 months ago

arkimaps' last version (v1.21) can't be launched on rocky8 with any argument:

$ arkimaps -h
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/arkimapslib/cli.py", line 14, in <module>
    from functools import cached_property
ImportError: cannot import name 'cached_property'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/arkimaps", line 6, in <module>
    from arkimapslib import cli
  File "/usr/lib/python3.6/site-packages/arkimapslib/cli.py", line 16, in <module>
    from arkimapslib.polyfill.cached_property import cached_property
ModuleNotFoundError: No module named 'arkimapslib.polyfill'

curious how this hasn't been caught by the test suite

spanezz commented 2 months ago

The tricky thing is that the module is in the sources but wasn't being packaged, so the test suite passed but the installed version didn't have the module