[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



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'

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 2 (Tettnang) - Linux kernel 2.6.6-1.435.2.3
Load : 0.15 0.17 0.15



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