<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
No joy.<br>
But, while experimenting, if I change line 146 of <br>
<pre wrap="">/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py
from
toinsert[3].append(text[0:3000])
to
toinsert[3].append(text[0:2999])
I no longer get the error.
I know very little about Python and I know that's probably not a fix. I just thought it might be useful info!
</pre>
<br>
Jan Pazdziora wrote:
<blockquote cite="mid20101029074430.GR10072@redhat.com" type="cite">
<pre wrap="">On Mon, Oct 25, 2010 at 12:42:13PM +0000, <a class="moz-txt-link-abbreviated" href="mailto:chuck.renshaw@comcast.net">chuck.renshaw@comcast.net</a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Problem fixed (nightly builds), but now getting the following for some isolated packages:
Exception reported from remchuck5lt.li-sec.state.pa.us
Time: Mon Oct 25 08:39:35 2010
Exception type spacewalk.server.rhnSQL.sql_base.SQLError
Exception while handling function server.apacheUploadServer._wrapper
Request object information:
URI: /PACKAGE-PUSH
Remote Host: 127.0.0.1
Server Name: remchuck5lt.li-sec.state.pa.us:0
Headers passed in:
Accept-Encoding: identity
Content-Length: 372578
Content-Type: application/x-rpm
Host: localhost
User-Agent: rhnpush
X-RHN-Upload-Auth-Session: 88x1974c623ba21d62a0041fe2ca210a084
X-RHN-Upload-File-Checksum: 28aee4609a4cd96bf9f35e8bd7a3a8bc
X-RHN-Upload-File-Checksum-Type: md5
X-RHN-Upload-File-MD5sum: 28aee4609a4cd96bf9f35e8bd7a3a8bc
X-RHN-Upload-Force: 1
X-RHN-Upload-Package-Arch: i386
X-RHN-Upload-Package-Name: pacemaker-libs
X-RHN-Upload-Package-Release: 6.1.el5
X-RHN-Upload-Package-Version: 1.0.8
X-RHN-Upload-Packaging: rpm
Exception Handler Information
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/spacewalk/server/apacheUploadServer.py", line 102, in _wrapper
ret = function(req)
File "/usr/share/rhn/upload_server/handlers/package_push/package_push.py", line 134, in handler
relative_path=self.rel_package_path, org_id=self.org_id)
File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnPackageUpload.py", line 180, in push_package
importer.run()
File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/importLib.py", line 648, in run
self.fix()
File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/packageImport.py", line 301, in fix
self.backend.processChangeLog(self.changelog_data)
File "/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 154, in processChangeLog
h.executemany(id=toinsert[0], name=toinsert[1], time=toinsert[2], text=toinsert[3])
File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 175, in executemany
return apply(self._execute_wrapper, (self._executemany, ) + p, kw)
File "/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_cx_Oracle.py", line 118, in _execute_wrapper
raise apply(sql_base.SQLError, ret)
SQLError: (12899, 'ORA-12899: value too large for column "SPACEWALK"."RHNPACKAGECHANGELOGDATA"."TEXT" (actual: 3001, maximum: 3000)\n', 'insert into
rhnPackageChangeLogData (id, name, time, text) values (:id, :name, :time, :text)')
</pre>
</blockquote>
<pre wrap=""><!---->
Just restarting the rhn-satellite service (or just httpd) should fix
this for you -- the patch addresses this code path as well. At least
for me, push of libgcj-devel-4.1.2-48.el5.i386.rpm runs without
issues.
Yours,
</pre>
</blockquote>
<br>
</body>
</html>