[Spacewalk-list] spacewalk-repo-sync expecting numeric data

Tom Popovic tom at DXStorm.com
Mon Nov 15 02:06:26 UTC 2010


If I add --fail to the spacewalk-repo-sync command, I receive the
following:

 

Traceback (most recent call last):

  File "/usr/bin/spacewalk-repo-sync", line 72, in <module>

    sys.exit(abs(main() or 0))

  File "/usr/bin/spacewalk-repo-sync", line 66, in main

    sync.main()

  File "/usr/share/rhn/satellite_tools/reposync.py", line 107, in main

    self.import_packages(plugin, url)

  File "/usr/share/rhn/satellite_tools/reposync.py", line 158, in
import_packages

    self.upload_package(pack, path)

  File "/usr/share/rhn/satellite_tools/reposync.py", line 192, in
upload_package

    org_id=self.channel['org_id'])

  File "/usr/share/rhn/server/rhnPackageUpload.py", line 175, in
push_package

    importer.run()

  File "/usr/share/rhn/server/importlib/importLib.py", line 648, in run

    self.submit()

  File "/usr/share/rhn/server/importlib/packageImport.py", line 318, in
submit

    transactional=self.transactional)

  File "/usr/share/rhn/server/importlib/backend.py", line 742, in
processPackages

    transactional=transactional)

  File "/usr/share/rhn/server/importlib/backend.py", line 1601, in
__processObjectCollection__

    return self.__doDML(dml)

  File "/usr/share/rhn/server/importlib/backend.py", line 1709, in
__doDML

    self.__doInsert(dml.insert, dml.tables)

  File "/usr/share/rhn/server/importlib/backend.py", line 1716, in
__doInsert

    self.__doInsertTable(tname, dict)

  File "/usr/share/rhn/server/importlib/backend.py", line 1730, in
__doInsertTable

    insertObj.query(hash)

  File "/usr/share/rhn/server/importlib/backendLib.py", line 428, in
query

    executeStatement(statement, values, self.count)

  File "/usr/share/rhn/server/importlib/backendLib.py", line 458, in
executeStatement

    count = count + apply(statement.executemany, (), tempdict)

  File "/usr/share/rhn/server/rhnSQL/sql_base.py", line 177, in
executemany

    return apply(self._execute_wrapper, (self._executemany, ) + p, kw)

  File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 98, in
_execute_wrapper

    retval = apply(function, p, kw)

  File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 189, in
_executemany

    self._real_cursor.executemany(None, arr)

TypeError: expecting numeric data

 

From: Tom Popovic 
Sent: Monday, November 01, 2010 10:54 AM
To: spacewalk-list at redhat.com
Subject: spacewalk-repo-sync expecting numeric data

 

Hello,

 

I'm using spacewalk-oracle 1.1 on fedora 13.

 

Within the spacewalk GUI, I've created a new software channel, and
repository.  I'm attempting to sync with an external URL with the
following command:

 

spacewalk-repo-sync --channel centos-5-x86_64 --url
http://mirror.csclub.uwaterloo.ca/centos/5/os/x86_64

 

The sync completes, however certain packages are being excluded with the
following messages

 

expecting string or buffer data

784/901 : eclipse-sdk-3.2.1-19.el5.centos-1.x86_64

...

901/901 : hesinfo-3.1.0-1.1-0.x86_64

expecting numeric data

Sync complete

 

If I rerun the sync, I see the same packages are being processed again.

 

# spacewalk-repo-sync --channel centos-5-x86_64 --url
http://mirror.csclub.uwaterloo.ca/centos/5/os/x86_64

Repo http://mirror.csclub.uwaterloo.ca/centos/5/os/x86_64 has 3434
packages.

1/901 : groff-1.18.1.1-11.1-0.x86_64

expecting numeric data

 

Any Ideas?

 

Thanks,

Tom Popovic

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20101114/25b6407c/attachment.htm>


More information about the Spacewalk-list mailing list