trueblocks-core icon indicating copy to clipboard operation
trueblocks-core copied to clipboard

`chifra scrape` doesn't work?

Open snf opened this issue 2 years ago • 0 comments

Updated my code pulling from develop and noticed that chifra scrape run doesn't work anymore?

I did some digging and it seems that this is because the scrapeBlock command is no longer compiled and added to $HOME/.local/bin/chifra/.

What's the best way to run the scraper now or keeping the index up to date?

Extra info: the output form chifra scrape run is this message repeated: TB: Error while reading stderr -- read |0: file already closed

From strace I saw that chifra is trying to execve scrapeBlock:

[pid 49881] execve("/home/user/.local/bin/chifra/blockScrape", ["/home/user/.local/bin/chifra/blo"..., " run --fmt txt"], 0xc000391560 /* 32 vars */) = -1 ENOENT (No such file or directory)
[pid 49881] write(12, "\2\0\0\0\0\0\0\0", 8) = 8
[pid 49881] exit(253)                   = ?
[pid 49881] +++ exited with 253 +++

snf avatar Sep 29 '22 19:09 snf