-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imports not working, no error displayed in IDE #30
Comments
Thanks for reporting! I'll try to fix in the next days. (Connected issue: #24) |
Great, thanks! 😄 |
Hopefully fixed with 2b47c9a. (only on stable, I did not port the patch to /devel yet). |
@koczkatamas thanks for picking this up! Relative imports in the same directory work now, but it throws an error in the browser console if you try to use subdirectories: |
It looks like subdirectories don't work fully in the first place. See screen recording: https://puu.sh/wxdLl/70735a4110.mp4 |
Yeah sorry for that, it's actually a different issue. The whole file handling is a big hack in the current WebIDE, the files actually are stored by their name only ( These hopefully will be fixed in V2, but there is no ETA when it will be released. Till then please only use flat file structure. Sorry again for that :S |
No worries, but it may be a good compromise to disable the create folder button on production in the meantime. Edit: Or perhaps add a simple |
Hi!
I'm loving the web IDE so far, but it seems imports aren't working.
If I copy the imports example from http://doc.kaitai.io/user_guide.html#_importing_types_from_other_files and open the
filelist.ksy
file in the IDE, the object tree is not updated (it stays blank or open on the previous ksy file) but there are no errors visible in the IDE.If I open the browser console, I can see these errors:
As text:
It looks like it's trying to retrieve the
date.ksy
file fromhttps://ide.kaitai.io/formats/date.ksy
, but that's returning a 404 which is not caught.The text was updated successfully, but these errors were encountered: