Connect to clients yields 'twisted.protocols.amp.UnknownRemoteError'

Asked by Mike Biancaniello

I am running Edubuntu 11.10.

Is there a debug mode I can run or more detailed logs I can browse?

I launched via cli to capture any output, but there isn't much that looks useful (included below).

I have installed the client on an edubuntu thin client (ltsp server chroot) and the server on the edubuntu ltsp server per instructions on website. All of my permissions are correct; all of my ltsp-images have been updated; all of my thin clients have rebooted.

I log into a thin client using the username that I associated with the group epoptes and launch epoptes (via cli). The display shows me the thin clients that have booted (including the one that I am on). Most of the time, it shows nobody logged into any of them. One time, I was able to show a thin client with a username: "kidputer2 (hailey)" that also showed in the thumbnail display, a current screenshot.

When I try to "execute" a message, nothing happens (neither on the server nor client) and the cli spits out the error message:
ErrorCallback: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'>: Connection was closed cleanly.
]

This is a capture of a session where I could see a screenshot of the one client that had a logged in user:
mikebianc@kidbuntu11-10:~$ epoptes

(epoptes:22852): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(epoptes:22852): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(epoptes:22852): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

(epoptes:22852): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",
Unhandled Error
Traceback (most recent call last):
Failure: twisted.protocols.amp.UnknownRemoteError: Code<UNKNOWN>: Unknown Error
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: twisted.internet.error.ConnectionLost: Connection to the other side was lost in a non-clean fashion.
ErrorCallback: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion.
]
ErrorCallback: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion.
]
mikebianc@kidbuntu11-10:~$

I should also mention that one time when I clicked 'monitor student', I saw this on the cli (but nothing in either GUI):
VNC Viewer Free Edition 4.1.1 for X - built Sep 7 2011 11:20:11
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.

Mon Dec 12 19:56:13 2011
 main: Listening on port 5500

ErrorCallback: [Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionLost'>: Connection to the other side was lost in a non-clean fashion.
]

and the /var/log/epoptes.log file was full of this:
2011-12-12 20:20:19-0500 [DelimitedBashReceiver,24000,10.15.201.200] Client disconnected: 10.15.201.200:49880
2011-12-12 20:20:19-0500 [GUI,11,] Unhandled Error
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 889, in _commandReceived
     deferred = self.dispatchCommand(box)
   File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 946, in dispatchCommand
     return maybeDeferred(responder, box)
   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 133, in maybeDeferred
     result = f(*args, **kw)
   File "/usr/lib/python2.7/dist-packages/twisted/protocols/amp.py", line 1035, in doit
     return maybeDeferred(aCallable, **kw).addCallback(
 --- <exception caught here> ---
   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 133, in maybeDeferred
     result = f(*args, **kw)
   File "/usr/lib/python2.7/dist-packages/epoptes/daemon/guiplex.py", line 63, in clientCommand
     raise ValueError("Unknown client")
 exceptions.ValueError: Unknown client

2011-12-12 20:20:19-0500 [GUI,11,] GUI connection lost (HOST:UNIXAddress('/var/run/epoptes/epoptes.socket') PEER:UNIXAddress(''))
2011-12-12 20:20:19-0500 [GUI,11,] Unhandled error in Deferred:
2011-12-12 20:20:19-0500 [GUI,11,] Unhandled Error
 Traceback (most recent call last):
 Failure: twisted.internet.error.ConnectionDone: Connection was closed cleanly.

2011-12-12 20:20:20-0500 [epoptes.daemon.bashplex.DelimitedBashReceiverFactory] Client connected: 10.15.201.200:49881
2011-12-12 20:20:20-0500 [DelimitedBashReceiver,24001,10.15.201.200] Client disconnected: 10.15.201.200:49881
2011-12-12 20:20:21-0500 [epoptes.daemon.bashplex.DelimitedBashReceiverFactory] Client connected: 10.15.201.200:49882
2011-12-12 20:20:21-0500 [DelimitedBashReceiver,24002,10.15.201.200] Client disconnected: 10.15.201.200:49882
2011-12-12 20:20:22-0500 [epoptes.daemon.bashplex.DelimitedBashReceiverFactory] Client connected: 10.15.201.200:49883

Please let me know if there is any other information I can provide.

thanks,

-Mike

Question information

Language:
English Edit question
Status:
Expired
For:
Epoptes Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Alkis Georgopoulos (alkisg) said :
#2

Mike sorry we haven't seen your question, I've now put "Epoptes developers" as an "Answers contact", so we'll get notified for future questions.

The new epoptes version should take care of the problems you mention, please give it a try.