<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Webdings;
        panose-1:5 3 1 2 1 5 9 6 7 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>What version of rhnlib do you have installed, and what versions are available when you run yum info on the pkg?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>That specific error dates back to changes made in 2.3: <a href="https://github.com/spacewalkproject/spacewalk/pull/215">https://github.com/spacewalkproject/spacewalk/pull/215</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;color:#1F497D'>Back when they first did this I did not have time to update my kickstart and repos, etc, so I just swapped the variable names with sed. That was many many versions ago, and I really don’t recommend doing that now.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:8.0pt;color:#1F497D'>David Bryant | Cyber DevOps Specialist | BT GS<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:11.0pt'>From:</span></b><span style='font-size:11.0pt'> spacewalk-list-bounces@redhat.com [mailto:spacewalk-list-bounces@redhat.com] <b>On Behalf Of </b>Max DiOrio<br><b>Sent:</b> Monday, May 7, 2018 3:35 PM<br><b>To:</b> spacewalk-list@redhat.com<br><b>Subject:</b> [Spacewalk-list] RHEL 7.5 idn_pune_to_unicode<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt'>I have a server that I’m trying to get into Spacewalk.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>I have a bootstrap script that updates/installs all the necessary packages, the joins the system to Spacewalk, but get:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'># rhnreg_ks<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Traceback (most recent call last):<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>  File "/usr/sbin/rhnreg_ks", line 25, in <module><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>    from rhn.connections import idn_pune_to_unicode<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>ImportError: cannot import name idn_pune_to_unicode<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>So I did a yum update as this server hasn’t been patched in a long time.  It is now on RHEL 7.5, however I still am getting the same error.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>I’ve added a couple dozen servers using the same script without any issues, so I’m not sure why this one is giving me a headache.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Any ideas?  Thanks.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial",sans-serif;color:blue'><img border=0 width=274 height=71 id="Picture_x0020_1" src="cid:image001.jpg@01D3E61C.B237A3E0" alt="/var/folders/82/9y4lw3yd4jlc667fqgbmx3ww0000gn/T/com.microsoft.Outlook/WebArchiveCopyPasteTempFiles/cidimage003.jpg@01D3D72F.FE191DD0"></span><span style='font-size:11.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:9.5pt;font-family:"Arial",sans-serif;color:#0066A1'>Max DiOrio</span></b><span style='font-size:11.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Arial",sans-serif;color:black'>Global Systems Administrator</span><span style='font-size:11.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal style='line-height:12.65pt'><span style='font-size:9.5pt;font-family:"Arial",sans-serif;color:black'>201 Fuller Road, Suite 202</span><span style='font-size:11.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal style='line-height:12.65pt'><span style='font-size:9.5pt;font-family:"Arial",sans-serif;color:black'>Albany, NY 12203-3621</span><span style='font-size:11.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.5pt;font-family:"Arial",sans-serif;color:black'>Phone: +1 518 238 6516</span><span style='font-size:11.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><u><span style='font-size:9.5pt;font-family:"Arial",sans-serif;color:#0066A1'><a href="mailto:Max.DiOrio@ieeeglobalspec.com">Max.DiOrio@ieeeglobalspec.com</a></span></u><u><span style='font-size:9.5pt;font-family:"Arial",sans-serif'><o:p></o:p></span></u></p><p class=MsoNormal><span style='font-size:11.0pt;color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:Webdings;color:green'>þ</span><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:black'> </span><span style='font-size:8.0pt;font-family:"Arial",sans-serif;color:green'>Please consider the environment before printing this e-mail.</span><span style='font-size:11.0pt;color:black'><o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p></div></body></html>