[Bug 551147] New: 'osc ci/co breaks with File "<string>", line 45, in parse
http://bugzilla.novell.com/show_bug.cgi?id=551147
Summary: 'osc ci/co breaks with File "<string>", line 45, in
parse
Classification: openSUSE
Product: openSUSE.org
Version: unspecified
Platform: x86-64
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: BuildService
AssignedTo: jw@novell.com
ReportedBy: jw@novell.com
QAContact: adrian@novell.com
CC: mrueckert@novell.com, samannsml@directbox.com
Depends on: 505164
Found By: ---
From: Sascha 'saigkill' Manns
http://bugzilla.novell.com/show_bug.cgi?id=551147
User jw@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=551147#c1
Juergen Weigert
http://bugzilla.novell.com/show_bug.cgi?id=551147
User jw@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=551147#c2
--- Comment #2 from Juergen Weigert
Created an attachment (id=324747) --> (http://bugzilla.novell.com/attachment.cgi?id=324747) [details] patch to guard against empty .osc/_packages
This patch may be incomplete, it fixes only one place. This patch just adds robustness. It does not address the cause for the empty file.
Checked in into svn head, please extend. The patch itself is complete (there are no other places where the _packages file is read). So far I couldn't reproduce the problem and it seems that it only occurs from time to time. The best might be to raise an exception in "write_packages()" in case it tries to write an empty file so that we get a helpful traceback (although I've no idea what "an empty file" is, e.g. "self.pac_root == None"?
http://bugzilla.novell.com/show_bug.cgi?id=551147
User suse-tux@gmx.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=551147#c3
--- Comment #3 from Marcus Hüwe
https://bugzilla.novell.com/show_bug.cgi?id=551147
https://bugzilla.novell.com/show_bug.cgi?id=551147#c4
Sascha Peilicke
participants (1)
-
bugzilla_noreply@novell.com