remi icon indicating copy to clipboard operation
remi copied to clipboard

Windows computer name with special character does not start server

Open simracingstudio opened this issue 5 years ago • 2 comments

Hi,

If you have a computer name with a special character like: Nathanaêl

The start_server raises un utf8 error while invoking socket.getfqdn()

image

simracingstudio avatar Jan 15 '21 00:01 simracingstudio

@simracingstudio Can you please provide more information? It would be helpful to know the python version and the complete traceback. Please try with a newer python version

dddomodossola avatar Jan 15 '21 08:01 dddomodossola

@simracingstudio this is a python bug, here is the issue https://bugs.python.org/issue26227 . As you can see it is pending, still not released. Three possible workarounds:

  • Use linux instead of Windows;
  • Use python 3.5 (it was fixed in that release)
  • Use a computer name with no 'special' characters.

I think that we will get a solution in the next python version ;-)

dddomodossola avatar Jan 15 '21 22:01 dddomodossola