[opensuse-buildservice] osc copypac fails
Hi, Darix asked me to copy another users project into devel:languages:haskell using "osc copypac". But this worked only partially. It creates the project and added the user m4r3k as maintainer, but it failed copying the files:
herbert@sirius:~> osc copypac home:m4r3k hugs98 devel:languages:haskell Sending meta data... Copying files... hugs98-plus-Sep2006.tar.gz Traceback (most recent call last): File "/usr/bin/osc", line 10, in <module> sys.exit( osc.main() ) File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 240, in main return self.cmd(args) File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 263, in cmd retval = self.onecmd(argv) File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 379, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib64/python2.5/site-packages/osc/cmdln.py", line 1109, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib64/python2.5/site-packages/osc/commandline.py", line 292, in do_copypac dst_apiurl, dst_project, dst_package) File "/usr/lib64/python2.5/site-packages/osc/core.py", line 1125, in copy_pac get_source_file(src_apiurl, src_project, src_package, n, targetfilename=n) File "/usr/lib64/python2.5/site-packages/osc/core.py", line 953, in get_source_file buf = f.read(BUFSIZE) File "/usr/lib64/python2.5/socket.py", line 308, in read data = self._sock.recv(recv_size) File "/usr/lib64/python2.5/httplib.py", line 529, in read s = self.fp.read(amt) File "/usr/lib64/python2.5/httplib.py", line 1023, in read s = self._read() File "/usr/lib64/python2.5/httplib.py", line 999, in _read buf = self._ssl.read(self._bufsize) socket.error: (104, 'Connection reset by peer')
Cheers, Herbert --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Wed, May 30, 2007 at 10:48:58PM +0200, Herbert Graeber wrote:
Darix asked me to copy another users project into devel:languages:haskell using "osc copypac". But this worked only partially. It creates the project and added the user m4r3k as maintainer, but it failed copying the files:
herbert@sirius:~> osc copypac home:m4r3k hugs98 devel:languages:haskell Sending meta data... Copying files... hugs98-plus-Sep2006.tar.gz Traceback (most recent call last): [...] socket.error: (104, 'Connection reset by peer')
"Connection reset by peer" is definitely a network error which shouldn't have happened. Did it work on second attempt? I just ran the command and it worked fine. Connection resets may be happening with uploading very large files, I'm not sure but I remember something like that. However, 5 MB is not a large file, but maybe you were on a very slow connection? Peter -- Allen Gewalten zum Trutz sich erhalten. SUSE LINUX Products GmbH Research & Development
On 2007-06-01 10:08:00 +0200, Dr. Peter Poeml wrote:
On Wed, May 30, 2007 at 10:48:58PM +0200, Herbert Graeber wrote:
Darix asked me to copy another users project into devel:languages:haskell using "osc copypac". But this worked only partially. It creates the project and added the user m4r3k as maintainer, but it failed copying the files:
herbert@sirius:~> osc copypac home:m4r3k hugs98 devel:languages:haskell Sending meta data... Copying files... hugs98-plus-Sep2006.tar.gz Traceback (most recent call last): [...] socket.error: (104, 'Connection reset by peer')
"Connection reset by peer" is definitely a network error which shouldn't have happened. Did it work on second attempt?
I just ran the command and it worked fine.
Connection resets may be happening with uploading very large files, I'm not sure but I remember something like that. However, 5 MB is not a large file, but maybe you were on a very slow connection?
maybe he had the bad luck that we restarted the webserver just at that moment. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Freitag, 1. Juni 2007 schrieb Dr. Peter Poeml:
On Wed, May 30, 2007 at 10:48:58PM +0200, Herbert Graeber wrote:
Darix asked me to copy another users project into devel:languages:haskell using "osc copypac". But this worked only partially. It creates the project
and added the user m4r3k as maintainer, but it failed copying the files:
herbert@sirius:~> osc copypac home:m4r3k hugs98 devel:languages:haskell Sending meta data... Copying files... hugs98-plus-Sep2006.tar.gz Traceback (most recent call last):
[...]
socket.error: (104, 'Connection reset by peer')
"Connection reset by peer" is definitely a network error which shouldn't have happened. Did it work on second attempt?
I have done several attempts. One directly after the first try. And another one some hours later.
I just ran the command and it worked fine.
Connection resets may be happening with uploading very large files, I'm not sure but I remember something like that. However, 5 MB is not a large file, but maybe you were on a very slow connection?
I currently have a 6MBit DSL connection with 512kBit upstream. That schould be sufficient. But the fact that the speed may be relevant, is a hint for a possible cause of the problem: I thought "osc copypac" is pure server only operation, because the whole operation is described by repositiory names and a package name and the server has all information, the meta data and the files. Looks like I must have a working copy, too. Unfortunately marek has already added the files for hugs98 by himself, so I cannot check my assumtion with this project... Cheers, Herbert --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2007-06-01 21:12:20 +0200, Herbert Graeber wrote:
But the fact that the speed may be relevant, is a hint for a possible cause of the problem: I thought "osc copypac" is pure server only operation, because the whole operation is described by repositiory names and a package name and the server has all information, the meta data and the files.
your client pulls all files and reuploads them. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Am Freitag, 1. Juni 2007 schrieb Marcus Rueckert:
On 2007-06-01 21:12:20 +0200, Herbert Graeber wrote:
But the fact that the speed may be relevant, is a hint for a possible cause of the problem: I thought "osc copypac" is pure server only operation, because the whole operation is described by repositiory names and a package name and the server has all information, the meta data and the files.
your client pulls all files and reuploads them.
So, where does it store the pulled files? Do I need a working copy for this? BTW: Wouldn't it be better to transer the files directly on the server. I think pulling and reuploading isn't neccessary (I know: It is easier to implement, because pulling and uploading are already available...). Cheers, Herbert --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Dr. Peter Poeml
-
Herbert Graeber
-
Marcus Rueckert