You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while I was running example script, in the end at ./data.sh 5, I got this
...
File "/home/falca/.local/lib/python3.8/site-packages/pandas/io/common.py", line 702, in get_handle
handle = open(
FileNotFoundError: [Errno 2] No such file or directory: 'containers/5/times/times.tmp'
I spent whole day debugging this, still couldn't make it right
How could I fix this problem?
Would anyone please help me
The text was updated successfully, but these errors were encountered:
For anyone come in later, the problem is that data.sh record the time in file called "times" instead of "times.tmp"
data.sh line 15 cat containers/"${shards}"/times/shard-*_"${r}".time > "containers/${shards}/times/times"
but time.py expect the filename to be "time.tmp"
time.py line 11 t = pd.read_csv('containers/{}/times/times.tmp'.format(args.container), names=['time'])
so either remove .tmp in time.py or add .tmp in data.sh
for example
### time.py
# t = pd.read_csv('containers/{}/times/times.tmp'.format(args.container), names=['time']) # previously
t = pd.read_csv('containers/{}/times/times'.format(args.container), names=['time']) # fix
while I was running example script, in the end at ./data.sh 5, I got this
...
File "/home/falca/.local/lib/python3.8/site-packages/pandas/io/common.py", line 702, in get_handle
handle = open(
FileNotFoundError: [Errno 2] No such file or directory: 'containers/5/times/times.tmp'
I spent whole day debugging this, still couldn't make it right
How could I fix this problem?
Would anyone please help me
The text was updated successfully, but these errors were encountered: