** Changed in: python-jenkins Assignee: Jan Priessnitz (honya121) => Sorin Sbarnea (ssbarnea)
-- 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) Reproduction: import jenkins a = jenkins.Jenkins('http://google.com') a.create_job('Test_job', 'unicode: š') To manage notifications about this bug go to: https://bugs.launchpad.net/python-jenkins/+bug/1713481/+subscriptions -- Mailing list: https://launchpad.net/~python-jenkins-developers Post to : python-jenkins-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~python-jenkins-developers More help : https://help.launchpad.net/ListHelp