[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
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
https://bugzilla.novell.com/show_bug.cgi?id=660733
https://bugzilla.novell.com/show_bug.cgi?id=660733#c2
Sascha Peilicke
https://bugzilla.novell.com/show_bug.cgi?id=660733
https://bugzilla.novell.com/show_bug.cgi?id=660733#c3
Klaus Kämpf
https://bugzilla.novell.com/show_bug.cgi?id=660733
https://bugzilla.novell.com/show_bug.cgi?id=660733#c4
Sascha Peilicke
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
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
https://bugzilla.novell.com/show_bug.cgi?id=660733
https://bugzilla.novell.com/show_bug.cgi?id=660733#c7
Sascha Peilicke
https://bugzilla.novell.com/show_bug.cgi?id=660733
https://bugzilla.novell.com/show_bug.cgi?id=660733#c8
Marcus Hüwe
participants (1)
-
bugzilla_noreply@novell.com