Comments (2)
This unclear "cannot read properties of null" error will get emitted if you import any nonexistent file (e.g.
kaitaiIde.app.compilerService.jsImporter.importYaml('garbage/path', 'rel')
) and should be replaced with a more clear indication.
Fixed in #161 and available for testing at https://ide.kaitai.io/devel/. The difference in Web IDE versions is explained at https://doc.kaitai.io/user_guide.html#web-ide.
This is loosely documented in #30, but I wanted to re-draw attention to it with a more aptly named issue since it's still an open limitation (from 7 years ago).
Yeah, as already discussed in #30, the "Create folder" button unfortunately only looks like it creates a folder. In reality, the files you seemingly put into it effectively still go to the root level (with everything that comes with it).
In theory, this shouldn't be that hard to fix properly (i.e. finally implement folders) but apparently nobody has gotten around to it yet. In the meantime, I believe we should indeed at least disable the "Create folder" button as suggested in #30 (comment) so that it doesn't confuse newcomers (but that doesn't solve the problem for existing Web IDE users who already have some "directory structure" persisted in their local browser storage and haven't noticed this problem yet).
from kaitai_struct_webide.
thanks for highlighting the hosted devel version - I had forgotten that was running + was trying to avoid spinning up the repo to run locally. i'm OK to close this issue as a dupe unless you think it's otherwise valuable to renew tracking of a fix / disabling the button as per #30.
from kaitai_struct_webide.
Related Issues (20)
- [feature suggestion] Autorun HOT 2
- "Parse error (RangeError): invalid or out-of-range index" after changing KSY in editor HOT 1
- `-webide-representation` key not working for imported types HOT 1
- Parse error (TypeError): ksyType.instancesByJsName is undefined
- Strings in UTF-16 encodings does not decoded correctly HOT 3
- Long (?) binary data exported in JSON as `{ "$start": x, "$end": y }` instead of an array
- Add ability to inject custom JS code for processors HOT 2
- Feature request: update object-tree selection on keyboard navigation
- "unable to find enum member" when using binary notation HOT 2
- Ability to create link to IDE with custom urls for format specification and binary file HOT 2
- `to-string` is broken: `Parse error (TypeError): ksyType.instancesByJsName is undefined`
- Feature request: although parsing has failed, show all the parsed tree till the fail HOT 2
- electron (or equivalent) build for local desktop use? HOT 1
- Empty object tree and error on opening ide with zip example HOT 3
- `-webide-representation` doesn't work for arrays of primitive values HOT 3
- Replace the yaml.js library with another YAML parser HOT 3
- Upgrade TypeScript 2 to something newer
- Migrate to js-yaml also in v2, remove yaml.js from dependencies
- python output support 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 kaitai_struct_webide.