IOError:[Errno 60]操作超时plistlib.readPlist

时间:2017-11-16 06:57:25

标签: python plist plistlib

有时我在尝试读取网络共享上的plist文件时会收到IOError。该文件存在且永远不会出现在相关位置。

tests_info = plistlib.readPlist(network_repo_path + PLIST_PATH)
  File "/System/Library/Frameworks/Python.framework/.../python2.7/plistlib.py", 
line 75, in readPlist 
pathOrFile = open(pathOrFile)
IOError: [Errno 60] Operation timed out: '/...<nfs share>/Tests.plist'

0 个答案:

没有答案