[p4dti-discussion] Replicator Failed to Poll - 'ascii' codec can'tdecode...
Bill Farrow
BillF at optiscan.com
Sun Nov 12 22:55:00 GMT 2006
Hi,
It looks like you have a unicode character in one of your Perforce
changelist descriptions that the replicator cant translate into plain
ascii for use in Bugzilla.
You could try adding some debug logging code in the function
"replicate_changelist_p4_to_dt" to find out which changelist is causing
the problem. Then you might be able to edit the changelist in Perforce
to remove the offending character.
Do you guys cut and paste comments into the perforce changelist
descriptions ?
Bill
-----Original Message-----
From: p4dti-discussion-bounces at ravenbrook.com
[mailto:p4dti-discussion-bounces at ravenbrook.com] On Behalf Of Scott
Haskell
Sent: Saturday, 11 November 2006 11:58 AM
To: p4dti-discussion at ravenbrook.com
Subject: [p4dti-discussion] Replicator Failed to Poll - 'ascii' codec
can'tdecode...
Does anyone have any insight as to what may be going on here?
Redhat ES4
P4dti-bugzilla-2.3.5
MySQL 4.1.21
Bugzilla 2.22
Python 2.5
Best Regards,
Scott
(P4DTI-8658) This is an automatically generated e-mail from the Perforce
Defect Tracking Integration replicator 'replicator0'.
(P4DTI-8647) The replicator failed to poll successfully, because of the
following problem:
(P4DTI-891X) Error (<type 'exceptions.UnicodeDecodeError'>): 'ascii'
codec can't decode byte 0x93 in position 118: ordinal not in range(128)
(P4DTI-8523) Here's a full Python traceback:
Exception:
UnicodeDecodeError: 'ascii' codec can't decode byte 0x93 in position
118: ordinal not in range(128) Traceback (innermost last):
File "/opt/p4dti/replicator.py", line 861, in carefully_poll_databases
self.poll_databases()
locals:
self: <replicator.replicator instance at 0xb7c79b6c>
File "/opt/p4dti/replicator.py", line 1220, in poll_databases
self.replicate_changelist_p4_to_dt(c)
locals:
p4_marker: 2476
_______________________________________________
P4DTI-discussion mailing list
P4DTI-discussion at ravenbrook.com
http://mailman.ravenbrook.com/mailman/listinfo/p4dti-discussion
More information about the P4DTI-discussion
mailing list