Skip to content

backtrace when add comment to new issue #1

@mcepl

Description

@mcepl
Connecting...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/matej/.vim/plugin/trac.py", line 745, in add_comment
    trac.ticket_view(trac.ticket.current_ticket_id)
  File "/home/matej/.vim/plugin/trac.py", line 1380, in ticket_view
    self.uiticket.ticketwindow.write(self.ticket.getTicket(id))
  File "/home/matej/.vim/plugin/trac.py", line 53, in write
    msg = msg.encode('utf-8', 'ignore')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 380: ordina
l not in range(128)
Press ENTER or type command to continue

I have successfully created a new issue and then tried to add comment to it with TTAddComment (the issue is https://fedorahosted.org/bugzilla-triage-scripts/ticket/9 ; yes, I forgot to add Description first)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions