It was a nice journey, Excellent Tutorial till 12t...
# questions
p
It was a nice journey, Excellent Tutorial till 12th part of the playlist. I was facing error: WARNING No nodes ran. Repeat the previous command to attempt a new run. runner.py:210 Traceback (most recent call last): File "/home/mak/anaconda3/envs/kedro-environment/lib/python3.10/site-packages/kedro/io/core.py", line 221, in save self._save(data) File "/home/mak/anaconda3/envs/kedro-environment/lib/python3.10/site-packages/kedro_datasets/pandas/parquet_dataset.py", line 200, in _save fs_file.write(bytes_buffer.getvalue()) ValueError: I/O operation on closed file.
1
n
Hi! From the error message itself it suggests that the file handler is already closed before you are trying to write some data to it. This shouldn't happened. Could you provide some more information at which step did you get this error? Or could you make a repo that we can reproduce the error?
p
Hi Nok

https://kedro-org.slack.com/files/U079RDJ0ATT/F07A1HX4NP2/image.png

Exactly the scenerio is: The error got triggered when I tried to save the pre-processed output to an intermediate parquet file
The catalog.yml and pipeline.py are shared here
Actually the .pq file getting created at the location: data/02_intermediate/preprocessed_companies.pq

https://kedro-org.slack.com/files/U079RDJ0ATT/F0799T3FP9B/image.png

n
Can you possibly push this to a public repo so that I can try to reproduced?
👍 1
I'd also try `pip install -U kedro, kedro-datasets
p
The code-based been checked-in to the below public repo: https://github.com/mak-aravind/kedro-spacefight.git
j
Excellent Tutorial till 11th part of the playlist.
you mean the long video series on YouTube right? can you comment on which one specifically you got stuck?
p
Hi I am stuck with 13th part exactly at the part of saving my preprocessed data to a parquat file
j
ah this one right?

https://youtu.be/3YeE_gvDCvw

p

https://youtu.be/sll_LhZE-p8?si=ZNKEgGJexZHNcMH8&t=178

its exactly when we configure the parquet file storage and run the kedro pipline. With Timestamp its pasted here
n
Issue is resolved in private discussion. Recreate the conda env and everything run thru, not sure if it's a corrupt environment or conflict with other libraries.
👍🏼 1
p
Thanks @Nok Lam Chan and @Juan Luis for supporting, to traverse through the remaining videos, quite excited with the feature of kedro. I thought of removing the comment on the youtube page for that particular video but some other people have hidden it. Apologies if posting the issue there on youtube page bothered anyone. Found the slack room for support, that's wonderfull. Thanks once again
🔥 1
j
hey @perforate chain, I see those as hidden too, weird! but in no way you bothered us, these were good questions. glad you got it sorted out! 🙏🏼
p
Just for reference, pasting the dependencies I grabbed from tutorial in Requirements.txt: https://kedro-org.slack.com/archives/D07A44JGQG0/p1719320938009419
👍🏼 1