python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00449
[Bug 1713481] Re: crashes when uploading job with non-ascii chars on python2.7
Fix proposed to branch: master
Review: https://review.openstack.org/498448
** Changed in: python-jenkins
Status: New => In Progress
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1713481
Title:
crashes when uploading job with non-ascii chars on python2.7
Status in Python Jenkins:
In Progress
Bug description:
If run on python 2.7.13, jenkins-python crashes if job xml contains
non-ascii characters.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "jenkins/__init__.py", line 992, in create_job
config_xml.encode('utf-8'), DEFAULT_HEADERS))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 0: ordinal not in range(128)
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1713481/+subscriptions
References