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
Error:
Traceback (most recent call last):
File "try.py", line 5, in
print x.compressToBase64("Dak0tajdjdjdddddddddddddddddddddddd")
File "/home/solstice/lzstring.py", line 256, in compressToBase64
string = self.compress(string)
File "/home/solstice/lzstring.py", line 64, in compress
context_data_string += chr(context_data_val)
ValueError: chr() arg not in range(256)
the context_data_val is 2180 at this point!!
The text was updated successfully, but these errors were encountered:
import lzstring
x = lzstring.LZString()
print x.compressToBase64("Dak0tajdjdjdddddddddddddddddddddddd")
Error:
Traceback (most recent call last):
File "try.py", line 5, in
print x.compressToBase64("Dak0tajdjdjdddddddddddddddddddddddd")
File "/home/solstice/lzstring.py", line 256, in compressToBase64
string = self.compress(string)
File "/home/solstice/lzstring.py", line 64, in compress
context_data_string += chr(context_data_val)
ValueError: chr() arg not in range(256)
the context_data_val is 2180 at this point!!
The text was updated successfully, but these errors were encountered: