-
Notifications
You must be signed in to change notification settings - Fork 46
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
Relative imports for kaitai structs do not work #168
Comments
this is probably caused by the fact that the hobbits kaitai plugin prepares and compiles ksy data in a separate temporary folder. I think some people have had luck with compiling the dependency types first so that they are cached/available in the built-in Python interpreter (?). Obviously that's not a great solution, so I won't close this. Understanding some of the hackiness in the plugin might help get around limitations (or help you decide when not to try to do something in hobbits). |
yeah, imports seems to be an overall hacky and unfinished feature of kaitai editor's viewers. I didn't see any issues about it on here so I thought I would make one. I'm just trying to find a way to prototype and test locally quickly, which hobbits was my last hope lol |
I'm trying to use relative imports with kaitai, which is a supported doc
however, I get file not found in the tmp directory when I try to do this
Here is the file I am trying to use:
This is the file structure:
Let me know if there's any other info that I can provide to help resolve this isse
The text was updated successfully, but these errors were encountered: