Comments (5)
Thanks! It seems that OS X get treated in the same way as Windows, then? Unfortunately, I can't check myself.
from kaitai_struct_visualizer.
I had the same bug on macOS and @fridtjof's fix worked for me.
from kaitai_struct_visualizer.
Same issue for me on macOS 10.12. @fridtjof's fix worked for me
from kaitai_struct_visualizer.
Turns out the homebrew formula installed its own launcher instead of ksc's launch wrapper. I submitted a PR to fix this, which should be merged soon:
Homebrew/homebrew-core#25967
from kaitai_struct_visualizer.
So here's a confusing thing:
The 0.8
homebrew formula always worked just fine with ksv
for me, even though it wasn't using the official katai-struct-compiler
launch script. But when I upgraded to the 0.8_1
formula today (containing the official launch script), ksv
and ksdump
both broke, with an obviously swallowed -d
option. Apparently I'm backwards from the rest of the universe somehow. Go figure.
Rolling back to 0.8
was no problem, but no amount of brew switch
-ing, brew upgrade
-ing, or gem update
-ing would get everything working correctly with 0.8_1
. So in the spirit of DEAR PEOPLE FROM THE FUTURE, here's the "nuke it from orbit" approach that finally sorted it out for me:
brew update
brew uninstall --force kaitai-struct-compiler
rm /usr/local/bin/ksc
gem uninstall kaitai-struct-visualizer
gem uninstall kaitai-struct
brew install kaitai-struct-compiler
gem install kaitai-struct-visualizer
Say yes to removing ksv
and ksdump
when asked.
/usr/local/bin/ksc
was a symlink to /usr/local/Cellar/kaitai-struct-compiler/0.8/bin/kaitai-struct-compiler
that decided to hang around even after switching to 0.8_1
and uninstalling 0.8
. Perhaps I made that symlink manually, but I don't know why I would. Deleting it didn't fix anything, but it certainly shouldn't exist, in any case.
from kaitai_struct_visualizer.
Related Issues (20)
- Feature request: Hex editing HOT 1
- Feature Request: __str__ and __repr__ for python generated classes HOT 1
- treat single-byte fields as byte/integer rather than an array: HOT 1
- Jump to end of array
- array size too big (ArgumentError)
- Support for creating a new console/shell to render text in?
- Not worked with grammars with parameters
- Instances do not highlight types as groups of values HOT 2
- Suggestion: Configure GitHub RuboCop Action
- Screenshots HOT 1
- Win32API is not in the ruby standard library since version 1.9.2 HOT 5
- Import issue with KSV HOT 3
- Find out what Ruby versions ksv is compatible with on Windows HOT 2
- Support forward slashes (not just backslashes) in .ksy paths on Windows
- Make ksdump output only JSON on success HOT 6
- Why is Rake declared as a development dependency? HOT 2
- Remove legacy (pre-imports) feature of accepting multiple .ksy files
- instance field array crashes HOT 2
- Invalid byte sequence crashes ksdump 0.7 HOT 3
- Windows: command injection via the input `.ksy` file name
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 kaitai_struct_visualizer.