You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/opt/geonode/manage.py", line 29, in
execute_from_command_line(sys.argv)
File "/home/ubuntu/.virtualenvs/geonode/lib/python3.11/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/home/ubuntu/.virtualenvs/geonode/lib/python3.11/site-packages/django/core/management/init.py", line 395, in execute
django.setup()
File "/home/ubuntu/.virtualenvs/geonode/lib/python3.11/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/ubuntu/.virtualenvs/geonode/lib/python3.11/site-packages/django/apps/registry.py", line 122, in populate
app_config.ready()
File "/opt/geonode/geonode/harvesting/apps.py", line 31, in ready
from geonode.urls import urlpatterns
File "/opt/geonode/geonode/urls.py", line 33, in
import geonode.proxy.urls
File "/opt/geonode/geonode/proxy/urls.py", line 22, in
from . import views
File "/opt/geonode/geonode/proxy/views.py", line 66, in
ows_regexp = re.compile(r"^(?i)(version)=(\d.\d.\d)(?i)&(?i)request=(?i)(GetCapabilities)&(?i)service=(?i)(\w\w\w)$")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/init.py", line 227, in compile
return _compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/init.py", line 294, in _compile
p = _compiler.compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
p = _parser.parse(p, flags)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 1
Expected Behavior
Installed geonode.
Ran ./paver_local.sh sync to initialize Geonode. Expected to run through initialization process properly.
Actual Behavior
Captured Task Output:
pavement.sync
python -W ignore manage.py makemigrations --noinput
Build failed running pavement.sync: Subprocess return code: 1
Traceback (most recent call last):
File "/opt/geonode/manage.py", line 29, in
execute_from_command_line(sys.argv)
File "/home/ubuntu/.virtualenvs/geonode/lib/python3.11/site-packages/django/core/management/init.py", line 419, in execute_from_command_line
utility.execute()
File "/home/ubuntu/.virtualenvs/geonode/lib/python3.11/site-packages/django/core/management/init.py", line 395, in execute
django.setup()
File "/home/ubuntu/.virtualenvs/geonode/lib/python3.11/site-packages/django/init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/ubuntu/.virtualenvs/geonode/lib/python3.11/site-packages/django/apps/registry.py", line 122, in populate
app_config.ready()
File "/opt/geonode/geonode/harvesting/apps.py", line 31, in ready
from geonode.urls import urlpatterns
File "/opt/geonode/geonode/urls.py", line 33, in
import geonode.proxy.urls
File "/opt/geonode/geonode/proxy/urls.py", line 22, in
from . import views
File "/opt/geonode/geonode/proxy/views.py", line 66, in
ows_regexp = re.compile(r"^(?i)(version)=(\d.\d.\d)(?i)&(?i)request=(?i)(GetCapabilities)&(?i)service=(?i)(\w\w\w)$")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/init.py", line 227, in compile
return _compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/init.py", line 294, in _compile
p = _compiler.compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_compiler.py", line 743, in compile
p = _parser.parse(p, flags)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_parser.py", line 980, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_parser.py", line 455, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/re/_parser.py", line 841, in _parse
raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 1
Steps to Reproduce the Problem
Get Geonode files
#Install Geonode file dependencies
3. cd geonode
4. pip install -r requirements.txt --upgrade
5. pip install -e . --upgrade
6. pip install pygdal=="
gdal-config --version
.*"Initialize Geonode
Specifications
The text was updated successfully, but these errors were encountered: