DEBUG:qrcode_file_transfer.__main__:Encoding ../micro.jpg.bz2...
Encoding file micro.jpg.bz2...
DEBUG:qrcode_file_transfer.file_to_qr:b64_data_len: 17132
DEBUG:qrcode_file_transfer.file_to_qr:num_chunks: 28
DEBUG:qrcode_file_transfer.file_to_qr:input_file_name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 0
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 625
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 692
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q0.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 625
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 1250
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 692
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q1.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 1250
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 1875
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 692
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q2.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 1875
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 2500
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 692
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q3.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 2500
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 3125
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 692
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q4.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 3125
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 3750
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 692
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q5.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 3750
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 4375
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 692
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q6.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 4375
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 5000
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 692
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q7.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 5000
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 5625
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 692
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q8.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 5625
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 6250
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 692
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q9.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 6250
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 6875
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q10.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 6875
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 7500
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q11.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 7500
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 8125
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q12.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 8125
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 8750
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q13.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 8750
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 9375
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q14.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 9375
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 10000
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q15.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 10000
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 10625
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q16.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 10625
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 11250
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q17.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 11250
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 11875
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q18.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 11875
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 12500
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q19.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 12500
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 13125
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q20.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 13125
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 13750
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q21.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 13750
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 14375
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q22.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 14375
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 15000
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q23.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 15000
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 15625
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q24.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 15625
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 16250
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q25.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 16250
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 16875
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 693
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q26.png
DEBUG:qrcode_file_transfer.file_to_qr:start_index: 16875
DEBUG:qrcode_file_transfer.file_to_qr:end_index: 17500
DEBUG:qrcode_file_transfer.file_to_qr:json dumps length 325
DEBUG:qrcode_file_transfer.file_to_qr:qr_file: out/micro.jpg.bz2_q27.png
Encoded file micro.jpg.bz2 in 28 QR codes.
DEBUG:qrcode_file_transfer.__main__:Done
DEBUG:qrcode_file_transfer.__main__:Decoding
DEBUG:qrcode_file_transfer.qr_to_file:Parsing 28 QR files
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4857
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q0.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q0.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 0/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4915
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q10.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q10.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 10/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4734
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q11.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q11.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 11/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4854
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q12.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q12.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 12/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4931
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q13.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q13.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 13/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4676
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q14.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q14.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 14/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4722
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q15.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q15.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 15/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4872
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q16.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q16.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 16/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4789
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q17.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q17.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 17/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4771
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q18.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q18.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 18/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4826
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q19.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q19.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 19/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4753
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q1.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q1.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 1/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4819
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q20.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q20.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 20/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4961
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q21.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q21.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 21/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 5008
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q22.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q22.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 22/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4620
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q23.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q23.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 23/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4939
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q24.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q24.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 24/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4920
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q25.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q25.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 25/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 5000
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q26.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q26.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 26/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 2333
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q27.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q27.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 27/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4898
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q2.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q2.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 2/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4836
DEBUG:qrcode_file_transfer.qr_to_file:Found 1 QR codes in file out/micro.jpg.bz2_q3.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q3.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 3/27
DEBUG:PIL.PngImagePlugin:STREAM b'IHDR' 16 13
DEBUG:PIL.PngImagePlugin:STREAM b'IDAT' 41 4780
DEBUG:qrcode_file_transfer.qr_to_file:Found 2 QR codes in file out/micro.jpg.bz2_q4.png
DEBUG:qrcode_file_transfer.qr_to_file:qr_file: out/micro.jpg.bz2_q4.png
DEBUG:qrcode_file_transfer.qr_to_file: name: micro.jpg.bz2
DEBUG:qrcode_file_transfer.qr_to_file: chunk: 4/27
Traceback (most recent call last):
File "/home/studio/.local/bin/qrcode_file_transfer", line 11, in <module>
sys.exit(main())
File "/home/studio/.local/lib/python3.6/site-packages/qrcode_file_transfer/__main__.py", line 43, in main
reconstruct_files_from_qr(input_files, output_dir)
File "/home/studio/.local/lib/python3.6/site-packages/qrcode_file_transfer/qr_to_file.py", line 83, in reconstruct_files_from_qr
qr_payload = json.loads(qr_json)
File "/usr/lib/python3.6/json/__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.6/json/decoder.py", line 342, in decode
raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 2 (char 1)