Confirmed still a problem in cosmic: ubuntu@cosmic-django:~$ python3 Python 3.6.6+ (default, Sep 1 2018, 01:05:25) [GCC 8.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from django.core.validators import URLValidator >>> validator = URLValidator() >>> validator("http://foo/bar") Traceback (most recent call last): File "/usr/lib/python3/dist-packages/django/core/validators.py", line 124, in __call__ super(URLValidator, self).__call__(value) File "/usr/lib/python3/dist-packages/django/core/validators.py", line 62, in __call__ raise ValidationError(self.message, code=self.code) django.core.exceptions.ValidationError: <exception str() failed>
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/django/core/validators.py", line 137, in __call__ super(URLValidator, self).__call__(url) File "/usr/lib/python3/dist-packages/django/core/validators.py", line 62, in __call__ raise ValidationError(self.message, code=self.code) django.core.exceptions.ValidationError: <exception str() failed> >>> validator("http://foo.com/bar") >>> python3-django 1:1.11.15-1ubuntu1 Upstream is at 2.1, but we are following debian and 2.1 is only in debian experimental. ** Changed in: python-django (Ubuntu) Status: New => Triaged ** Changed in: python-django (Ubuntu) Importance: Undecided => Low -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to python-django in Ubuntu. https://bugs.launchpad.net/bugs/1439473 Title: Adding a boot image sync URL with an unqualified hostname fails To manage notifications about this bug go to: https://bugs.launchpad.net/maas/+bug/1439473/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs