Mailinglist Archive: opensuse-buildservice (256 mails)

< Previous Next >
RE: [opensuse-buildservice] osc with Python 2.7 (Fedora 15)
That was it. Updating the m2crypto fixed my issue.
Thanks for the link.

Thank you
Praveen K Paladugu
Dell Linux Engineering

-----Original Message-----
From: Ismail Donmez [mailto:idoenmez@xxxxxxx]
Sent: Tuesday, August 16, 2011 9:17 AM
To: opensuse-buildservice@xxxxxxxxxxxx
Subject: Re: [opensuse-buildservice] osc with Python 2.7 (Fedora 15)


On 08/09/2011 12:30 AM, Praveen_Paladugu@xxxxxxxx wrote:

While using osc on Fedora 15, which has python 2.7, I am running into the
following issue, while commiting some sources to the OBS:

Transmitting file data .Traceback (most recent call last):
File "/usr/bin/osc", line 21, in<module>
r =
File "/usr/lib/python2.7/site-packages/osc/", line 52, in
return prg.main()
File "/usr/lib/python2.7/site-packages/osc/", line 310, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/osc/", line 333, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/osc/", line 449, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/osc/", line 1179, in
return handler(argv[0], opts, *args)
File "/usr/lib/python2.7/site-packages/osc/", line 3746, in
prj.commit(packages, validators_dir=validators, msg=msg, files=files,
skip_local_service_run=opts.skip_local_service_run, verbose=opts.verbose)
File "/usr/lib/python2.7/site-packages/osc/", line 770, in commit
p.commit(msg, validators_dir=validators_dir, verbose=verbose,
File "/usr/lib/python2.7/site-packages/osc/", line 1286, in commit
File "/usr/lib/python2.7/site-packages/osc/", line 1142, in
http_PUT(u, file = os.path.join(self.dir, n))
File "/usr/lib/python2.7/site-packages/osc/", line 2949, in
def http_PUT(*args, **kwargs): return http_request('PUT', *args,
File "/usr/lib/python2.7/site-packages/osc/", line 2935, in
fd = urllib2.urlopen(req, data=data)
File "/usr/lib64/python2.7/", line 126, in urlopen
return, data, timeout)
File "/usr/lib64/python2.7/", line 392, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/", line 410, in _open
'_open', req)
File "/usr/lib64/python2.7/", line 370, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/site-packages/osc/", line 208, in
h.request(req.get_method(), selector,, headers)
File "/usr/lib64/python2.7/", line 941, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.7/", line 975, in _send_request
File "/usr/lib64/python2.7/", line 937, in endheaders
File "/usr/lib64/python2.7/", line 801, in _send_output
File "/usr/lib64/python2.7/", line 773, in send
File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/",
line 222, in write
return self._write_bio(data)
File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/",
line 205, in _write_bio
return m2.ssl_write(self.ssl, data, self._timeout)
TypeError: 'buffer' does not have the buffer interface

This seems to be a M2Crypto bug in Fedora 15, see


İsmail Dönmez - openSUSE Booster
SUSE LINUX Products GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-

< Previous Next >