Not sure how to get support with this.
Linux Mint user here. I recently realized I can no longer find out my location:
- in my browser
- when trying to find the nearest mirror for my sources
- or just to adjust automatically my screen temperature when the night comes.
It is worth noting that my public IP also changed recently, when my ISP installed my fiber access.
Doing some searches, it seems that, at least for the mirror search, Lilnux Mint queries this URL: http://geoip.ubuntu.com/lookup
When I try it manually, I get the following error.
Code:
MOD_PYTHON ERROR
ProcessId: 19530
Interpreter: 'geoip.ubuntu.com'
ServerName: 'geoip.ubuntu.com'
DocumentRoot: '/srv/geoip.ubuntu.com/www'
URI: '/lookup'
Location: '/lookup'
Directory: None
Filename: '/srv/geoip.ubuntu.com/cgi-bin/lookup.py'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'lookup'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target
result = _execute_target(config, req, object, arg)
File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target
result = object(arg)
File "/srv/geoip.ubuntu.com/cgi-bin/lookup.py", line 61, in handler
req.write(ans)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xce' in position 227: ordinal not in range(128)
MOD_PYTHON ERROR
ProcessId: 19530
Interpreter: 'geoip.ubuntu.com'
ServerName: 'geoip.ubuntu.com'
DocumentRoot: '/srv/geoip.ubuntu.com/www'
URI: '/lookup'
Location: '/lookup'
Directory: None
Filename: '/srv/geoip.ubuntu.com/cgi-bin/lookup.py'
PathInfo: ''
Phase: 'PythonHandler'
Handler: 'lookup'
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1537, in HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)
File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1229, in _process_target
result = _execute_target(config, req, object, arg)
File "/usr/lib/python2.7/dist-packages/mod_python/importer.py", line 1128, in _execute_target
result = object(arg)
File "/srv/geoip.ubuntu.com/cgi-bin/lookup.py", line 61, in handler
req.write(ans)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xce' in position 227: ordinal not in range(128)
Is the website broken? Or is there something special about my IP that is not supported? Or something else?