Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error During Install #3

Open
satybald opened this issue May 30, 2014 · 2 comments
Open

Error During Install #3

satybald opened this issue May 30, 2014 · 2 comments

Comments

@satybald
Copy link
Contributor

While installing poly on Ubuntu 12.04 I have the following error:

URL: poly.local
Traceback (most recent call last):
File "./install.py", line 368, in
run()
File "./install.py", line 20, in run
setupConfig = determineSetupConfig(installDir)
File "./install.py", line 120, in determineSetupConfig
result = promptSetupConfig()
File "./install.py", line 148, in promptSetupConfig
result['hostUrl'] = normalizeHostUrl(prompt("URL"))
File "./install.py", line 160, in normalizeHostUrl
return re.match(r'^([a-z]+://.+[^/])/*$', url).group(1)
AttributeError: 'NoneType' object has no attribute 'group'

@satybald satybald changed the title Errro During Install Error During Install May 30, 2014
@satybald
Copy link
Contributor Author

I think I got the issue. It seems that when I enter URL without http preffix it throws error as it doesn't match to Regex.

@satybald
Copy link
Contributor Author

I think it would be nice if it would be possible to handle URL without http prefix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant