[Bug 660733] New: osc: ValueError: invalid literal for int() with base 10: ''
https://bugzilla.novell.com/show_bug.cgi?id=660733 https://bugzilla.novell.com/show_bug.cgi?id=660733#c0 Summary: osc: ValueError: invalid literal for int() with base 10: '' Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: kkaempf@novell.com QAContact: adrian@novell.com Found By: --- Blocker: --- Traceback (most recent call last): File "/usr/bin/osc", line 21, in <module> r = babysitter.run(osccli) File "/usr/lib/python2.6/site-packages/osc/babysitter.py", line 50, in run return prg.main() File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 309, in main return self.cmd(args) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 332, in cmd retval = self.onecmd(argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 448, in onecmd return self._dispatch_cmd(handler, argv) File "/usr/lib/python2.6/site-packages/osc/cmdln.py", line 1178, in _dispatch_cmd return handler(argv[0], opts, *args) File "/usr/lib/python2.6/site-packages/osc/commandline.py", line 3185, in do_update unexpand_link=opts.unexpand_link) File "/usr/lib/python2.6/site-packages/osc/core.py", line 673, in update self.checkout_missing_pacs(expand_link=not unexpand_link) File "/usr/lib/python2.6/site-packages/osc/core.py", line 493, in checkout_missing_pacs prj_obj=self, prj_dir=self.dir, expand_link=expand_link, progress_obj=self.progress_obj) File "/usr/lib/python2.6/site-packages/osc/core.py", line 3781, in checkout_package p.update(revision, server_service_files, size_limit) File "/usr/lib/python2.6/site-packages/osc/core.py", line 1868, in update self.__update(kept, added, deleted, services, fm, root.get('rev')) File "/usr/lib/python2.6/site-packages/osc/core.py", line 1883, in __update self.updatefile(f.name, rev, f.mtime) File "/usr/lib/python2.6/site-packages/osc/core.py", line 1282, in updatefile revision=revision, progress_obj=self.progress_obj, mtime=mtime, meta=self.meta) File "/usr/lib/python2.6/site-packages/osc/core.py", line 3533, in get_source_file download(u, targetfilename, progress_obj, mtime) File "/usr/lib/python2.6/site-packages/osc/core.py", line 3511, in download for buf in streamfile(url, http_GET, BUFSIZE, progress_obj=progress_obj): File "/usr/lib/python2.6/site-packages/osc/core.py", line 4500, in streamfile cl = int(cl) ValueError: invalid literal for int() with base 10: '' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660733 https://bugzilla.novell.com/show_bug.cgi?id=660733#c1 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|Other |x86-64 OS/Version|Other |openSUSE 11.3 --- Comment #1 from Klaus Kämpf <kkaempf@novell.com> 2010-12-21 07:42:11 UTC ---
osc --version 0.130 openSUSE 11.3 x86_64
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660733 https://bugzilla.novell.com/show_bug.cgi?id=660733#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wewang@novell.com AssignedTo|bnc-team-screening@forge.pr |adrian@novell.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660733 https://bugzilla.novell.com/show_bug.cgi?id=660733#c2 Sascha Peilicke <speilicke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |speilicke@novell.com --- Comment #2 from Sascha Peilicke <speilicke@novell.com> 2011-01-10 14:06:04 UTC --- I'm seeing the issue in the code but could you provide the command line you used, so that I can reproduce the issue? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660733 https://bugzilla.novell.com/show_bug.cgi?id=660733#c3 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |kkaempf@novell.com --- Comment #3 from Klaus Kämpf <kkaempf@novell.com> 2011-01-11 11:18:59 UTC --- Setting NEEDINFO ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660733 https://bugzilla.novell.com/show_bug.cgi?id=660733#c4 Sascha Peilicke <speilicke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|adrian@novell.com |suse-tux@gmx.de --- Comment #4 from Sascha Peilicke <speilicke@novell.com> 2011-01-13 08:15:02 UTC --- How about also providing it? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660733 https://bugzilla.novell.com/show_bug.cgi?id=660733#c5 --- Comment #5 from Marcus Hüwe <suse-tux@gmx.de> 2011-01-13 19:07:57 UTC --- (In reply to comment #2)
I'm seeing the issue in the code but could you provide the command line you used, so that I can reproduce the issue?
According to the traceback it was "osc up <opts>". To which code issue do you refer (osc-0.130 or git master)? IMHO it looks like that the server returned an "empty" Content-Length header (in this case osc from git master is going to redo the request). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660733 https://bugzilla.novell.com/show_bug.cgi?id=660733#c6 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|kkaempf@novell.com | --- Comment #6 from Klaus Kämpf <kkaempf@novell.com> 2011-01-14 08:01:34 UTC --- I used osc-0.130.1-27.1.noarch -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660733 https://bugzilla.novell.com/show_bug.cgi?id=660733#c7 Sascha Peilicke <speilicke@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |suse-tux@gmx.de --- Comment #7 from Sascha Peilicke <speilicke@novell.com> 2011-01-21 10:44:10 UTC --- Can this bug be closed then? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660733 https://bugzilla.novell.com/show_bug.cgi?id=660733#c8 Marcus Hüwe <suse-tux@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|suse-tux@gmx.de | Resolution| |FIXED --- Comment #8 from Marcus Hüwe <suse-tux@gmx.de> 2011-02-08 16:50:50 UTC --- I think we can close it (it should be fixed in git master). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com