bird-house / pyramid-phoenix

Phoenix is a Pyramid web-application to make it easy to interact with WPS services
http://pyramid-phoenix.readthedocs.io/en/latest/
Apache License 2.0
7 stars 10 forks source link

fix encoding when collecting inputs/outputs in monitor details #136

Closed cehbrecht closed 7 years ago

cehbrecht commented 7 years ago

got encoding error:

 File "/opt/birdhouse/src/pyramid-phoenix/phoenix/wps.py", line 35, in check_status
    xml = requests.get(url, verify=verify).content.encode('utf8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 8229: ordinal not in range(128)

 - Stream:     ... : Chile 
CHN : China 
CIV : Côte d'Ivoire 
CMR : Cameroon ...
cehbrecht commented 7 years ago

fixed in master branch.