[bug-notifications] [cswutils 0004794]: pkgdb init chokes on package names with numbers
Mantis Bug Tracker
noreply at opencsw.org
Sat Jun 25 11:57:20 CEST 2011
The following issue has been RESOLVED.
======================================================================
https://www.opencsw.org/mantis/view.php?id=4794
======================================================================
Reported By: igalic
Assigned To: maciej
======================================================================
Project: cswutils
Issue ID: 4794
Category: regular use
Reproducibility: always
Severity: minor
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2011-06-24 21:47 CEST
Last Modified: 2011-06-25 11:57 CEST
======================================================================
Summary: pkgdb init chokes on package names with numbers
Description:
Traceback (most recent call last):
File "gar/bin/pkgdb", line 685, in <module>
main()
File "gar/bin/pkgdb", line 413, in main
dm.AutoManage()
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/database.py", line
65, in AutoManage
self._CheckAndMaybeFixFreshness(auto_fix=auto_manage)
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/database.py", line
105, in _CheckAndMaybeFixFreshness
ldm.RefreshDatabase()
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/database.py", line
322, in RefreshDatabase
include_prefixes=frozenset(["CSW"]))
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/system_pkgmap.py",
line 351, in ImportData
self._ImportFiles(data, include_prefixes,
show_progress=show_progress)
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/system_pkgmap.py",
line 480, in _ImportFiles
sqo_srv4, osrel, arch, sqo_catrel.name)
File "/buildr/mgar/pkg/zbx-agent/trunk/gar/lib/python/checkpkg_lib.py",
line 1011, in AddSrv4ToCatalog
% sqo_srv4.catalogname)
checkpkg_lib.CatalogDatabaseError: There already is a package with that
catalogname: sunw_i_rf
======================================================================
----------------------------------------------------------------------
(0009136) maciej (developer) - 2011-06-25 11:57
https://www.opencsw.org/mantis/view.php?id=4794#c9136
----------------------------------------------------------------------
The patch has been submitted to the repository:
http://sourceforge.net/apps/trac/gar/changeset/14885
Thanks, Igor!
More information about the bug-notifications
mailing list