<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>this is exactly what I have done. This is a test system and I ran nightly because of PR500 (debian and ubuntu package version handling) and that is what I have tested. Now that 2.7 has been released, I wanted to upgrade to the "release" and test all other stuff.</div>

<div> </div>

<div>No....had started debugging and located the error in some "old" erratas.</div>

<div> </div>

<div>Sorry for long output. But this is the line in "errataImport.py", where the error occures. As you can see in this "one" errata I debugged now, "packages" is truely a "list" of "IncompletePackage" instances and not a "dict".</div>

<div> </div>

<div>263             # 'package in erratum['packages'].values()' here. But for (to me) unknown<br/>
264             # reason it sometimes has package.id == None which makes whole import fail.<br/>
265             # And self.packages[nevrao].id contains always right value.<br/>
266             for nevrao in erratum['packages'].keys():<br/>
(Pdb) p erratum<br/>
[<spacewalk.server.importlib.importLib.Erratum instance; attributes={'advisory_name': 'sdksp1-tomcat6', 'advisory': 'sdksp1-tomcat6-4361', 'product': 'SUSE Linux Enterprise Software Development Kit 11 SP1', 'description': "\nThis update fixes the Expression Language parser.\n\nThe parser was previously unable parse expressions without additional \nwhitespaces - like '${not(true)}'. This is addressed in apache bug #45511. \nAnd the last character of namespace is lost during a parsing, which makes \nthis feature unusable. This is apache bug #45648. Both issues are fixed by \nthis update.\n\n", 'errata_from': <a href="mailto:'maint-coord@suse.de'">'maint-coord@suse.de'</a>, 'locally_modified': None, 'refers_to': None, 'solution': ' ', 'topic': ' ', 'last_modified': None, 'keywords': [],</div>

<div> </div>

<div>list starts...</div>

<div> </div>

<div>'packages': [[<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'name': 'tomcat6', 'src': None, 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': None, 'filename': 'tomcat6-6.0.18-20.23.1.noarch.rpm', 'channels': None, 'package_id': 21326, 'last_modified': None, 'version': '6.0.18', 'checksum_type': 'md5', 'release': '20.23.1', 'checksums': {'md5': '5b887c3e6b5d060f6a1875fa50e897db'}, 'checksum': '5b887c3e6b5d060f6a1875fa50e897db', 'arch': 'noarch'}], [<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'name': 'tomcat6-admin-webapps', 'src': None, 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': None, 'filename': 'tomcat6-admin-webapps-6.0.18-20.23.1.noarch.rpm', 'channels': None, 'package_id': 21328, 'last_modified': None, 'version': '6.0.18', 'checksum_type': 'md5', 'release': '20.23.1', 'checksums': {'md5': '8a68846141b10f46e3003ca74baa793b'}, 'checksum': '8a68846141b10f46e3003ca74baa793b', 'arch': 'noarch'}], [<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'name': 'tomcat6-docs-webapp', 'src': None, 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': None, 'filename': 'tomcat6-docs-webapp-6.0.18-20.23.1.noarch.rpm', 'channels': None, 'package_id': 21323, 'last_modified': None, 'version': '6.0.18', 'checksum_type': 'md5', 'release': '20.23.1', 'checksums': {'md5': '58e759e5fccad6f265096341f323307d'}, 'checksum': '58e759e5fccad6f265096341f323307d', 'arch': 'noarch'}], [<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'name': 'tomcat6-javadoc', 'src': None, 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': None, 'filename': 'tomcat6-javadoc-6.0.18-20.23.1.noarch.rpm', 'channels': None, 'package_id': 21327, 'last_modified': None, 'version': '6.0.18', 'checksum_type': 'md5', 'release': '20.23.1', 'checksums': {'md5': '53dbb12db41537a1d8adb949b52b018e'}, 'checksum': '53dbb12db41537a1d8adb949b52b018e', 'arch': 'noarch'}], [<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'name': 'tomcat6-jsp-2_1-api', 'src': None, 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': None, 'filename': 'tomcat6-jsp-2_1-api-6.0.18-20.23.1.noarch.rpm', 'channels': None, 'package_id': 21324, 'last_modified': None, 'version': '6.0.18', 'checksum_type': 'md5', 'release': '20.23.1', 'checksums': {'md5': 'a72147cfba8d1e0f1ac9c1922d393d85'}, 'checksum': 'a72147cfba8d1e0f1ac9c1922d393d85', 'arch': 'noarch'}], [<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'name': 'tomcat6-lib', 'src': None, 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': None, 'filename': 'tomcat6-lib-6.0.18-20.23.1.noarch.rpm', 'channels': None, 'package_id': 21330, 'last_modified': None, 'version': '6.0.18', 'checksum_type': 'md5', 'release': '20.23.1', 'checksums': {'md5': 'f5b1e10d6d78331cb07526ebf8dee6bf'}, 'checksum': 'f5b1e10d6d78331cb07526ebf8dee6bf', 'arch': 'noarch'}], [<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'name': 'tomcat6-servlet-2_5-api', 'src': None, 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': None, 'filename': 'tomcat6-servlet-2_5-api-6.0.18-20.23.1.noarch.rpm', 'channels': None, 'package_id': 21329, 'last_modified': None, 'version': '6.0.18', 'checksum_type': 'md5', 'release': '20.23.1', 'checksums': {'md5': 'ea0410c4628b7e570412d319dac4f466'}, 'checksum': 'ea0410c4628b7e570412d319dac4f466', 'arch': 'noarch'}], [<spacewalk.server.importlib.importLib.IncompletePackage instance; attributes={'package_size': None, 'name': 'tomcat6-webapps', 'src': None, 'checksum_list': None, 'md5sum': None, 'org_id': 1, 'epoch': None, 'filename': 'tomcat6-webapps-6.0.18-20.23.1.noarch.rpm', 'channels': None, 'package_id': 21325, 'last_modified': None, 'version': '6.0.18', 'checksum_type': 'md5', 'release': '20.23.1', 'checksums': {'md5': '69436a9c144a06e0d7e47d71610e24e3'}, 'checksum': '69436a9c144a06e0d7e47d71610e24e3', 'arch': 'noarch'}]],</div>

<div> </div>

<div>list ended...</div>

<div> </div>

<div> 'files': [], 'advisory_type': 'Bug Fix Advisory', 'issue_date': '2011-04-12 14:42:21', 'notes': '', 'org_id': 1, 'bugs': [[<spacewalk.server.importlib.importLib.Bug instance; attributes={'bug_id': 681914, 'href': 'https://bugzilla.novell.com/show_bug.cgi?id=681914', 'summary': 'bug number 681914'}]], 'advisory_rel': '4361', 'synopsis': 'Recommended update for tomcat6', 'cve': [], 'update_date': '2011-04-12 14:42:21', 'channels': [{'label': 'sle11-sdk-sp1-updates-x86_64'}]}]</div>

