GNS3 / gns3-server

GNS3 server
GNU General Public License v3.0
811 stars 263 forks source link

UnicodeEncodeError: 'ascii' codec can't encode characters in dynamips path #346

Closed julien-duponchelle closed 9 years ago

julien-duponchelle commented 9 years ago

https://app.getsentry.com/gns3/gns3-server/group/92648917/

UnicodeEncodeError: 'ascii' codec can't encode characters in position 30-31: ordinal not in range(128)
(1 additional frame(s) were not displayed)
...
  File "gns3server/handlers/api/dynamips_vm_handler.py", line 77, in create
    yield from dynamips_manager.update_vm_settings(vm, request.json)
  File "gns3server/modules/dynamips/__init__.py", line 546, in update_vm_settings
    yield from setter(value)
  File "gns3server/modules/dynamips/nodes/router.py", line 452, in set_image
    image = self.manager.get_abs_image_path(image)
  File "gns3server/modules/base_manager.py", line 410, in get_abs_image_path
    if not os.path.exists(path):
  File "python3.4/genericpath.py", line 19, in exists
    os.stat(path)
julien-duponchelle commented 9 years ago

Weird I can't replicate it. It's work fine on my computer even with the same unicode characters.