[Spacewalk-list] Errors when posting errata via API
Tomas Lestach
tlestach at redhat.com
Wed Oct 13 08:49:18 UTC 2010
Hey Evan,
The problem was that you tried to associate one keyword several times with an erratum:
[ghostscript, ghostscript-devel, ghostscript-gtk, ghostscript, ghostscript-devel, ghostscript-gtk]
Try to run it just with:
[ghostscript, ghostscript-devel, ghostscript-gtk]
I fixed the problem in spacewalk nightly. The fix will be available since spacewalk-java-1.2.59-1
Thank you,
Tomas
--
Tomas Lestach
RHN Satellite Engineering, Red Hat
----- "Evan Frey" <efrey2 at optonline.net> wrote:
> I am trying to import errata into spacewalk via the api but keep
> getting
> an error.
>
> redstone.xmlrpc.XmlRpcFault: unhandled internal exception: a
> different object with the same identifier value was already associated
>
> with the session
>
> I validated my xml structure and it looks correct. The whole error is
>
> at http://pastebin.com/BnCcQDZs. The structure of the call is
>
> <?xml version="1.0"?>
> <methodCall>
> <methodName>errata.create</methodName>
> <params>
>
> <param><value><string>270x957c6a37be8fcda5321e8bd3326d99b1</string></value></param>
> <param><value><struct>
> <member><name>topic</name><value><string>Updated ghostscript packages
>
> that fix various bugs and add an enhancement are
> now available.
> </string></value></member>
>
> <member><name>advisory_name</name><value><string>RHBA-2010:0646</string></value></member>
> <member><name>description</name><value><string>The Ghostscript suite
> provides a PostScript(TM) interpreter, a set of C
> procedures (the Ghostscript library, which implements the graphics
> capabilities
> in the PostScript language), and an interpreter for PDF files.
> Ghostscript
> translates PostScript code into many common, bitmapped formats, like
> those
> understood by most printers and displays. This enables users to
> display
> PostScript files and print them on non-PostScript printers.
>
> This update fixes the following bug:
>
> * due to the incorrect page size handling, converting a PDF file to
> PostScript
> may have caused the correct page size information to be lost. As a
> result, the
> printed output may have been misplaced or partially visible only. With
>
> this
> update, the conversion from PDF to PostScript works as expected.
> (BZ#592962)
>
> All users of Ghostscript are advised to upgrade to these updated
> packages, which
> resolve this issue.
> </string></value></member>
> <member><name>solution</name><value><string>Upgrade where
> applicable</string></value></member>
> <member><name>advisory_type</name><value><string>Bug Fix
> Advisory</string></value></member>
> <member><name>synopsis</name><value><string>ghostscript bug fix
> update</string></value></member>
> <member><name>notes</name><value><string></string></value></member>
> <member><name>references</name><value><string></string></value></member>
> <member><name>advisory_release</name><value><i4>1</i4></value></member>
> <member><name>product</name><value><string>Red
> Hat</string></value></member>
> </struct></value>
> </param>
> <param><value><array><data>
> <value><struct>
> <member><name>summary</name><value><string>ghostscript bug fix
> update</string></value></member>
> <member><name>id</name><value><i4>1</i4></value></member>
> </struct></value>
> </data></array></value>
> </param>
> <param><value><array><data>
>
> <value><string>ghostscript</string></value><value><string>ghostscript-devel</string></value><value><string>ghostscript-gtk</string></value><value><string>ghostscript</string></value><value><string>ghostscript-devel</string></value><value><string>ghostscript-gtk</string></value></data></array></value>
> </param>
> <param><value><array><data>
>
> <value><i4>7257</i4></value><value><i4>7258</i4></value><value><i4>7260</i4></value><value><i4>9568</i4></value><value><i4>9569</i4></value><value><i4>9570</i4></value></data></array></value>
> </param>
> <param><value><i4>1</i4></value></param>
> <param><value><array><data>
>
> <value><string>rhel-5-epel5-i386</string></value><value><string>rhel-5-epel5-x86_64</string></value><value><string>centos-5-thirdparty-x86_64</string></value><value><string>centos-5-spacewalk-client-i386</string></value><value><string>centos-5-spacewalk-client-x86_64</string></value><value><string>centos-5-epel5-x86_64</string></value><value><string>rhel-i386-server-5</string></value><value><string>centos-5-epel5-i386</string></value><value><string>centos5-base-x86_64</string></value><value><string>centos5-updates-x86_64</string></value><value><string>rhel-5-spacewalk-client-i386</string></value><value><string>rhel-x86_64-server-5</string></value><value><string>rhel-5-spacewalk-client-x86_64</string></value><value><string>rhel-5-thirdparty-x86_64</string></value><value><string>centos-5-thirdparty-i386</string></value><value><string>centos5-updates-i386</string></value><value><string>rhel-5-thirdparty-i386</string></value><value><string>centos5-base-i386</string></value></d!
at!
> a></array></value>
> </param>
> </params>
> </methodCall>
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
More information about the Spacewalk-list
mailing list