[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: createrepo/rpm-metadata repository format creator ver 0.3.4



On Fri, Jul 23, 2004 at 11:44:58AM -0400, seth vidal wrote:
> > # createrepo RPMS
> > Traceback (most recent call last):
> >   File "/usr/share/createrepo/genpkgmetadata.py", line 489, in ?
> >     main(sys.argv[1:])
> >   File "/usr/share/createrepo/genpkgmetadata.py", line 424, in main
> >     doPkgMetadata(cmds, ts)
> >   File "/usr/share/createrepo/genpkgmetadata.py", line 274, in doPkgMetadata
> >     mdobj = dumpMetadata.RpmMetaData(ts, file, cmds['baseurl'], cmds['sumtype'])
> >   File "/usr/share/createrepo/dumpMetadata.py", line 199, in __init__
> >     self.genFileLists()
> >   File "/usr/share/createrepo/dumpMetadata.py", line 399, in genFileLists
> >     if stat.S_ISDIR(mode):
> >   File "/usr/lib/python2.3/stat.py", line 46, in S_ISDIR
> >     return S_IFMT(mode) == S_IFDIR
> >   File "/usr/lib/python2.3/stat.py", line 30, in S_IFMT
> >     return mode & 0170000
> > TypeError: unsupported operand type(s) for &: 'str' and 'int'
> > 
> 
> Great.
>  I think I found it - some packages are giving back odd answers.

basesystem has no files - are these rpm-python inconsistencies.  If so let me know.

Paul



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]