Oops, forgot to say that this requires at least python-bugzilla 0.4-rc4 (currently in rawhide) On Sun, Oct 26, 2008 at 10:24 PM, Jon Stanley <jonstanley@xxxxxxxxx> wrote: > Not quite sure where else to send this, so here goes :) > > Attached is a patch to use python-bugzilla in export-bugzilla.py using > new methods that I taught it. I can't exactly be sure that the stuff > works, since partner-bugzilla doesn't have the updateperms call, and > the adduser call seems to require more permissions than I seem to have > on partner-bugzilla, but it seems to get there and work as best it can > :) > > [jstanley@rugrat ~]$ python bztest.py > Bugzilla user: jonstanley@xxxxxxxxx > bugzilla password: > Traceback (most recent call last): > File "bztest.py", line 9, in <module> > server.adduser('jonstanley@xxxxxxxxx','Jon Stanley') > File "/usr/lib/python2.5/site-packages/bugzilla/base.py", line 689, in adduser > self._adduser(user,name) > File "/usr/lib/python2.5/site-packages/bugzilla/rhbugzilla.py", line > 334, in _adduser > r = self._proxy.bugzilla.addUser(user, name, self.user) > File "/usr/lib64/python2.5/xmlrpclib.py", line 1150, in __call__ > return self.__send(self.__name, args) > File "/usr/lib64/python2.5/xmlrpclib.py", line 1440, in __request > verbose=self.__verbose > File "/usr/lib/python2.5/site-packages/bugzilla/base.py", line 776, in request > return self._parse_response(h.getfile(), sock) > File "/usr/lib64/python2.5/xmlrpclib.py", line 1343, in _parse_response > return u.close() > File "/usr/lib64/python2.5/xmlrpclib.py", line 790, in close > raise Fault(**self._stack[0]) > xmlrpclib.Fault: <Fault 410: 'Login Required'> > -- Jon Stanley Fedora Bug Wrangler jstanley@xxxxxxxxxxxxxxxxx _______________________________________________ Fedora-infrastructure-list mailing list Fedora-infrastructure-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-infrastructure-list