我在 Windows 8.1 上使用 Mgt 开发环境 (mgtcommerce/mgt-development-environment-5.6)。& 适用于 Windows 的 DockerToolbox。
我还从https://www.mgt-commerce.com/documentation/mgt-development-windows-file-synchronization下载了建议的 OpenSSH 和 Unison 版本,并按照描述创建了 sync.bat。
不幸的是,Unison 出现以下错误消息:
Uncaught exception Failure("input_value: bad bigarray kind")
Raised by primitive operation at file "./remote.ml", line 453, characters 18-45
Called from file "./remote.ml", line 459, characters 23-61
Called from file "./lwt/lwt.ml", line 75, characters 20-23
Re-raised at file "./lwt/lwt.ml", line 135, characters 12-13
Called from file "list.ml", line 73, characters 12-15
Called from file "./lwt/lwt.ml", line 31, characters 2-37
Called from file "./lwt/lwt.ml", line 83, characters 17-46
Called from file "./lwt/win/lwt_unix_impl.ml", line 239, characters 6-40
Called from file "./uitext.ml", line 490, characters 2-113
Called from file "./uitext.ml", line 556, characters 38-66
Called from file "./uitext.ml", line 718, characters 6-47
Called from file "./uitext.ml", line 756, characters 6-125
Called from file "./uitext.ml", line 804, characters 8-47
Called from file "./uitext.ml", line 870, characters 21-43
它确实可以正常工作:
- 第一次统一用于 docker 图像
- 当使用与标志一致时 -ignorearchives
我阅读了几篇文章,其中大多数得出的结论是这是一个 OCaml 不兼容问题。
如何解决这个问题?其他人是否也遇到过该错误?