** Changed in: ocb-server/7.0 Status: Fix Committed => Fix Released
-- You received this bug notification because you are a member of OpenERP Community Backports Team, which is subscribed to OpenERP Community Backports (Server). https://bugs.launchpad.net/bugs/1305653 Title: [7.0] missing arguments to logging statement in workers.py Status in OpenERP Community Backports (Server): Fix Released Status in OpenERP Community Backports (Server) 7.0 series: Fix Released Status in OpenERP Server: Fix Committed Bug description: in openerp/services/workers.py: def time_expired(n, stack): _logger.info('Worker (%d) CPU time limit (%s) reached.', config['limit_time_cpu']) There is a missing parameter, which cause a stack trace in the logging module: Traceback (most recent call last): File "/usr/lib/python2.7/logging/__init__.py", line 846, in emit msg = self.format(record) File "/usr/lib/python2.7/logging/__init__.py", line 723, in format return fmt.format(record) File "/home/afayolle/work/customers/avosdim/buildout/parts/server/openerp/netsvc.py", line 150, in format logging.exception('while formatting %r', record) File "/home/afayolle/work/customers/avosdim/buildout/parts/server/openerp/netsvc.py", line 144, in format try: File "/usr/lib/python2.7/logging/__init__.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/__init__.py", line 328, in getMessage msg = msg % self.args TypeError: not enough arguments for format string To manage notifications about this bug go to: https://bugs.launchpad.net/ocb-server/+bug/1305653/+subscriptions -- Mailing list: https://launchpad.net/~openerp-community-reviewer Post to : openerp-community-reviewer@lists.launchpad.net Unsubscribe : https://launchpad.net/~openerp-community-reviewer More help : https://help.launchpad.net/ListHelp