Here is the debug output --- BTW, when running csw-upload-pkg, the debug option is not mentionned in the usage...

pfelecan@login [login]:~ > csw-upload-pkg --debug staging/build-19.Feb.2013/* 2>&1 | tee ~/logs/csw-upload-pkg DEBUG:root:args: ['staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz'] DEBUG:root:_GetFileMd5sum(staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz): Reading the file DEBUG:root:GetPkgByMd5(): GET http://buildfarm.opencsw.org/pkgdb/rest/srv4/a439d983f79d027331a940859c4aca76/ WARNING:root:http://buildfarm.opencsw.org/pkgdb/rest/srv4/a439d983f79d027331a940859c4aca76/ -- HTTP Error 404: Not Found WARNING:root:staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz (a439d983f79d027331a940859c4aca76) is not known to the database.
DEBUG:root:Debugging on
DEBUG:root:db_name: checkpkg, db_user: pkg_maintainer
DEBUG:root:auto_manage_option = no
DEBUG:root:auto_manage: False
DEBUG:root:Database schema version: 9, application expects: 9
DEBUG:root:GetDatabaseMtime() --> 1
DEBUG:root:args: ['staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz'] DEBUG:root:_GetFileMd5sum(staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz): Reading the file DEBUG:root:GetPkgByMd5(): GET http://buildfarm.opencsw.org/pkgdb/rest/srv4/a439d983f79d027331a940859c4aca76/ WARNING:root:http://buildfarm.opencsw.org/pkgdb/rest/srv4/a439d983f79d027331a940859c4aca76/ -- HTTP Error 404: Not Found WARNING:root:staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz (a439d983f79d027331a940859c4aca76) is not known to the database.
DEBUG:root:Debugging on
DEBUG:root:db_name: checkpkg, db_user: pkg_maintainer
DEBUG:root:auto_manage_option = no
DEBUG:root:auto_manage: False
DEBUG:root:Database schema version: 9, application expects: 9
DEBUG:root:GetDatabaseMtime() --> 1
DEBUG:root:IsDatabaseUpToDate: f_mtime time.struct_time(tm_year=2013, tm_mon=2, tm_mday=13, tm_hour=21, tm_min=49, tm_sec=2, tm_wday=2, tm_yday=44, tm_isdst=0), d_time: time.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=1, tm_wday=3, tm_yday=1, tm_isdst=0)
DEBUG:root:IsDatabaseUpToDate: good_version=True, fresh=False
DEBUG:root:Processing: ['staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz'], please be patient DEBUG:root:CswSrv4File('staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz', debug=True)
INFO:root:Juicing the svr4 package stream files...
0% | | ^MDEBUG:root:GetMd5sum() reading file 'staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz' DEBUG:root:GetDbObject(): <PackageStats srv4_pkg=CswSrv4File('staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz') md5sum=a439d983f79d027331a940859c4aca76> md5sum: a439d983f79d027331a940859c4aca76
DEBUG:root:GetDbObject(): a439d983f79d027331a940859c4aca76 not found
DEBUG:root:Could not get db object for a439d983f79d027331a940859c4aca76
DEBUG:root:Calling: ['gunzip', '-f', '/tmp/pkg_7bnjlH/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz']
DEBUG:root:GetPkgname(): 'CSWcas-texhash'
DEBUG:root:transforming: ['/opt/csw/lib/python/csw/../../bin/custom-pkgtrans', '/tmp/pkg_7bnjlH/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg', '/tmp/pkg_7bnjlH', 'CSWcas-texhash'] DEBUG:root:Calling: ['/opt/csw/lib/python/csw/../../bin/custom-pkgtrans', '/tmp/pkg_7bnjlH/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg', '/tmp/pkg_7bnjlH', 'CSWcas-texhash']
Traceback (most recent call last):
  File "/opt/csw/bin/pkgdb", line 698, in <module>
    main()
  File "/opt/csw/bin/pkgdb", line 444, in main
    force_unpack=options.force_unpack)
File "/opt/csw/lib/python/csw/package_stats.py", line 506, in CollectStatsFromFiles
    stats.CollectStats(force=force_unpack)
File "/opt/csw/lib/python/csw/package_stats.py", line 175, in CollectStats
    return self._CollectStats(register_files=register_files)
File "/opt/csw/lib/python/csw/package_stats.py", line 187, in _CollectStats
    dir_pkg = self.GetInspectivePkg()
File "/opt/csw/lib/python/csw/package_stats.py", line 120, in GetInspectivePkg
    self.dir_format_pkg = self.srv4_pkg.GetInspectivePkg()
File "/opt/csw/lib/python/csw/inspective_package.py", line 761, in GetInspectivePkg
    return self.GetDirFormatPkg()
File "/opt/csw/lib/python/csw/package.py", line 176, in GetDirFormatPkg
    self.TransformToDir()
File "/opt/csw/lib/python/csw/package.py", line 167, in TransformToDir
    unused_retcode = self.ShellCommand(args, quiet=(not self.debug))
  File "/opt/csw/lib/python/csw/shell.py", line 22, in ShellCommand
    retcode = subprocess.call(args)
  File "/opt/csw/lib/python/subprocess.py", line 470, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/opt/csw/lib/python/subprocess.py", line 623, in __init__
    errread, errwrite)
File "/opt/csw/lib/python/subprocess.py", line 1141, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
DEBUG:root:Removing '/tmp/pkg_7bnjlH'
Processing 1 file(s). Please wait.
Traceback (most recent call last):
  File "/opt/csw/bin/csw-upload-pkg", line 516, in <module>
    uploader.Upload()
  File "/opt/csw/bin/csw-upload-pkg", line 150, in Upload
    self._ImportMetadata(filename)
  File "/opt/csw/bin/csw-upload-pkg", line 134, in _ImportMetadata
    raise OSError("An error occurred when running %s." % args)
OSError: An error occurred when running ['/opt/csw/bin/pkgdb', 'importpkg', '--debug', 'staging/build-19.Feb.2013/cas_texhash-1.49,REV=2013.02.19-SunOS5.10-all-CSW.pkg.gz'].

_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers
.:: This mailing list's archive is public. ::.

Reply via email to