ocaml-community / lambda-term

Terminal manipulation library for OCaml
Other
209 stars 43 forks source link

failed to lock file #79

Open Et7f3 opened 5 years ago

Et7f3 commented 5 years ago

OS Microsoft Windows 10 Familly Version 10.0.17134 Number 17134 Node.js 10.15.3 (x64) and npm esy 0.5.8 Welcome to utop version 2.4.0 (using OCaml version 4.08.0)!

step to reporduce:

just after the the header is displayed I get this message:

utop.exe: lambda-term(history): failed to lock file 'C:\Users\root\AppData\Roaming\npm\node_modules\esy\node_modules\esy-bash\.cygwin\usr\esy\.utop-history': Une opération de verrouillage de fichier demandée ne peut pas être traitée en raison d’une plage d’octets non valide.
utop.exe: lambda-term(history):

I haven't opened a issue in utop because I see lambda-term. Feel free to ask more information or ask me to test some other command.

pmetzger commented 5 years ago

Can you find a simpler way to reproduce this? I don't think any of the maintainers are in a position to try that out. (I personally have no windows machine and never touch esy.)

DrYSG commented 4 years ago

I am also getting the same error. all I do is #use CommandLiner and then #use similar config

tonykipkemboi commented 3 years ago

Was this ever resolved? I am still getting the same error message:

utop.exe: lambda-term(history): failed to lock file 'C:\OCaml64\home\tonyk\.utop-history': A requested file lock operation cannot be processed due to an invalid byte range.
utop.exe: lambda-term(history):
pmetzger commented 3 years ago

It was never resolved, I think because none of the maintainers are using node.js, esy, or Windows. It will be necessary for someone who is using those tools together to try to track down what has gone wrong and to supply a patch.