#2424 closed defect (fixed)

actinia install error

Reported by: darkblueb Owned by: osgeolive@…
Priority: major Milestone: OSGeoLive16.0
Component: OSGeoLive Keywords: actinia
Cc:

Description

user@osgeolive:~/gisvm/bin$ sudo ./install_actinia.sh 
===============================================================
Starting "install_actinia.sh" ...
===============================================================
Ign:1 cdrom://OSGeoLive build40-1949c1b - Release amd64 (20220809) jammy InRelease
Hit:2 cdrom://OSGeoLive build40-1949c1b - Release amd64 (20220809) jammy Release
Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease                                                      
Get:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]                                     
Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1031 kB]
Get:7 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [216 kB]
Get:9 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy InRelease [23.8 kB]
Get:10 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [764 kB]
Hit:11 http://ppa.launchpad.net/osgeolive/nightly/ubuntu jammy InRelease
Get:12 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [102 kB]
Get:13 https://ppa.launchpadcontent.net/osgeolive/docs/ubuntu jammy InRelease [17.5 kB]
Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 c-n-f Metadata [14.1 kB]
Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [816 kB]
Get:16 https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu jammy/main amd64 Packages [33.7 kB]
Get:17 https://ppa.launchpadcontent.net/osgeolive/docs/ubuntu jammy/main amd64 Packages [768 B]
Get:18 http://security.ubuntu.com/ubuntu jammy-security/main Translation-en [151 kB]
Get:19 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [41.4 kB]
Get:20 http://security.ubuntu.com/ubuntu jammy-security/main amd64 c-n-f Metadata [9028 B]
Get:21 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [773 kB]
Get:22 http://archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [128 kB]
Get:23 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [604 B]
Get:24 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [902 kB]
Get:25 http://security.ubuntu.com/ubuntu jammy-security/restricted Translation-en [121 kB]
Get:26 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 c-n-f Metadata [604 B]
Get:27 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [718 kB]
Get:28 http://security.ubuntu.com/ubuntu jammy-security/universe Translation-en [119 kB]
Get:29 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [18.5 kB]
Get:30 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 c-n-f Metadata [14.2 kB]
Get:31 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [19.4 kB]
Get:32 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 c-n-f Metadata [252 B]
Get:33 http://archive.ubuntu.com/ubuntu jammy-updates/universe Translation-en [181 kB]
Get:34 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [269 kB]
Get:35 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 c-n-f Metadata [18.6 kB]
Get:36 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [24.1 kB]
Get:37 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:38 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [468 B]
Fetched 6756 kB in 31s (218 kB/s)
Reading package lists...
W: https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package python3-actinia-core
E: Unable to locate package python3-actinia-statistic-plugin
usage: grass [-h] [-v] [--text] [--gtext] [--gui] [-c [CRS]] [-e] [--config [CONFIG ...]] [--tmp-mapset]
             [--tmp-location CRS] [-f] [--exec ...]
             [PATH]
grass: error: unrecognized arguments: -text
usage: grass [-h] [-v] [--text] [--gtext] [--gui] [-c [CRS]] [-e] [--config [CONFIG ...]] [--tmp-mapset]
             [--tmp-location CRS] [-f] [--exec ...]
             [PATH]
grass: error: unrecognized arguments: -text
Downloading actinia logo ...
--2023-04-20 18:00:36--  https://github.com/mundialis/actinia_core/raw/master/docs/actinia_logo.png
Resolving github.com (github.com)... 192.30.255.113
Connecting to github.com (github.com)|192.30.255.113|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://github.com/actinia-org/actinia-core/raw/master/docs/actinia_logo.png [following]
--2023-04-20 18:00:36--  https://github.com/actinia-org/actinia-core/raw/master/docs/actinia_logo.png
Reusing existing connection to github.com:443.
HTTP request sent, awaiting response... 404 Not Found
2023-04-20 18:00:37 ERROR 404: Not Found.

===============================================================
Finished "install_actinia.sh"
Disk Usage1: install_actinia.sh,Filesystem,1K-blocks,Used,Available,Use%,Mounted_on,date
Disk Usage2: install_actinia.sh,/cow,11783,415,11368,4%,/,2023-04-20 18:00:37+00:00
Temp Usage: install_actinia.sh,0        /tmp
===============================================================

Change History (11)

comment:1 by neteler, 20 months ago

Syntax changes -text --> --text implemented here as well as path to "actinia_logo.png":

https://github.com/OSGeo/OSGeoLive/pull/364

Last edited 20 months ago by neteler (previous) (diff)

comment:2 by darkblueb, 20 months ago

tested and now --

user@osgeolive:~/gisvm/bin$ actinia_start.sh 
[2023-04-20 23:09:33 +0000] [4012] [INFO] Starting gunicorn 20.1.0
[2023-04-20 23:09:33 +0000] [4012] [INFO] Listening at: http://0.0.0.0:8088 (4012)
[2023-04-20 23:09:33 +0000] [4012] [INFO] Using worker: sync
[2023-04-20 23:09:33 +0000] [4013] [INFO] Booting worker with pid: 4013
[2023-04-20 23:09:33 +0000] [4013] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/gunicorn/arbiter.py", line 589, in spawn_worker
    worker.init_process()
  File "/usr/lib/python3/dist-packages/gunicorn/workers/base.py", line 134, in init_process
    self.load_wsgi()
  File "/usr/lib/python3/dist-packages/gunicorn/workers/base.py", line 146, in load_wsgi
    self.wsgi = self.app.wsgi()
  File "/usr/lib/python3/dist-packages/gunicorn/app/base.py", line 67, in wsgi
    self.callable = self.load()
  File "/usr/lib/python3/dist-packages/gunicorn/app/wsgiapp.py", line 58, in load
    return self.load_wsgiapp()
  File "/usr/lib/python3/dist-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
    return util.import_app(self.app_uri)
  File "/usr/lib/python3/dist-packages/gunicorn/util.py", line 384, in import_app
    mod = importlib.import_module(module)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'actinia_core'
[2023-04-20 23:09:33 +0000] [4013] [INFO] Worker exiting (pid: 4013)
[2023-04-20 23:09:33 +0000] [4012] [INFO] Shutting down: Master
[2023-04-20 23:09:33 +0000] [4012] [INFO] Reason: Worker failed to boot.

comment:3 by darkblueb, 20 months ago

the install-support spreadsheet in gdocs clearly says:

" needs to debian package for Jammy; Docker install only, not available from Pypi anymore."

https://github.com/mundialis/actinia_core/releases/tag/4.0.1

comment:4 by kalxas, 20 months ago

actinia has moved to VM only since OSGeoLive 15. If there is a pip install option now, we can use a virtualenv + pip installation method in the VM version.

comment:5 by neteler, 20 months ago

Yes, there is a pip install option (see https://pypi.org/project/actinia-core/):

https://github.com/actinia-org/actinia-core/wiki#pip

pip install actinia-core
Version 0, edited 20 months ago by neteler (next)

comment:6 by neteler, 20 months ago

New PR for actinia installation with pip:

https://github.com/OSGeo/OSGeoLive/pull/366

comment:7 by kalxas, 20 months ago

PR merged

comment:8 by kalxas, 20 months ago

Priority: criticalmajor

comment:9 by neteler, 20 months ago

in reply to:  9 comment:10 by neteler, 20 months ago

Replying to neteler:

Next PR in preparation:

https://github.com/OSGeo/OSGeoLive/pull/371

PR is ready.

comment:11 by kalxas, 19 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.