You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For JSONLD data in specified directory to be successfully added to the graph without errors.
Current Behavior
curl error resulting in data not being added (confirmed by checking triple count in database).
Error message
(base) alyssayd@ducky:~/alyssa/projects/api$ ./add_data_to_graph.sh /data/origami/neurobagel_graph_data/ppmi 2
06.12.89.194:7200 repositories/mni_ppmi $NB_GRAPH_USERNAME$NB_GRAPH_PASSWORD --use-graphdb-syntax
UPLOADING DATA FROM /data/origami/neurobagel_graph_data/ppmi TO repositories/mni_ppmi...
ppmi.jsonld:
curl: option --no-progress-meter: is unknown
curl: try 'curl --help' or 'curl --manual'for more information
./add_data_to_graph.sh: line 185: ((:<200||>=300: syntax error: operand expected (error token is "<200 || >= 300 ")FINISHED UPLOADING DATA FROM /data/origami/neurobagel_graph_data/ppmi TO repositories/mni_ppmi.
Environment
curl version: 7.58.0 (x86_64-pc-linux-gnu)
How to reproduce
No response
Anything else?
According to the curl docs, --no-progress-meter was added in 7.67.0, while shared data servers like the BIC may have older versions of the tool.
An alternative to suppress the progress meter while still showing the response headers may be replace --show-progress-meter with a combination of the following arguments:
-s / --silent
-S / --show-error
How do we fix it
document dependency on curl version in public docs
sanity check in the upload.sh script for curl --version
here is a helpful little snippet, courtesy of gtp:
Is there an existing issue for this?
Expected Behavior
For JSONLD data in specified directory to be successfully added to the graph without errors.
Current Behavior
curl
error resulting in data not being added (confirmed by checking triple count in database).Error message
Environment
How to reproduce
No response
Anything else?
According to the
curl
docs,--no-progress-meter
was added in 7.67.0, while shared data servers like the BIC may have older versions of the tool.An alternative to suppress the progress meter while still showing the response headers may be replace
--show-progress-meter
with a combination of the following arguments:How do we fix it
curl --version
here is a helpful little snippet, courtesy of gtp:
The text was updated successfully, but these errors were encountered: