|
Mantis - cswutils
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4794 | regular use | minor | always | 2011-06-24 21:47 | 2011-07-02 19:21 |
|
|
|||||
| Reporter: | igalic | Platform: | |||
| Assigned To: | maciej | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| Summary: | 0004794: 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 |
||||
| Steps To Reproduce: | |||||
| Additional Information: | Find attached a patch to fix the issue. | ||||
| Relationships | |||||
| Attached Files: |
|
||||
|
|
|||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-06-24 21:47 | igalic | New Issue | |||
| 2011-06-24 21:47 | igalic | File Added: gar.assertNotEqualsPkgName.diff | |||
| 2011-06-25 11:56 | maciej | Status | new => assigned | ||
| 2011-06-25 11:56 | maciej | Assigned To | => maciej | ||
| 2011-06-25 11:57 | maciej | Note Added: 0009136 | |||
| 2011-06-25 11:57 | maciej | Status | assigned => resolved | ||
| 2011-06-25 11:57 | maciej | Resolution | open => fixed | ||
| 2011-07-02 19:21 | bwalton | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||