M9k / GreenPass-string-replacement

Python script to replace values inside a GreenPass QR Code
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

The code not work anymore #1

Open Crono03 opened 2 years ago

Crono03 commented 2 years ago

Hi man, i tried this software just to make a meme but it gave me this error:

Traceback (most recent call last): File "c:\Users\cirel\OneDrive\Desktop\canzone\GreenPass editor.py", line 35, in b45decode buf = [BASE45_DICT[c] for c in s.strip()] File "c:\Users\cirel\OneDrive\Desktop\canzone\GreenPass editor.py", line 35, in buf = [BASE45_DICT[c] for c in s.strip()] KeyError: '<'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "c:\Users\cirel\OneDrive\Desktop\canzone\GreenPass editor.py", line 61, in decoded = b45decode(strip) File "c:\Users\cirel\OneDrive\Desktop\canzone\GreenPass editor.py", line 55, in b45decode raise ValueError("Invalid base45 string") ValueError: Invalid base45 string

M9k commented 2 years ago

Hi! Could you tell me which version of python and on which system you are running it? Are you using a valid greenpass code, taken from a QR Code?