Once everything seems fine with postgresql and pgrest install,
when running make pgrest and make import,
I get this warning on the pgrest server-side:
$ make pgrest
dropdb twblg
createdb twblg
pgrest --db twblg
info: Available collections:
info: Serving twblg on http://127.0.0.1:3000/collections
Warning: connect-csv header: 'function (name){
switch (name = name.toLowerCase()) {
case 'referer':
case 'referrer':
return this.headers.referrer
|| this.headers.referer;
default:
return this.headers[name];
}
}' not in strict,guess,present,absent, defaulting to strict
and this error on this import :
$ make import
curl -i -H "Content-Type: text/csv" -X POST --data-binary @x-造字.csv http://127.0.0.1:3000/collections/pua -o /dev/null
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 851 0 0 100 851 0 7 0:02:01 0:02:00 0:00:01 0
curl: (52) Empty reply from server
make: *\ [import] Erreur 52
Once everything seems fine with postgresql and pgrest install, when running
make pgrest
andmake import
,I get this warning on the pgrest server-side:
$ make pgrest dropdb twblg createdb twblg pgrest --db twblg info: Available collections:
info: Serving
twblg
on http://127.0.0.1:3000/collections Warning: connect-csv header: 'function (name){ switch (name = name.toLowerCase()) { case 'referer': case 'referrer': return this.headers.referrer || this.headers.referer; default: return this.headers[name]; } }' not in strict,guess,present,absent, defaulting to strictand this error on this import :
$ make import curl -i -H "Content-Type: text/csv" -X POST --data-binary @x-造字.csv http://127.0.0.1:3000/collections/pua -o /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 851 0 0 100 851 0 7 0:02:01 0:02:00 0:00:01 0 curl: (52) Empty reply from server make: *\ [import] Erreur 52