[csw-maintainers] error from csw-upload-pkg
Daniel Pocock
daniel at opencsw.org
Fri Nov 25 05:40:48 CET 2011
I'm trying to upload from /home/daniel/pkgs/ganglia*.gz
This is my PATH
/usr/bin:/usr/sbin:/sbin:/usr/ccs/bin:/usr/dt/bin:/usr/openwin/bin:/opt/bop/bin:/usr/sfw/bin:/usr/sfw/sbin:/opt/csw/bin
(I've added /opt/csw/bin at the end to overcome the previous error I had)
Can anyone comment on the errors below?
daniel at login [login]:~/pkgs >
/home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg gang*
Processing 12 file(s). Please wait.
Uploading 'ganglia_agent-3.1.7,REV=2011.11.25-SunOS5.10-i386-CSW.pkg.gz'
WARNING:root:http://buildfarm.opencsw.org/pkgdb/rest/srv4/720d12418be4d29b9cc702b71cb82903/
-- HTTP Error 404: Not Found
WARNING:root:ganglia_agent-3.1.7,REV=2011.11.25-SunOS5.10-sparc-CSW.pkg.gz
(720d12418be4d29b9cc702b71cb82903) is not known to the database.
INFO:root:Juicing the srv4 package stream files...
Traceback (most recent call
last): |
File "/home/daniel/opencsw/.buildsys/v2/bin/pkgdb", line 684, in <module>
main()
File "/home/daniel/opencsw/.buildsys/v2/bin/pkgdb", line 442, in main
force_unpack=options.force_unpack)
File "/home/daniel/opencsw/.buildsys/v2/lib/python/package_stats.py",
line 494, in CollectStatsFromFiles
stats.CollectStats(force=force_unpack)
File "/home/daniel/opencsw/.buildsys/v2/lib/python/package_stats.py",
line 170, in CollectStats
return self._CollectStats(register_files=register_files)
File "/home/daniel/opencsw/.buildsys/v2/lib/python/package_stats.py",
line 207, in _CollectStats
self.SaveStats(pkg_stats)
File "/home/daniel/opencsw/.buildsys/v2/lib/python/package_stats.py",
line 280, in SaveStats
db_pkg_stats.DeleteAllDependentObjects()
File "/home/daniel/opencsw/.buildsys/v2/lib/python/models.py", line
161, in DeleteAllDependentObjects
self.RemoveAllCswFiles()
File "/home/daniel/opencsw/.buildsys/v2/lib/python/models.py", line
172, in RemoveAllCswFiles
CswFile.q.srv4_file==self)))
File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py",
line 349, in query
return self._runWithConnection(self._query, s)
File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py",
line 262, in _runWithConnection
val = meth(conn, *args)
File "/opt/csw/lib/python/site-packages/sqlobject/dbconnection.py",
line 346, in _query
self._executeRetry(conn, conn.cursor(), s)
File
"/opt/csw/lib/python/site-packages/sqlobject/mysql/mysqlconnection.py",
line 122, in _executeRetry
raise OperationalError(ErrorMessage(e))
sqlobject.dberrors.OperationalError: DELETE command denied to user
'pkg_maintainer'@'192.168.1.2' for table 'csw_file'
Traceback (most recent call last):
File "/home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg", line 608,
in <module>
uploader.Upload()
File "/home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg", line 134,
in Upload
self._ImportMetadata(filename)
File "/home/daniel/opencsw/.buildsys/v2/bin/csw-upload-pkg", line 118,
in _ImportMetadata
raise OSError("An error occurred when running %s." % args)
OSError: An error occurred when running
['/home/daniel/opencsw/.buildsys/v2/bin/pkgdb', 'importpkg',
'ganglia_agent-3.1.7,REV=2011.11.25-SunOS5.10-sparc-CSW.pkg.gz'].
More information about the maintainers
mailing list