Opened 14 years ago

Closed 14 years ago

#57 closed defect (fixed)

Save host key to file 'None'

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: critical Milestone: 0.9
Component: Client Keywords:


2010/08/01 06:17:22 ServerConnection.save_host_key(ServerConfig(DesktopOnline)) to file 'None'
Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/shifter/ui/", line 326, in <lambda>
    dialog.connect('response', lambda x,y: self.ask_response_callback(x,y,cancel_callback, ok_callback))
  File "/usr/local/lib/python2.6/dist-packages/shifter/ui/", line 333, in ask_response_callback
  File "/usr/local/lib/python2.6/dist-packages/shifter/client/", line 391, in trust_server
  File "/usr/local/lib/python2.6/dist-packages/shifter/client/", line 409, in save_host_key
    save_binary_file(filename, data)
  File "/usr/local/lib/python2.6/dist-packages/shifter/util/", line 263, in save_binary_file
    assert filename

Change History (1)

comment:1 Changed 14 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

this could happen when we connect to a new server for which we do not have the server.ID

fix this by always validating the server.ID (part of set_host_info) and set it if not present. All this is done before saving the host key file.

see: r1456

Last edited 13 years ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.