#6881 UnicodeDecodeError on GC ticket import

v1.1.0
closed
General
2015-08-20
2013-11-14
No

Got this on umple ticket import:

Traceback (most recent call last):
  File "/var/local/allura/Allura/allura/model/monq_model.py", line 258, in __call__
    self.result = func(*self.args, **self.kwargs)
  File "/var/local/allura/ForgeImporters/forgeimporters/base.py", line 121, in import_tool
    mount_point=mount_point, mount_label=mount_label, **kw)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 132, in import_tool
    self.process_fields(ticket, issue)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/tracker.py", line 187, in process_fields
    body=issue.get_issue_description(),
  File "/var/local/allura/ForgeImporters/forgeimporters/google/__init__.py", line 227, in get_issue_description
    return _as_markdown(self.page.find(id='hc0').pre, self.project_name)
  File "/var/local/allura/ForgeImporters/forgeimporters/google/__init__.py", line 93, in _as_markdown
    return ''.join(fragments).strip()
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 491: ordinal not in range(128)

Discussion

  • Cory Johns

    Cory Johns - 2013-11-14
    • status: open --> in-progress
    • assigned_to: Cory Johns
    • Size: --> 1
     
  • Cory Johns

    Cory Johns - 2013-11-14
    • status: in-progress --> code-review
     
  • Cory Johns

    Cory Johns - 2013-11-14

    allura:cj/6881

     
  • Dave Brondsema

    Dave Brondsema - 2013-11-14
    • status: code-review --> closed
    • QA: Dave Brondsema
     

Log in to post a comment.