-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failed to generate dzi files for painting #2
Comments
我通过断点调试确定了这个 bug 的原因,网页返回的列表索引发生了变化,原本的索引序号不再适用。我修改了 info 和 decrypted 的索引后,新的 generate_dzi_file_mhj 已经可以正常工作。 I have determined the cause of the bug through breakpoint debugging: the indices of the list returned by the webpage have changed, and the original index numbers are no longer applicable. After modifying the indices of info and decrypted, the new generate_dzi_file_mhj is now working properly. 解释 Explanation 索引变化:由于网页内容更新,导致返回的数据列表 info 和 decrypted 的元素顺序发生了变化。 更新索引:通过断点调试,找出了新的索引位置,使得 info 和 decrypted 列表中的数据能够正确对应程序所需的参数。 程序正常运行:更新索引后,generate_dzi_file_mhj 函数能够正确地生成所需的 DZI 文件,程序恢复正常功能。 Index Changes: The webpage content was updated, causing the order of elements in the returned data lists info and decrypted to change. Update Indices: Through breakpoint debugging, the new index positions were identified, allowing the data in the info and decrypted lists to correctly match the parameters required by the program. Program Running Normally: After updating the indices, the generate_dzi_file_mhj function was able to correctly generate the required DZI file, and the program returned to normal functionality. def generate_dzi_file_mhj(paint_id, info=None):
|
In generate_dzi.py
function generate_dzi_file_mhj
When I tried to download the image from 'mhj', I got the error Failed to generate dzi files for painting 5f2540b7eeb94a19b982a1c7a513b6c9: Incorrect AES key length (3 bytes)
Do you know how to solve it?
The text was updated successfully, but these errors were encountered: