Comment 3 for bug 244081

Revision history for this message
Matt Layman (mblayman) wrote :

Makario, if you're feeling like a really adventurous bug reporter, you can help us get the traceback (that is, the list of code functions that happened right before you error), by commenting out some lines of code which will prevent them from running. We would need you to do this because your error does not seem to be repeatable by other users. Please report the traceback here and we'll be able to further analyze the problem.

You'll need to edit either src/backend/backend_server.py or entertainerlib/backend/backend_server.py (the location is dependent on whether you got the source from the .1 release or from the most recent development code). In that file, find the initialize_connection_server function, and comment out (add a python comment character # all the lines in that function except for the five lines inside the try block. If your problem is repeatable, when you run the backend, you should get a more informative error message. The code should look like this:

    def initialize_connection_server(self):
# """Initialize connection server."""
# try:
            self._port = self.configuration.get_port()
            self.connection_server = ConnectionServer(self._port,
                                                      self.message_bus)
            # Start listening incoming connections
            self.connection_server.start()
# except:
# self.logger.error("ConnectionServer initialization failed!")
# message = 'Error occured. Please see '
# message += self.config_path + 'entertainer.log'
# message += ' for more information. This is probably not a fatal'
# message += ' error. Just wait one minute and try again.'
# print message
# print "Execution aborted!"
# sys.exit(1)