I continued to dig around this problem.So I found bug 658296 on bugzilla, for 
the same error, but with package aspell-is.With spacewalk 1.5, I can rhnpush 
this package correctly.But I still fail to import package redhat-logos.
But I wonder if the problem is really the same:In bug 658296, the error is : 
DataError: invalid byte sequence for encoding "UTF8": 0xed736cThis is an 
encoding error.
On redhat-logos, I get : DataError: invalid byte sequence for encoding "UTF8": 
0xa90xa9 is a correct UTF-8 encoding.
Could someone try to push redhat-logos-4.9.16-1.noarch.rpm from RHEL 5.6 DVD 
ISO, please?
By the way, I think you can close bug 658296 
Thanks,

From: [email protected]
To: [email protected]
Date: Fri, 22 Jul 2011 05:43:15 +0000
Subject: Re: [Spacewalk-list] Error 500 when using rhnpush








Hello,I've upgraded to spacewalk 1.5 last night... and I still have the same 
issue:Exception Handler InformationTraceback (most recent call last):  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/apacheUploadServer.py", line 
100, in _wrapper    ret = function(req)  File 
"/usr/share/rhn/upload_server/handlers/package_push/package_push.py", line 136, 
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 
166, in push_package    importer.run()  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/importLib.py", 
line 625, in run    self.submit()  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/packageImport.py", 
line 309, in submit    transactional=self.transactional)  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 
667, in processPackages    transactional=transactional)  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 
1515, in __processObjectCollection__    return self.__doDML(dml)  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 
1623, in __doDML    self.__doInsert(dml.insert, dml.tables)  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 
1630, in __doInsert    self.__doInsertTable(tname, dict)  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py", line 
1644, in __doInsertTable    insertObj.query(hash)  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backendLib.py", 
line 433, in query    executeStatement(statement, values, self.count)  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backendLib.py", 
line 463, in executeStatement    count = count + apply(statement.executemany, 
(), tempdict)  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/sql_base.py", line 
172, in executemany    return apply(self._execute_wrapper, (self._executemany, 
) + p, kw)  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py",
 line 264, in _execute_wrapper    retval = apply(function, p, kw)  File 
"/usr/lib/python2.4/site-packages/spacewalk/server/rhnSQL/driver_postgresql.py",
 line 300, in _executemany    self._real_cursor.executemany(self.sql, 
all_kwargs)DataError: invalid byte sequence for encoding "UTF8": 0xa9HINT:  
This error can also happen if the byte sequence does not match the encoding 
expected by the server, which is controlled by "client_encoding".
Maybe my postgresql installation is incorrect?
Thanks in advance for your help
From: [email protected]
To: [email protected]
Date: Tue, 19 Jul 2011 06:24:18 +0000
Subject: Re: [Spacewalk-list] Error 500 when using rhnpush








Hello,I've just applied the patch on file 
/usr/lib/python2.4/site-packages/spacewalk/server/importlib/packageImport.py 
and recompiled it this way:python -O -mpy_compile 
/usr/lib/python2.4/site-packages/spacewalk/server/importlib/packageImport.py
Then, I restarted the spacewalk server.
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)
Is there something else to do to have the patch applied?
Thanks,


> Date: Wed, 13 Jul 2011 16:33:04 +0200
> From: [email protected]
> To: [email protected]
> Subject: Re: [Spacewalk-list] Error 500 when using rhnpush
> 
> On Wed, Jul 13, 2011 at 01:13:25PM +0000, Pierre Casenove wrote:
> > 
> > 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.
> 
> You only want to move to nightly if you know what you are doing, while
> understanding that we do not provide a way to upgrade *from* nightly
> to any newer release, nor among nightlies.
> 
> If all you want is fix the rhnpush issue, I recommend you just patch
> your 1.4 installation with the patch Michael has indicated.
> 
> -- 
> Jan Pazdziora
> Principal Software Engineer, Satellite Engineering, Red Hat
> 
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list
                                          

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list                          
          

_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list                          
          
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to