Comments (3)
@allaVolkov is this still present on v0.7.3
? I don't have a Windows system I can test on.
from flock.
I'm seeing this error using Windows via GitHub Actions:
profile_test.go:790: want no error, have error saving config file: error writing to config file: write C:\Users\RUNNER~1\AppData\Local\Temp\fastly-temp-2402719425\config.toml: The process cannot access the file because another process has locked a portion of the file.
[139](https://github.com/fastly/cli/runs/7153347993?check_suite_focus=true#step:11:140)
I'm using version 0.8.1
from flock.
I tried to reproduce the problem (I use the code in the issue description) on GitHub Action (Windows), but I could not get the error with v0.7.2, v0.7.3, v0.8.0, v0.8.1, and v0.9.0, etc.
I tried:
Version | Status |
---|---|
v0.7.0 | 🔴 |
v0.7.1 | 🔴 |
v0.7.2 | 🟢 |
v0.7.3 | 🟢 |
v0.8.0 | 🟢 |
v0.8.1 | 🟢 |
v0.9.0 | 🟢 |
So I don't know what to do: the Windows FS is a parallel world where even Go needs a dedicated internal package to "eliminate spurious errors".
https://github.com/golang/go/blob/master/src/cmd/go/internal/robustio/robustio.go
I need something to reproduce the problem with the current version.
from flock.
Related Issues (19)
- Shared Locking? HOT 4
- Stop file from being deleted (win, mac, linux) HOT 3
- Stutter in flock.NewLock HOT 3
- Close/Unlock won't close the file descriptor if not locked
- incorrect interface HOT 4
- Add codecov to gofrs/flock
- API is too restrictive for use on Windows. HOT 4
- 3rd clause of BSD refers to "linode-netint" HOT 4
- docs: does not implement sync.Locker
- AIX TryLock() issue HOT 1
- Cannot build on Illumos HOT 4
- Problem with file operation on windows HOT 1
- Reconsider exposing the underlying file handle HOT 1
- [Attention] seens not working in unix HOT 1
- Unexpected behaviour: file created when acquiring lock HOT 2
- Cannot build on */wasm, plan9/* HOT 2
- How to writeFile??? HOT 1
- Exposing lock age HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flock.