Skip to content

Exception on avatar importing

Hello Oliver,

I got the following exception when I tried to import avatar from gravatar (this was automatically offered to me after email confirmation).

DataError at /accounts/import_photo/1
invalid input syntax for type inet: "('213.175.37.10', True)"
LINE 1: ... '2018-11-13T15:37:48.762539+00:00'::timestamptz, '(''213.17...
                                                             ^
Request Method:	POST
Request URL:	http://libravatar-stg.fedorainfracloud.org/accounts/import_photo/1
Django Version:	2.1.2
Exception Type:	DataError
Exception Value:	
invalid input syntax for type inet: "('213.175.37.10', True)"
LINE 1: ... '2018-11-13T15:37:48.762539+00:00'::timestamptz, '(''213.17...
                                                             ^
Exception Location:	/mnt/data/.virtualenv/lib/python3.6/site-packages/django/db/backends/utils.py in _execute, line 85
Python Executable:	/usr/bin/python3
Python Version:	3.6.6
Python Path:	
['/srv/libravatar',
 '/mnt/data/.virtualenv/lib64/python36.zip',
 '/mnt/data/.virtualenv/lib64/python3.6',
 '/mnt/data/.virtualenv/lib64/python3.6/lib-dynload',
 '/usr/lib64/python3.6',
 '/usr/lib/python3.6',
 '/mnt/data/.virtualenv/lib/python3.6/site-packages']
Server time:	Tue, 13 Nov 2018 15:37:49 +0000
Edited by Ghost User