def saveSession(self, path):
        '''Save androguard session.'''
        try:
            self.session.save(path)
        except __HOLE__, e:
            androconf.error(str(e))
            # http://stackoverflow.com/questions/2134706/hitting-maximum-recursion-depth-using-pythons-pickle-cpickle
            androconf.error("Try increasing sys.recursionlimit")
            os.remove(path)
            androconf.warning("Session not saved")
dataset/ETHPy150Open androguard/androguard/androguard/gui/mainwindow.py/MainWindow.saveSession