Invalid JSON exists in block or item folder! See above log. (How can I fix this) #10019
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Not sure what is happening it is not working though. I am getting this error:
[ERROR] Invalid JSON exists in block or item folder! See above log.
Error: Process completed with exit code 1.
Here is the full log for conversion:
##[debug]Evaluating: needs.get-pack-info.outputs.pack_url
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating needs:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'get-pack-info'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'pack_url'
##[debug]=> 'https://www.googleapis.com/drive/v3/files/1ENoIkdOlt6aSrmsV77AwG26FcU1R0TvK?alt=media&key=AIzaSyDVgQ6HsYTA0znZJzPk8Vi6kAZtpgBc8Fk'
##[debug]Result: 'https://www.googleapis.com/drive/v3/files/1ENoIkdOlt6aSrmsV77AwG26FcU1R0TvK?alt=media&key=AIzaSyDVgQ6HsYTA0znZJzPk8Vi6kAZtpgBc8Fk'
##[debug]Evaluating: needs.get-pack-info.outputs.default_pack_url
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating needs:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'get-pack-info'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'default_pack_url'
##[debug]=> 'null'
##[debug]Result: 'null'
##[debug]Evaluating: needs.get-pack-info.outputs.merge_pack_url
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating needs:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'get-pack-info'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'merge_pack_url'
##[debug]=> 'null'
##[debug]Result: 'null'
##[debug]Evaluating: needs.get-pack-info.outputs.default_assets_version
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating needs:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'get-pack-info'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'default_assets_version'
##[debug]=> '1.19.2'
##[debug]Result: '1.19.2'
##[debug]Evaluating: needs.get-pack-info.outputs.block_material
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating needs:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'get-pack-info'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'block_material'
##[debug]=> 'alpha_test'
##[debug]Result: 'alpha_test'
##[debug]Evaluating: needs.get-pack-info.outputs.attachable_material
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating needs:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'get-pack-info'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'attachable_material'
##[debug]=> 'entity_emissive_alpha_one_sided'
##[debug]Result: 'entity_emissive_alpha_one_sided'
##[debug]Evaluating: needs.get-pack-info.outputs.archive_scratch
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating needs:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'get-pack-info'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'archive_scratch'
##[debug]=> 'false'
##[debug]Result: 'false'
##[debug]Evaluating: needs.get-pack-info.outputs.rename_model_files
##[debug]Evaluating Index:
##[debug]..Evaluating Index:
##[debug]....Evaluating Index:
##[debug]......Evaluating needs:
##[debug]......=> Object
##[debug]......Evaluating String:
##[debug]......=> 'get-pack-info'
##[debug]....=> Object
##[debug]....Evaluating String:
##[debug]....=> 'outputs'
##[debug]..=> Object
##[debug]..Evaluating String:
##[debug]..=> 'rename_model_files'
##[debug]=> 'false'
##[debug]Result: 'false'
##[debug]Evaluating condition for step: 'Convert Pack'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: Convert Pack
##[debug]Loading inputs
##[debug]Loading env
Run mkdir -p staging
##[debug]/usr/bin/bash -e /home/runner/work/_temp/a049eca9-1199-4bd9-99e8-bf8d05637f34.sh
#=#=#
##O#-#
##O=# #
#=#=-# #
-#O#- # #
-=#=# # #
-=O#-# # #
-=O=# # # #
-=O=-# # # #
2.3%
########################## 36.6%
############################################### 66.3%
################################################################## 92.6%
######################################################################## 100.0%
[•] Input file input_pack.zip detected
4194304
Changed ulimit settings for script:
real-time non-blocking time (microseconds, -R) unlimited
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
file size (blocks, -f) unlimited
pending signals (-i) 27692
max locked memory (kbytes, -l) 64
max memory size (kbytes, -m) unlimited
open files (-n) 65536
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
real-time priority (-r) 0
stack size (kbytes, -s) unlimited
cpu time (seconds, -t) unlimited
max user processes (-u) 27692
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
Your environment variables take up 5004 bytes
POSIX upper limit on argument length (this system): 6284404
POSIX smallest allowable upper limit on argument length (all systems): 4096
Maximum length of command we could actually use: 6279400
Size of command buffer we are actually using: 131072
Maximum parallelism (--max-procs must be no greater): 2147483647
6291456
███████████████████████████████████████████████████████████████████████████████
████████████████████████ # <!> # W A R N I N G # <!> # ████████████████████████
███████████████████████████████████████████████████████████████████████████████
███ This script has been provided as is. If your resource pack does not ███
███ entirely conform the vanilla resource specification, including but not ███
███ limited to, missing textures, improper parenting, improperly defined ███
███ predicates, and malformed JSON files, among other problems, there is a ███
███ strong possibility this script will fail. Please remedy any potential ███
███ resource pack formatting errors before attempting to make use of this ███
███ converter. You have been warned. ███
███████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████████████
███████████████████████████████████████████████████████████████████████████████
[+] Dependency jq-1.6 satisfied
[+] Dependency sponge satisfied
[+] Dependency imagemagick satisfied
[+] Dependency spritesheet-js satisfied
[+] All dependencies have been satisfied
This script will now ask some configuration questions. Default values are yellow. Simply press enter to use the defaults.
Generating Bedrock 3D resource pack with settings:
Input pack to merge: null
Attachable material: entity_emissive_alpha_one_sided
Block material: alpha_test
Fallback pack URL: null
[•] Decompressing input pack
[+] Input pack decompressed
[+] Minecraft namespace item folder found.
[•] Downloading the latest geyser item mappings
#=#=#
######################################################################## 100.0%
#=#=#
######################################################################## 100.0%
[•] Iterating through all vanilla associated model JSONs to generate initial predicate config
On a large pack, this may take some time...
jq: error (at ./assets/minecraft/models/item/crossbow_arrow.json:6): Expected value before ',' at line 89, column 2
[ERROR] Invalid JSON exists in block or item folder! See above log.
Error: Process completed with exit code 1.
##[debug]Finishing: Convert Pack
Beta Was this translation helpful? Give feedback.
All reactions