RedHatEMEA / satools

18 stars 7 forks source link

odd exception in sync-clearspace #42

Closed jim-minter closed 10 years ago

jim-minter commented 11 years ago

when running sync-clearspace -a, this happens on DOC-98749:

Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 551, in bootstrap_inner self.run() File "/usr/lib64/python2.7/threading.py", line 504, in run self.__target(_self.args, _self.__kwargs) File "/usr/bin/sync-clearspace", line 93, in worker items[0](items[1:]) File "/usr/bin/sync-clearspace", line 79, in download path, force = True, tries = tries) File "/usr/lib/python2.7/site-packages/satools/common.py", line 305, in retrieve sendfile_disk(srcf, path) File "/usr/lib/python2.7/site-packages/satools/common.py", line 254, in sendfile_disk rename(temppath, path) File "/usr/lib/python2.7/site-packages/satools/common.py", line 207, in rename os.rename(srcpath, dstpath) OSError: [Errno 2] No such file or directory

jim-minter commented 10 years ago

don't think this is seen any more - iirc it was either a utf-8 or a path length problem