Adding blob from CLI not working
%lnL0RS6WMUndwM7UcRKPccwcIAoIQ3rgDqQ96Mx2i6c=.sha256
Adding blob from CLI not working
from stdin:
$ sbot blobs.add < ~/2016-11-30-122829_784x510_scrot.png
&m3lcOrgl12ZoYZWSzbS5NnQJTT/7bLbPkC5Y6gdfvg8=.sha256
$ sbot blobs.has "&m3lcOrgl12ZoYZWSzbS5NnQJTT/7bLbPkC5Y6gdfvg8=.sha256"
false
from file:
$ sbot blobs.add ~/2016-11-30-122829_784x510_scrot.png
&m3lcOrgl12ZoYZWSzbS5NnQJTT/7bLbPkC5Y6gdfvg8=.sha256
$ sbot blobs.has "&m3lcOrgl12ZoYZWSzbS5NnQJTT/7bLbPkC5Y6gdfvg8=.sha256"
false
I then tried attaching the file in patchbay, and that got the blob added.
Maybe @bret was encountering this issue too?
00:48 <cel> try running sbot blobs.push "&K9GflMaQcuPDhIOH6QGXzxjKQjbTiA6mKEDWYqVmSyo=.sha256" on the pub
00:48 <cel> or maybe, make sure you have it there: sbot blobs.has "&K9GflMaQcuPDhIOH6QGXzxjKQjbTiA6mKEDWYqVmSyo=.sha256"
00:49 <bret> both return false
00:49 <bret> do i need a blobs plugin on the pub maybe?
00:50 <cel> if the has command returns false, that means the blob is not present. how did you get the blob id?
00:50 <cel> scuttlebot will run the blobs plugin by default
00:50 <bret> ~/.npm-global/bin/sbot blobs.add ~/pi.bret.io.jpg
00:51 <bret> oh there we go
00:51 <cel> got it :)
The thing that I did to "fix" the issue was to ensure that sbot was in my $PATH
and the blob adding seemed to work. When I was running it when it was not in my path, and instead just using full bin path, it seemed like it worked (I got a sha out of it), but didn't exist in the blob store for some reason.
Ill try to reconfirm this theory going forward, but we might be dealing with a spurious faiures.
Built with git-ssb-web