OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004794 [cswutils] regular use minor always 2011-06-24 21:47 2011-07-02 19:21
Reporter igalic View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
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
Additional Information Find attached a patch to fix the issue.
Tags No tags attached.
Attached Files ? file icon gar.assertNotEqualsPkgName.diff [^] (1,155 bytes) 2011-06-24 21:47

- Relationships

-  Notes
(0009136)
maciej (reporter)
2011-06-25 11:57

The patch has been submitted to the repository:

http://sourceforge.net/apps/trac/gar/changeset/14885 [^]

Thanks, Igor!


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker