pixiedust_node icon indicating copy to clipboard operation
pixiedust_node copied to clipboard

Print statements are sometimes delayed until running the cell a second time

Open markwatsonatx opened this issue 7 years ago • 4 comments

I created the following cell:

%%node
print(new Date());

Sometimes this works without issue. Sometimes the value is not printed. Running the cell a second time results in two printouts:

%%node
print(new Date());

"2017-08-29T21:09:40.994Z"
"2017-08-29T21:09:46.047Z"
screen shot 2017-08-29 at 4 11 37 pm

markwatsonatx avatar Aug 29 '17 21:08 markwatsonatx

Not just limited to using the print command in the cell. I reproduced with the help command as well:

screen shot 2017-08-29 at 4 14 29 pm

markwatsonatx avatar Aug 29 '17 21:08 markwatsonatx

Hi @markwatsonatx. I'm struggling to reproduce this on my notebook. What version of Node / pixiedust are you using?

glynnbird avatar Aug 31 '17 10:08 glynnbird

PixieDust 1.0.10 Node 8.4.0

I wish I had good reproducible steps. It is very intermittent.

markwatsonatx avatar Aug 31 '17 13:08 markwatsonatx

I met the same problem

zhihanyue avatar Feb 09 '20 13:02 zhihanyue