This works for me. Jian-feng, many thanks for your help.

Cheers,
Halton.
> -----Original Message-----
> From: Ding, Jian-feng
> Sent: Thursday, June 09, 2011 11:41 AM
> To: Huo, Halton
> Cc: [email protected]
> Subject: Re: [MeeGo-dev] Anyboday can make change on OBS?
> 
> It should be the TYPICAL network stability problem. Please try the following
> workaround method:
>  1. Change the ~/.oscrc to use http:// apiurl instead of https://
>  2. In the already checked out package directory, edit .osc/_apiurl
>  3. and the ../.osc/_apiurl, the project's settings
>  4. anyway, it's better to use https api, it's safer, so change it back after 
> ci
> 
> Thanks
> 
> - jf.ding
> 
> On Thu, Jun 09, 2011 at 10:50:17AM +0800, Huo, Halton wrote:
> > Hi,
> >
> > I can run update for my home project, but when I want to commit changes, I
> always get following error.
> > Anyone know the reason?
> >
> > Transmitting file data .Traceback (most recent call last):
> >   File "/usr/local/bin/osc", line 21, in <module>
> >     r = babysitter.run(osccli)
> >   File "/usr/lib/pymodules/python2.6/osc/babysitter.py", line 50, in run
> >     return prg.main()
> >   File "/usr/lib/pymodules/python2.6/osc/cmdln.py", line 309, in main
> >     return self.cmd(args)
> >   File "/usr/lib/pymodules/python2.6/osc/cmdln.py", line 332, in cmd
> >     retval = self.onecmd(argv)
> >   File "/usr/lib/pymodules/python2.6/osc/cmdln.py", line 448, in onecmd
> >     return self._dispatch_cmd(handler, argv)
> >   File "/usr/lib/pymodules/python2.6/osc/cmdln.py", line 1178, in
> _dispatch_cmd
> >     return handler(argv[0], opts, *args)
> >   File "/usr/lib/pymodules/python2.6/osc/commandline.py", line 3112, in
> do_commit
> >     prj.commit(packages, msg=msg, files=files)
> >   File "/usr/lib/pymodules/python2.6/osc/core.py", line 720, in commit
> >     p.commit(msg, validators_dir=validators_dir,
> verbose_validation=verbose_validation)
> >   File "/usr/lib/pymodules/python2.6/osc/core.py", line 1223, in commit
> >     self.put_source_file(filename)
> >   File "/usr/lib/pymodules/python2.6/osc/core.py", line 1085, in
> put_source_file
> >     http_PUT(u, file = os.path.join(self.dir, n))
> >   File "/usr/lib/pymodules/python2.6/osc/core.py", line 2668, in http_PUT
> >     def http_PUT(*args, **kwargs):    return http_request('PUT', *args,
> **kwargs)
> >   File "/usr/lib/pymodules/python2.6/osc/core.py", line 2654, in
> http_request
> >     fd = urllib2.urlopen(req, data=data)
> >   File "/usr/lib/python2.6/urllib2.py", line 124, in urlopen
> >     return _opener.open(url, data, timeout)
> >   File "/usr/lib/python2.6/urllib2.py", line 389, in open
> >     response = self._open(req, data)
> >   File "/usr/lib/python2.6/urllib2.py", line 407, in _open
> >     '_open', req)
> >   File "/usr/lib/python2.6/urllib2.py", line 367, in _call_chain
> >     result = func(*args)
> >   File "/usr/lib/pymodules/python2.6/osc/oscssl.py", line 204, in
> https_open
> >     r = h.getresponse()
> >   File "/usr/lib/python2.6/httplib.py", line 974, in getresponse
> >     response.begin()
> >   File "/usr/lib/python2.6/httplib.py", line 391, in begin
> >     version, status, reason = self._read_status()
> >   File "/usr/lib/python2.6/httplib.py", line 355, in _read_status
> >     raise BadStatusLine(line)
> > httplib.BadStatusLine
> >
> > Thanks,
> > Halton.
> >
> 
> > _______________________________________________
> > MeeGo-dev mailing list
> > [email protected]
> > http://lists.meego.com/listinfo/meego-dev
> > http://wiki.meego.com/Mailing_list_guidelines

_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev
http://wiki.meego.com/Mailing_list_guidelines

Reply via email to