> 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' > hmm - I can't get this to occur on fc2/python 2.3. Can you try that package on another system and tell me what you get? -sv