Hi there!
I´m trying to figure out what´s wrong with this notebook.
It fetches a remote file with data and show it in different ways, nothin really fancy, maybe a big file, but not huge.
The strange thing is that it stopped working (without any modification) and there is no error in the notebook itself, just a generic “Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.” in the console.
The fetch part works, I´m not sure what´s wrong.
the strangest part is that the fork from this notebook actually works!
Rolling back to previous versions doesn´t work either.
any clues?
Yourfiltro
input returns an unresolved promise, and thus the cell never resolves.
You should be able to replace it with the following:
viewof filtro = Inputs.text({
label: "Buscar",
submit: "Buscar",
placeholder: "Escribí algo...",
})
geez thanks! it worked, and actually was really a simpler solution for the filter
I wonder how you realized that was the problematic cell… it wasn´t givin any error or clue, and… it was working before 
I wonder how you realized that was the problematic cell
When a cell has no output it’s often because a parent (“upstream”) cell hasn’t resolved yet. In general you’ll want to make sure that all upstream cells display a value. Viewof cells (especially custom widgets) are likely candidates, because a viewof input with an undefined
initial value won’t resolve until the next input event.
There are various ways to check those cells:
- navigate to upstream cells via the minimap
- place the text cursor on one of the highlighted external cell references (in bold) and press Cmd-J to jump to it (and Shift-Cmd-J to jump back)
- copy the cell’s code to a new cell and remove everything but external references, then remove those references one by one until the cell resolves.
and… it was working before
This is the edit that broke your notebook (the fork was created before that): Comparing Milei Tuiter Trends to Milei Tuiter Trends | Observable
1 Like