[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, 2004-07-23 at 16:17 +0200, Matthias Saou wrote:
> Matias Feliciano wrote :
> 
> > I try createrepo with rawhide :
> > 
> > 566/1622 - glib2-devel-2.4.4-1.i386.rpm
> > 567/1622 - gnome-python2-canvas-2.0.2-1.i386.rpm
> > Traceback (most recent call last):
> [...]
> 
> Similar problem here on a Red Hat Linux 7.3 server (python2 2.2.2) :
> 
> $ createrepo core
> 1251/2629 - RPMS/xorg-x11-twm-6.7.0-6.x86_64.rpmTraceback (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.2/stat.py", line 46, in S_ISDIR
>     return S_IFMT(mode) == S_IFDIR
>   File "/usr/lib/python2.2/stat.py", line 30, in S_IFMT
>     return mode & 0170000
> TypeError: unsupported operand type(s) for &: 'NoneType' and 'int'
> 

looks like something coming out of the filelist tuple is not what I
expected. I'm looking into it now. I just need some of those packages
that trip it up.

Thanks!
-sv




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