Opened 8 years ago

Closed 6 years ago

#14707 closed defect (fixed)

patchbot broken

Reported by: cnassau Owned by: ​robertwb
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: packages: optional Keywords: patchbot
Cc: Merged in:
Authors: Reviewers: Frédéric Chapoton
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

My patchbot http://patchbot.sagemath.org/ticket/?machine=openSUSE%20/12.3/x86_64/3.7.10-1.1-desktop/jehova.local&status=open just broke with the error

...

Traceback (most recent call last):
  File "/plethora/patchbot/sage-5.10.rc1/local/bin/patchbot/patchbot.py", line 793, in <module>
    main(args)
  File "/plethora/patchbot/sage-5.10.rc1/local/bin/patchbot/patchbot.py", line 777, in main
    patchbot.test_a_ticket(ticket)
  File "/plethora/patchbot/sage-5.10.rc1/local/bin/patchbot/patchbot.py", line 404, in test_a_ticket
    print ticket['title']
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 40: ordinal not in range(128)

The last line in the log file was

============================== 14339 ==============================

so presumably the bot broke when it tried to format the title of that ticket.

Change History (10)

comment:1 Changed 8 years ago by cnassau

7 weeks later, still broken:

============================== 14720 ==============================
Traceback (most recent call last):
  File "/patchbot/sage-5.11.beta3/local/bin/patchbot/patchbot.py", line 793, in <module>
    main(args)
  File "/patchbot/sage-5.11.beta3/local/bin/patchbot/patchbot.py", line 777, in main
    patchbot.test_a_ticket(ticket)
  File "/patchbot/sage-5.11.beta3/local/bin/patchbot/patchbot.py", line 404, in test_a_ticket
    print ticket['title']
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 3: ordinal not in range(128)

comment:2 Changed 8 years ago by cnassau

  • Owner changed from tbd to ​robertwb

comment:3 Changed 8 years ago by cnassau

I just noted that there is a pretty recent test ticket #14974 for such issues. It would be good to put a Padé into its title to check utf-8 support there.

I removed the accents from #14720, much to the chagrin of the patch author.

comment:4 Changed 8 years ago by jdemeyer

  • Milestone changed from sage-5.11 to sage-5.12

comment:5 Changed 8 years ago by vbraun_spam

  • Milestone changed from sage-6.1 to sage-6.2

comment:6 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.2 to sage-6.3

comment:7 Changed 7 years ago by vbraun_spam

  • Milestone changed from sage-6.3 to sage-6.4

comment:8 Changed 6 years ago by chapoton

  • Milestone changed from sage-6.4 to sage-duplicate/invalid/wontfix
  • Reviewers set to Frédéric Chapoton
  • Status changed from new to needs_review

This can be closed. Patchbot now runs without problem on ticket #14974 with unicode in the title.

comment:9 Changed 6 years ago by chapoton

  • Status changed from needs_review to positive_review

comment:10 Changed 6 years ago by vbraun

  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.