Log errors (TypeError: %c requires int or char)

Bug #710732 reported by Natalia Bidart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Won't Fix
Medium
Ubuntu One Foundations+ team

Bug Description

Running syncdaemon from command line I'm getting:

nessita@dali:~/canonical/u1/client/share-subscription$ PYTHONPATH=. ./bin/ubuntuone-syncdaemon
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/handlers.py", line 76, in emit
    if self.shouldRollover(record):
  File "/home/nessita/canonical/u1/client/share-subscription/ubuntuone/logger.py", line 101, in shouldRollover
    msg = "%s\n" % self.format(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 654, in format
    return fmt.format(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 436, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage
    msg = msg % self.args
TypeError: %c requires int or char
Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/handlers.py", line 76, in emit
    if self.shouldRollover(record):
  File "/home/nessita/canonical/u1/client/share-subscription/ubuntuone/logger.py", line 101, in shouldRollover
    msg = "%s\n" % self.format(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 654, in format
    return fmt.format(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 436, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage
    msg = msg % self.args
TypeError: an integer is required

Revision history for this message
Natalia Bidart (nataliabidart) wrote :

Also getting:

Traceback (most recent call last):
  File "/usr/lib/python2.6/logging/handlers.py", line 76, in emit
    if self.shouldRollover(record):
  File "/home/nessita/canonical/u1/client/share-subscription/ubuntuone/logger.py", line 101, in shouldRollover
    msg = "%s\n" % self.format(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 654, in format
    return fmt.format(record)
  File "/usr/lib/python2.6/logging/__init__.py", line 436, in format
    record.message = record.getMessage()
  File "/usr/lib/python2.6/logging/__init__.py", line 306, in getMessage
    msg = msg % self.args
OverflowError: unsigned byte integer is greater than maximum

Changed in ubuntuone-client:
importance: Undecided → Medium
assignee: nobody → Ubuntu One Foundations+ team (ubuntuone-foundations+)
Rick McBride (rmcbride)
Changed in ubuntuone-client:
status: New → Confirmed
Changed in ubuntuone-client:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.