← Back to team overview

epoptes team mailing list archive

[Bug 1011482] Re: automatic reconnect of client if server went away

 

I installed from epoptes daily builds ppa,
(epoptes_0.5.8+bzr461+oi3+201511230531~ubuntu14.04.1_all.deb) in the
server and the client and the reconnection works very well.

But when I click on the information button, this does not work and the
terminal shows me this error:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/epoptes/ui/gui.py", line 474, in on_tb_client_properties_clicked
    dlg = ClientInformation(self.getSelectedClients(), self.daemon.command)
  File "/usr/lib/python2.7/dist-packages/epoptes/ui/client_information.py", line 60, in __init__
    uname, realname = inst.users[client[C_SESSION_HANDLE]].values()
ValueError: too many values to unpack

I assume that is because in the source code there are pieces of code for
multiseat environments, for example I found it in  /usr/lib/python2.7
/dist-packages/epoptes/core/structs.py:

   def add_user(self, username, realname, seat, handle):
        self.users[handle] = {'uname' : username, 'rname' : realname, 'seat' : seat}

-- 
You received this bug notification because you are a member of Epoptes
Developers, which is subscribed to Epoptes.
https://bugs.launchpad.net/bugs/1011482

Title:
  automatic reconnect of client if server went away

Status in Epoptes:
  Fix Committed

Bug description:
  Its nessary if the client cant connect to server / connect to server
  lost that the client does a polling every minute to establish the
  connection again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/epoptes/+bug/1011482/+subscriptions


References