[p4dti-discussion] Replicator Failed to Poll - 'ascii' codeccan'tdecode...

Scott Haskell shaskell at GlobalLocate.com
Mon Nov 13 03:22:35 GMT 2006


Bill,

Thanks for the tip! I wouldn't put it past one of our developers cutting and pasting (probably from outlook) into the changelist description. 

Scott

-----Original Message-----
From: p4dti-discussion-bounces at ravenbrook.com on behalf of Bill Farrow
Sent: Sun 11/12/2006 2:55 PM
To: Perforce Defect Tracking Integration discussion
Subject: Re: [p4dti-discussion] Replicator Failed to Poll - 'ascii' codeccan'tdecode...
 
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

_______________________________________________
P4DTI-discussion mailing list
P4DTI-discussion at ravenbrook.com
http://mailman.ravenbrook.com/mailman/listinfo/p4dti-discussion

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 4075 bytes
Desc: not available
Url : http://mailman.ravenbrook.com/pipermail/p4dti-discussion/attachments/20061112/7be1a8ad/attachment.bin 


More information about the P4DTI-discussion mailing list