<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def startService(self):
 """ Start the service. This causes a transition to the C{'idle'} state, and then calls L{connect} to attempt an initial conection. """

        service.Service.startService(self)
        self._toState('idle')

        try:
            self.connect()
        except NoConsumerError:
            pass