Issue with non-existing package

Riccardo Mottola rmottola at
Thu Dec 6 11:35:32 CET 2018

Hi Dagobert,

On 12/3/18 1:34 PM, Dagobert Michelsen wrote:
> You need to set PYTHONPATH. I just ran it:
> dam at login [login]:/home/dam/mgar/gar/v2 > export PYTHONPATH=`pwd`
> dam at login [login]:/home/dam/mgar/gar/v2 > cd lib/python
> dam at login [login]:/home/dam/mgar/gar/v2/lib/python > ./ --os-releases=SunOS5.10 -c CSWPerformance1
> WARNING 2018-12-03 13:32:51,965 could not fetch 'CSWPerformance1' from sparc/SunOS5.10: HTTP Error 404: Not Found
> INFO 2018-12-03 13:32:52,089 MakeRevIndex('unstable', 'sparc', 'SunOS5.10', False)
> WARNING 2018-12-03 13:33:21,073 could not fetch 'CSWPerformance1' from i386/SunOS5.10: HTTP Error 404: Not Found
> INFO 2018-12-03 13:33:21,244 MakeRevIndex('unstable', 'i386', 'SunOS5.10', False)
> # [performance] unstable sparc SunOS5.10 063411d820abce0b73e9968fc447d41e
> # [performance] unstable i386 SunOS5.10 aabd4967527cb8a11988a96b6d8f8b4a
> dam at login [login]:/home/dam/mgar/gar/v2/lib/python >

perhaps there is also a permission issue?  I think I need to repeat this 
for 5.9, since I still get:


I retried, I set up PYTHONPATH as you did:

rmottola at login [login]:~/mgar/gar/v2/lib/python > echo $PYTHONPATH

rmottola at login [login]:~/mgar/gar/v2/lib/python > 
./ --os-releases=SunOS5.9 -c CSWPerformance1
Traceback (most recent call last):
   File "./", line 225, in <module>
   File "./", line 221, in main
     pr.RemovePackage(options.catalogname, not options.dry_run, os_releases)
   File "./", line 132, in RemovePackage
     rd = RevDeps(self.rest_client)
   File "./", line 75, in __init__
     self.cp = rest.CachedPkgstats(fn_pkgstatsdb, rest_client)
   File "/home/rmottola/mgar/gar/v2/lib/python/", line 530, in 
     self.d ="%s.db" % self.filename, "c")
   File "/opt/csw/lib/python2.6/", line 83, in open
     return, flag, mode)
   File "/opt/csw/lib/python2.6/", line 19, in open
     return bsddb.hashopen(file, flag, mode)
   File "/opt/csw/lib/python2.6/bsddb/", line 361, in hashopen, db.DB_HASH, flags, mode)
bsddb.db.DBNoSuchFileError: (2, 'No such file or directory')
Exception AttributeError: "'CachedPkgstats' object has no attribute 'd'" 
in <bound method CachedPkgstats.__del__ of 
< object at 0x3d56d0>> ignored

More information about the maintainers mailing list