lzyxx77 opened a new issue, #509:
URL: https://github.com/apache/incubator-hugegraph-toolchain/issues/509

   ### Bug Type (问题类型)
   
   exception / error (异常报错)
   
   ### Before submit
   
   - [X] I had searched in the 
[issues](https://github.com/apache/hugegraph-toolchain/issues) and found no 
similar issues.
   
   ### Environment (环境信息)
   
   - Server Version: v1.0.0
   - Toolchain Version: v1.0.0
   - Data Size: 8 vertices, 6 edges
   - Operating System: Ubuntu 22.04
   - Shell Interpreter: sh (also tried bash)
   
   
   ### Expected & Actual behavior (期望与实际表现)
   
   Issue Description: I'm encountering an unexpected behavior when attempting 
to run the hugegraph-loader.sh script from the HugeGraph official tutorial. The 
issue seems to be specific to different shell environments.
   Command Example:
   `$ sh bin/hugegraph-loader.sh -g hugegraph -f example/file/struct.json -s 
example/file/schema.groovy`
   When executing the above command using the sh shell, I encounter the 
following exceptions:
   ```
   hugegraph-loader.sh: 19: Bad substitution
   hugegraph-loader.sh: 37: set: Illegal option -o pipefail
   
   ```
   Attempted Solutions:
   
   The command runs successfully using the bash shell.
   
   ### Vertex/Edge example (问题点 / 边数据举例)
   
   _No response_
   
   ### Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to