[python-bugzilla] bugzilla 4.4.4

JiekeWu wujieke at qiyi.com
Fri Jun 6 09:24:03 UTC 2014


hello, everyone,

    I have a system to create bug automatically, using python-bugzilla 0.7 and bugzilla 4.2.5 on Centos 6.
    recently, I upgrade bugzilla to 4.4.4, and find /usr/bin/bugziila 0.7 is not working. 
    error like that:

    Fault: <Fault 32000: u"A value must be set for the '\u7c7b\u578b' field.">


    So I upgrade python-bugzilla to latest one, git commit:

    commit e3f17d7db5907ea629f31fbc892576fdf9ccec4e
    Author: Josef Stribny <jstribny at redhat.com>
    Date:   Tue Jun 3 15:27:08 2014 +0200

    
    error is changed as:
   
    Traceback (most recent call last):
  File "/usr/bin/bugzilla", line 1250, in <module>
    main()
  File "/usr/bin/bugzilla", line 1222, in main
    buglist = _do_new(bz, opt)
  File "/usr/bin/bugzilla", line 900, in _do_new
    b = bz.createbug(ret)
  File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 1613, in createbug
    rawbug = self._proxy.Bug.create(data)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 165, in _ServerProxy__request
    ret = ServerProxy._ServerProxy__request(self, methodname, params)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 260, in request
    return self._request_helper(url, request_body)
  File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 247, in _request_helper
    raise e
BugzillaError: 'ascii' codec can't encode characters in position 149-153: ordinal not in range(128)

Server error: 'ascii' codec can't encode characters in position 149-153: ordinal not in range(128)


    any suggestions? and do you have a plan to support 4.4.4?.


-- 
Thanks.


More information about the python-bugzilla mailing list