Skip to content

Flag issue #2

@shetty197

Description

@shetty197

Traceback (most recent call last):
File "/usr/local/bin/helios-update-db", line 5, in
from helios.webapp.databases.update import main
File "/usr/local/lib/python3.11/dist-packages/helios/init.py", line 4, in
from helios.bootstrap import *
File "/usr/local/lib/python3.11/dist-packages/helios/bootstrap.py", line 14, in
from helios.ext.mefjus.ghost import Mefjus
File "/usr/local/lib/python3.11/dist-packages/helios/ext/mefjus/ghost.py", line 11, in
from helios.ext.mefjus.proxy import *
File "/usr/local/lib/python3.11/dist-packages/helios/ext/mefjus/proxy.py", line 119, in
class ProxyHandler(BaseHTTPRequestHandler):
File "/usr/local/lib/python3.11/dist-packages/helios/ext/mefjus/proxy.py", line 121, in ProxyHandler
r = compile(r'http://[^/]+(/?.*)(?i)')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 18

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions