[DPE-TO] LookupError: unknown encoding: shiftjis
Sentry Issue: SOLAR-32R
LookupError: unknown encoding: shiftjis
(8 additional frame(s) were not displayed)
...
File "djdocuments/views/mixins.py", line 58, in get_context_data
img_tag = gerar_tag_img_base64_png_qr_str(self.request, self.object)
File "djdocuments/utils/base64utils.py", line 32, in gerar_tag_img_base64_png_qr_str
codigo_qr = pyqrcode.create(url)
File "__init__.py", line 112, in create
return QRCode(content, error, version, mode, encoding)
File "__init__.py", line 138, in __init__
guessed_content_type = self._detect_content_type(content)
File "__init__.py", line 312, in _detect_content_type
c = content.encode('shiftjis')