<div>...</div>

<div>
<div> </div>

<div>I wil try to remove that errata (and following, that break the import) and see, if this is "reimported" correctly.</div>

<div> </div>

<div>Robert</div>

<div> </div>

<div name="quote" style="margin: 10px 5px 5px 10px; padding: 10px 0px 10px 10px; border-left-color: rgb(195, 217, 229); border-left-width: 2px; border-left-style: solid; -ms-word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin: 0px 0px 10px;"><b>Gesendet:</b> Donnerstag, 28. September 2017 um 14:12 Uhr<br/>
<b>Von:</b> "Paul Robert Marino" <prmarino1@gmail.com><br/>
<b>An:</b> "Robert Paschedag" <robert.paschedag@web.de><br/>
<b>Cc:</b> "spacewalk-list@redhat.com" <spacewalk-list@redhat.com><br/>
<b>Betreff:</b> Re: Re: [Spacewalk-list] Importing errata from RPM channel failes with ERROR: 'list' object has no attribute 'keys'</div>

<div name="quoted-content">
<div>well and that may be the root of your problem. you should never run the nightly version in production! Only run the nightly version in a QA/Dev environment here you are specifically testing for the next release of spacewalk. if you run the nightly version in production you are asking for things to break, while in theory you should be able to upgrade fom a nightly to a new release that doesn't mean that damage done by a broken nightly version will corrected.
<div>the only time i ever run a nightly build is when I'm trying to test prior to a new release or if i wrote a patch and want to test it against the latest version of the code, and when i do it is usually an instance on a VM that manages a few other VM's just to test functionality.</div>
</div>

<div class="gmail_extra"> 
<div class="gmail_quote">On Thu, Sep 28, 2017 at 6:49 AM, Robert Paschedag <span><<a href="mailto:robert.paschedag@web.de" onclick="parent.window.location.href='robert.paschedag@web.de'; return false;" target="_blank">robert.paschedag@web.de</a>></span> wrote:

<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; border-left-style: solid;">Damn....looks like I got this error before upgrading to 2.7 release. Went back to snapshot (with 2.7 nightly) and this error is present. Will start to debug this.<br/>
<br/>
> Gesendet: Donnerstag, 28. September 2017 um 08:31 Uhr<br/>
> Von: "Robert Paschedag" <<a href="mailto:robert.paschedag@web.de" onclick="parent.window.location.href='robert.paschedag@web.de'; return false;" target="_blank">robert.paschedag@web.de</a>><br/>
> An: <a href="mailto:spacewalk-list@redhat.com" onclick="parent.window.location.href='spacewalk-list@redhat.com'; return false;" target="_blank">spacewalk-list@redhat.com</a>, "Paul Robert Marino" <<a href="mailto:prmarino1@gmail.com" onclick="parent.window.location.href='prmarino1@gmail.com'; return false;" target="_blank">prmarino1@gmail.com</a>>, "Spacewalk Userlist" <<a href="mailto:spacewalk-list@redhat.com" onclick="parent.window.location.href='spacewalk-list@redhat.com'; return false;" target="_blank">spacewalk-list@redhat.com</a>><br/>
> Betreff: Re: [Spacewalk-list] Importing errata from RPM channel failes with ERROR: 'list' object has no attribute 'keys'
<div class="HOEnZb">
<div class="h5">><br/>
> Am 27. September 2017 23:58:29 MESZ schrieb Paul Robert Marino <<a href="mailto:prmarino1@gmail.com" onclick="parent.window.location.href='prmarino1@gmail.com'; return false;" target="_blank">prmarino1@gmail.com</a>>:<br/>
> >_______________________________________________<br/>
> >Spacewalk-list mailing list<br/>
> ><a href="mailto:Spacewalk-list@redhat.com" onclick="parent.window.location.href='Spacewalk-list@redhat.com'; return false;" target="_blank">Spacewalk-list@redhat.com</a><br/>
> ><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br/>
><br/>
> This is 2.7. Just upgraded from nightly. But I'm not sure, if I had this error within nightly as I was testing other stuff all time.<br/>
><br/>
><br/>
> _______________________________________________<br/>
> Spacewalk-list mailing list<br/>
> <a href="mailto:Spacewalk-list@redhat.com" onclick="parent.window.location.href='Spacewalk-list@redhat.com'; return false;" target="_blank">Spacewalk-list@redhat.com</a><br/>
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br/>
></div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div></div></body></html>