Indico setup wizard error


I’m getting the below error on a fresh new dev installation of indico on the following setup command - indico setup wizard --dev

I’m running python 3.9.9 in the virtual environment. I also get 129 vulnerability warnings on the npm ci command before running the indico setup wizard. npm audit fix does not fix the npm vulnerabilities warnings or the setup wizard error.

Error -

Indico needs to know the URL through which it is accessible. We strongly
recommend using an https:// URL and a subdomain, e.g.                                                                           
Indico URL:                                                                       
Traceback (most recent call last):
  File "/home//dev/indico3.2/env/bin/indico", line 33, in <module>
    sys.exit(load_entry_point('indico', 'console_scripts', 'indico')())
  File "/home//dev/indico3.2/env/lib/python3.9/site-packages/click/", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/home//dev/indico3.2/env/lib/python3.9/site-packages/click/", line 1055, in main
    rv = self.invoke(ctx)
  File "/home//dev/indico3.2/env/lib/python3.9/site-packages/click/", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home//dev/indico3.2/src/indico/cli/", line 108, in invoke
    return self._impl.invoke(ctx)
  File "/home//dev/indico3.2/env/lib/python3.9/site-packages/click/", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home//dev/indico3.2/env/lib/python3.9/site-packages/click/", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home//dev/indico3.2/env/lib/python3.9/site-packages/click/", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/home//dev/indico3.2/src/indico/cli/", line 313, in wizard
  File "/home//dev/indico3.2/src/indico/cli/", line 347, in run
  File "/home//dev/indico3.2/src/indico/cli/", line 442, in _prompt_indico_url
    url = _prompt('Indico URL', validate=_check_url, allow_invalid=True,
  File "/home//dev/indico3.2/src/indico/cli/", line 127, in _prompt
    if validate is None or validate(rv):
  File "/home//dev/indico3.2/src/indico/cli/", line 428, in _check_url
    elif data.fragment or data.query or data.auth:
AttributeError: 'SplitResult' object has no attribute 'auth'

I appreciate any help in fixing this issue. Thanks!

Ignore them. They are generally stuff like ReDoS in dev tools which are completely irrelevant since you could only slow down your own build and things like that.

Thanks for spotting this. I’ll fix it in master later or tomorrow.

I just pushed a fix to master. Please let me know if it works.

Thanks, the error is gone now