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)

Hi;

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 = babysitter.run(osccli)
File "/usr/lib/python2.7/site-packages/osc/babysitter.py", line 52, in
run
return prg.main()
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 310, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 333, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 449, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/osc/cmdln.py", line 1179, in
_dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib/python2.7/site-packages/osc/commandline.py", line 3746, in
do_commit
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/core.py", line 770, in commit
p.commit(msg, validators_dir=validators_dir, verbose=verbose,
skip_local_service_run=skip_local_service_run)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 1286, in commit
self.put_source_file(filename)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 1142, in
put_source_file
http_PUT(u, file = os.path.join(self.dir, n))
File "/usr/lib/python2.7/site-packages/osc/core.py", line 2949, in
http_PUT
def http_PUT(*args, **kwargs): return http_request('PUT', *args,
**kwargs)
File "/usr/lib/python2.7/site-packages/osc/core.py", line 2935, in
http_request
fd = urllib2.urlopen(req, data=data)
File "/usr/lib64/python2.7/urllib2.py", line 126, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib64/python2.7/urllib2.py", line 392, in open
response = self._open(req, data)
File "/usr/lib64/python2.7/urllib2.py", line 410, in _open
'_open', req)
File "/usr/lib64/python2.7/urllib2.py", line 370, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/site-packages/osc/oscssl.py", line 208, in
https_open
h.request(req.get_method(), selector, req.data, headers)
File "/usr/lib64/python2.7/httplib.py", line 941, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.7/httplib.py", line 975, in _send_request
self.endheaders(body)
File "/usr/lib64/python2.7/httplib.py", line 937, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 801, in _send_output
self.send(message_body)
File "/usr/lib64/python2.7/httplib.py", line 773, in send
self.sock.sendall(data)
File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/Connection.py",
line 222, in write
return self._write_bio(data)
File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/Connection.py",
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
https://bugzilla.redhat.com/show_bug.cgi?id=702766

Regards.

--
İ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-
buildservice+help@xxxxxxxxxxxx

< Previous Next >