<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Hello,<div>I've upgraded to spacewalk 1.5 last night... and I still have the same issue:</div><div><div>Exception Handler Information</div><div>Traceback (most recent call last):</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/apacheUploadServer.py", line 100, in _wrapper</div><div>    ret = function(req)</div><div>  File "/usr/share/rhn/upload_server/handlers/package_push/package_push.py", line 136, in handler</div><div>    relative_path=self.rel_package_path, org_id=self.org_id)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnPackageUpload.py", line 166, in push_package</div><div>    importer.run()</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/importLib.py", line 625, in run</div><div>    self.submit()</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/packageImport.py", line 309, in submit</div><div>    transactional=self.transactional)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 667, in processPackages</div><div>    transactional=transactional)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 1515, in __processObjectCollection__</div><div>    return self.__doDML(dml)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 1623, in __doDML</div><div>    self.__doInsert(dml.insert, dml.tables)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 1630, in __doInsert</div><div>    self.__doInsertTable(tname, dict)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 1644, in __doInsertTable</div><div>    insertObj.query(hash)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backendLib.py", line 433, in query</div><div>    executeStatement(statement, values, self.count)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backendLib.py", line 463, in executeStatement</div><div>    count = count + apply(statement.executemany, (), tempdict)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 172, in executemany</div><div>    return apply(self._execute_wrapper, (self._executemany, ) + p, kw)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 264, in _execute_wrapper</div><div>    retval = apply(function, p, kw)</div><div>  File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py", line 300, in _executemany</div><div>    self._real_cursor.executemany(self.sql, all_kwargs)</div><div>DataError: invalid byte sequence for encoding "UTF8": 0xa9</div><div>HINT:  This error can also happen if the byte sequence does not match the encoding expected by the server, which is controlled by "client_encoding".</div><div><br></div><div>Maybe my postgresql installation is incorrect?</div><div><br></div><div>Thanks in advance for your help</div><br><div><hr id="stopSpelling">From: pedro109@hotmail.com<br>To: spacewalk-list@redhat.com<br>Date: Tue, 19 Jul 2011 06:24:18 +0000<br>Subject: Re: [Spacewalk-list] Error 500 when using rhnpush<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>

<div dir="ltr">
<font class="ecxApple-style-span" face="Tahoma" size="2">Hello,</font><div style="font-family:Tahoma;font-size:10pt">I've just applied the patch on file /usr/lib/python2.4/site-packages/spacewalk/server/importlib/packageImport.py and recompiled it this way:</div><div><font class="ecxApple-style-span" face="Tahoma" size="2">python -O -mpy_compile /usr/lib/python2.4/site-packages/spacewalk/server/importlib/packageImport.py</font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2"><br></font></div><div><font class="ecxApple-style-span" face="Tahoma" size="2">Then, I restarted the spacewalk server.</font></div><div style="font-family:Tahoma;font-size:10pt"><br></div><div style="font-family:Tahoma;font-size:10pt">But rhnpush of redhat-logos rpm still fails with the same exception (except that the line number changes in the traceback in file packageImport.py)</div><div style="font-family:Tahoma;font-size:10pt"><br></div><div style="font-family:Tahoma;font-size:10pt">Is there something else to do to have the patch applied?</div><div style="font-family:Tahoma;font-size:10pt"><br></div><div style="font-family:Tahoma;font-size:10pt">Thanks,</div><div style="font-family:Tahoma;font-size:10pt"><br></div><div style="font-family:Tahoma;font-size:10pt"><br><br><div>> Date: Wed, 13 Jul 2011 16:33:04 +0200<br>> From: jpazdziora@redhat.com<br>> To: spacewalk-list@redhat.com<br>> Subject: Re: [Spacewalk-list] Error 500 when using rhnpush<br>> <br>> On Wed, Jul 13, 2011 at 01:13:25PM +0000, Pierre Casenove wrote:<br>> > <br>> > Hello,Before executing yum pugrade on the latest nightly build, I want to be quite sure I won't break everything.Do I need to follow https://fedorahosted.org/spacewalk/wiki/HowToUpgrade instructions? As these instruction are for 1.4, I prefer to ask.<br>> <br>> You only want to move to nightly if you know what you are doing, while<br>> understanding that we do not provide a way to upgrade *from* nightly<br>> to any newer release, nor among nightlies.<br>> <br>> If all you want is fix the rhnpush issue, I recommend you just patch<br>> your 1.4 installation with the patch Michael has indicated.<br>> <br>> -- <br>> Jan Pazdziora<br>> Principal Software Engineer, Satellite Engineering, Red Hat<br>> <br>> _______________________________________________<br>> Spacewalk-list mailing list<br>> Spacewalk-list@redhat.com<br>> https://www.redhat.com/mailman/listinfo/spacewalk-list<br></div></div>                                        </div>
<br>_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list</div></div>                                    </div></body>
</html>