Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

times.tmp missing #5

Open
fa1c4 opened this issue Dec 6, 2021 · 2 comments
Open

times.tmp missing #5

fa1c4 opened this issue Dec 6, 2021 · 2 comments

Comments

@fa1c4
Copy link

fa1c4 commented Dec 6, 2021

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

@Hermine-D
Copy link

i run into this issue too. Did you solve the problem?

@ronnakorn9
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants