GoogleCloudPlatform / GoogleCloudPlatform/appengine-python-standard

ndb.PickleProperty UnicodeDecodeError: 'ascii' codec can't decode byte with NDB_USE_CROSS_COMPATIBLE_PICKLE_PROTOCOL

未关闭
#111 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
86
派生
61
PR 合并指标
30 天内没有已合并 PR

描述

## Expected Behavior
No decode issues

## Actual Behavior
Decode issues

## Steps to Reproduce the Problem

0. set NDB_USE_CROSS_COMPATIBLE_PICKLE_PROTOCOL:True in app.yaml
1. Have a ndb.PickleProperty in python27
2. Access the ndb.PickleProperty in python312
3. File "/layers/google.python.pip/pip/lib/python3.12/site-packages/google/appengine/ext/ndb/model.py", line 1913, in _from_base_type UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 1: ordinal not in range(128)

## Specifications

- Version: latest
- Platform: python312

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。