I haven't been able to get about two thirds of the sles 11 sp3 updates
packages to import into their channel because of the error:
TypeError: int() argument must be a string or a number

I upgraded to 2.0 in the hopes that would fix it, but it still happens.
Has anyone else come across this? I'm running spacewalk 2.0 on centos
5.9 32-bit.

Time: Fri Sep 20 11:22:08 2013
Exception type exceptions.TypeError
Exception while handling function server.apacheUploadServer._wrapper
Request object information:
URI: /PACKAGE-PUSH
Remote Host: localhost.localdomain
Server Name: localhost:443
Headers passed in:
        Accept-Encoding: identity
        CONTENT_LENGTH: 224741
        CONTENT_TYPE: application/x-rpm
        DOCUMENT_ROOT: /var/www/html
        GATEWAY_INTERFACE: CGI/1.1
        HTTPS: 1
        HTTP_ACCEPT_ENCODING: identity
        HTTP_HOST: localhost:443
        HTTP_USER_AGENT: rhnpush
        HTTP_X_RHN_UPLOAD_AUTH_SESSION:
98700x777b4176a90ee63f1286f158cd4fd635
        HTTP_X_RHN_UPLOAD_FILE_MD5SUM: 6e43440c6bd5ba4e1ce80f4d7a48a3e4
        HTTP_X_RHN_UPLOAD_FORCE: 0
        HTTP_X_RHN_UPLOAD_PACKAGE_ARCH: x86_64
        HTTP_X_RHN_UPLOAD_PACKAGE_NAME: apache2
        HTTP_X_RHN_UPLOAD_PACKAGE_RELEASE: 1.40.1
        HTTP_X_RHN_UPLOAD_PACKAGE_VERSION: 2.2.12
        HTTP_X_RHN_UPLOAD_PACKAGING: rpm
        Host: localhost:443
        PATH_INFO:
        QUERY_STRING:
        REMOTE_ADDR: 127.0.0.1
        REMOTE_PORT: 46692
        REQUEST_METHOD: POST
        REQUEST_URI: /PACKAGE-PUSH
        SCRIPT_FILENAME: /usr/share/rhn/wsgi/package_push.py
        SCRIPT_NAME: /PACKAGE-PUSH
        SCRIPT_URI: https://localhost/PACKAGE-PUSH
        SCRIPT_URL: /PACKAGE-PUSH
        SERVER_ADDR: 127.0.0.1
        SERVER_ADMIN: [email protected]
        SERVER_NAME: localhost
        SERVER_PORT: 443
        SERVER_PROTOCOL: HTTP/1.1
        SERVER_SIGNATURE:
        SERVER_SOFTWARE: Apache
        User-Agent: rhnpush
        X-RHN-Upload-Auth-Session:
98700x777b4176a90ee63f1286f158cd4fd635
        X-RHN-Upload-File-Checksum: 6e43440c6bd5ba4e1ce80f4d7a48a3e4
        X-RHN-Upload-File-Checksum-Type: md5
        X-RHN-Upload-File-MD5sum: 6e43440c6bd5ba4e1ce80f4d7a48a3e4
        X-RHN-Upload-Force: 0
        X-RHN-Upload-Package-Arch: x86_64
        X-RHN-Upload-Package-Name: apache2
        X-RHN-Upload-Package-Release: 1.40.1
        X-RHN-Upload-Package-Version: 2.2.12
        X-RHN-Upload-Packaging: rpm
        mod_ssl.is_https: <built-in method ssl_is_https of
mod_wsgi.Adapter object at 0xb6b96e0>
        mod_ssl.var_lookup: <built-in method ssl_var_lookup of
mod_wsgi.Adapter object at 0xb6b96e0>
        mod_wsgi.application_group: ent-mocsmux01.moc.gci|/package-push
        mod_wsgi.callable_object: application
        mod_wsgi.handler_script:
        mod_wsgi.input_chunked: 0
        mod_wsgi.listener_host:
        mod_wsgi.listener_port: 443
        mod_wsgi.process_group:
        mod_wsgi.request_handler: wsgi-script
        mod_wsgi.script_reloading: 1
        mod_wsgi.version: (3, 2)
        wsgi.errors: <mod_wsgi.Log object at 0xb681fc0>
        wsgi.file_wrapper: <built-in method file_wrapper of
mod_wsgi.Adapter object at 0xb6b96e0>
        wsgi.input: <mod_wsgi.Input object at 0xb66bf98>
        wsgi.multiprocess: True
        wsgi.multithread: False
        wsgi.run_once: False
        wsgi.url_scheme: https
        wsgi.version: (1, 1)

Exception Handler Information
Traceback (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 125, 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 144, in push_package
    importer.run()
  File
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/importLib.py",
line 647, in run
    self.submit()
  File
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/packageImport.py",
line 316, in submit
    transactional=self.transactional)
  File
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py",
line 812, in processPackages
    transactional=transactional)
  File
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py",
line 1594, in __processObjectCollection__
    _buildExternalValue(extObject, object, parentTableObj)
  File
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backend.py",
line 2082, in _buildExternalValue
    dict[f] = sanitizeValue(entry[attr], datatype)
  File
"/usr/lib/python2.4/site-packages/spacewalk/server/importlib/backendLib.py",
line 489, in sanitizeValue
    return int(value)
TypeError: int() argument must be a string or a number

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

Reply via email to