1. Michael Forbes
  2. asyncplot
  3. Issues
Issue #6 new

No feedback for plotting errors

ksbuble
created an issue

If there is an error in the plotting, there is no feedback. For example, if the client can't unpack an object because it does not have the correct interface signature, the commandline sits silent with no error message. Another case is if the server dies. Again, there is no (or inadequate) error message as to why the client does not function.

To fix, in client.py line 89 def data_thread(self): while self.is_alive: try: data = cPickle.loads(self.get_data()) print "Queue put..." except: --> pass

In the except block, if an exception is detected, add detailed warning message to be printed in the commandline using:

            warnings.warn(traceback.format_exc())
            warnings.warn(sys.exc_info()[0])

Comments (0)

  1. Log in to comment