You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It might also be that the use of generatejson.py does avoid this issue, but if you handcraft your json you have to be careful.
I think this issue is best solved by archiving this issue as part of documentation of a cornercase. I will also try to make a general addition to the documentation (as a PR) about avoiding empty hashes in your jsonfile, in case of handcrafting or copy/paste from other sources.
K
The text was updated successfully, but these errors were encountered:
Stumbled upon this issue. It is only a problem if you bundle stuff into a package.
If you are downloading resources from an URL this does not apply!
if you bundle a rootscript in the package you have to do the following:
a: Remove the "url" parameter, even if it is empty
or
b: Include the "url" AND the "hash" parameter
This will not work
This will work
This will also work
The issue is easily solved by removing empty hashes from your json, which probably is a good habit anyway.
The confusion arrives since sometimes its allow with an empty hash, like this: which also will work:
It might also be that the use of generatejson.py does avoid this issue, but if you handcraft your json you have to be careful.
I think this issue is best solved by archiving this issue as part of documentation of a cornercase. I will also try to make a general addition to the documentation (as a PR) about avoiding empty hashes in your jsonfile, in case of handcrafting or copy/paste from other sources.
K
The text was updated successfully, but these errors were encountered: