Comments (5)
Very sorry about that, I'll jump right on it.
from dasel.
I've tested dasel_windows_386.exe
on my 64bit windows 10 machine and it works as expected.
The only difference I can see is that it will have built using go v1.22 instead of v1.21. From a quick google search it looks as though this is not in-fact a bug with dasel, rather the go team have dropped support for Windows 7 in newer versions of go:
While I would love to facilitate as many users as possible, locking dasel to an old version of the language feels like a bit of a stretch to me.
While it's unfortunate you cannot execute the binary itself, I believe the following are your options:
- Stay on
v2.5.0
. Assuming you don't need any of the new features/bug fixes then any current scripts/workflows you have should continue to work. - Use dasel via docker. You can always use the latest version of dasel without worrying about compatibility with older versions of Windows.
- Build dasel yourself with an older version of go. I expect you'd need at least
v1.21
, but if that doesn't work it sounds likev1.20
will.
Here's a simple example of running the latest version of dasel with Docker:
$ echo '{"foo":"bar"}' | docker run -i --rm ghcr.io/tomwright/dasel:2.6.0 -r json 'foo'
"bar"
If you have any questions or doubts please let me know.
from dasel.
As announced in the Go 1.20 release notes, Go 1.21 requires at least Windows 10 or Windows Server 2016; support for previous versions has been discontinued.
https://tip.golang.org/doc/go1.21
from dasel.
And the thing is that two days ago I downloaded go v1.22 and goreleaser for compile (by very first time) a go program, "micro". Now already got the 1.20.14.
I'll try to compile it, but I must admit that v2.5.0 works like a charm. Definitely, you've created an amazing tool, man.
I haven't got into docks yet, but it's mentioned everywhere, so when I got time I'll give it a try.
Thank you very much!
from dasel.
@hellishvictor if you need help compiling newer dasel versions on older versions of go let me know and I can put something together 👍
from dasel.
Related Issues (20)
- Delete selector can't find keys with null values HOT 2
- Special characters inside string literals are replaced with Unicode escape sequences in JSON HOT 3
- contains/includes HOT 2
- -w xml is not working when -r is not xml HOT 3
- Support multiple files HOT 1
- CSV file format: Support other characters as separator HOT 2
- Output formatting is not right in some arrays HOT 6
- [BUG] Dasel crash when reading an empty file HOT 5
- Suppress header generation HOT 1
- Is it possible to get a raw value, i.e. without quotes? HOT 3
- Preserve order of keys in JSON lists HOT 1
- How to iterate? HOT 2
- Crash on Windows 7 x64 HOT 4
- Dasel query crashes with go panic HOT 8
- Supported toml version? HOT 1
- Null value causes incorrect error "property not found" HOT 1
- Empty string becoming null when modifying YAML HOT 4
- Windows installation instructions do not work HOT 1
- Compile builds with tinygo for reasonable system file sizes HOT 1
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 dasel.