Open Fabizocker456 opened 1 month ago
I can confirm that on POSIX, we get something like:
b'ExportCustoms_en.json!00_wzwkOFB7XPlst9tXiSU55g\r\nExportDrones_en.json!00_LZKVJWzyNlEXy-hI3mpGnA\r\nExportFlavour_en.json!00_7CEYAqJB7CoydL67fjhBnQ\r\nExportFusionBundles_en.json!00_yOD81zJOvs6qph81j6McIQ\r\nExportGear_en.json!00_9c0bmrHcYYWi+mecnxaL-A\r\nExportKeys_en.json!00_Lp76eoKm5m7LiXCvzbwQ2Q\r\nExportRecipes_en.json!00_iVEngekAzDO6rhc3Sva+gQ\r\nExportRegions_en.json!00_Hs3LJXyk-r-QQ0YV-GgwpA\r\nExportRelicArcane_en.json!00_ElWYUJFXc9WokdrB08GxCg\r\nExportResources_en.json!00_2fIZAJKmcZEpsIkFE8kMiw\r\nExportSentinels_en.json!00_kWACswtGMTzojXnsLlUavQ\r\nExportSortieRewards_en.json!00_+ULn-PCN7yAvvr2M0mPUIg\r\nExportUpgrades_en.json!00_2T76qHmKfdDy2STiCEsgVg\r\nExportWarframes_en.json!00_xk-QTfzHI6Ijy0WkyCcYEQ\r\nExportWeapons_en.json!00_mrFPI-tnYdaXwZkA8dRNaA\r\nExportManifest.json!00_sIif74qNmZa-XrLaoVgWnw'
By the way, I tested it on online interpreters and the POSIX ones running Python 3.8 also had the same error.
I can confirm that on POSIX, we get something like:
b'ExportCustoms_en.json!00_wzwkOFB7XPlst9tXiSU55g\r\nExportDrones_en.json!00_LZKVJWzyNlEXy-hI3mpGnA\r\nExportFlavour_en.json!00_7CEYAqJB7CoydL67fjhBnQ\r\nExportFusionBundles_en.json!00_yOD81zJOvs6qph81j6McIQ\r\nExportGear_en.json!00_9c0bmrHcYYWi+mecnxaL-A\r\nExportKeys_en.json!00_Lp76eoKm5m7LiXCvzbwQ2Q\r\nExportRecipes_en.json!00_iVEngekAzDO6rhc3Sva+gQ\r\nExportRegions_en.json!00_Hs3LJXyk-r-QQ0YV-GgwpA\r\nExportRelicArcane_en.json!00_ElWYUJFXc9WokdrB08GxCg\r\nExportResources_en.json!00_2fIZAJKmcZEpsIkFE8kMiw\r\nExportSentinels_en.json!00_kWACswtGMTzojXnsLlUavQ\r\nExportSortieRewards_en.json!00_+ULn-PCN7yAvvr2M0mPUIg\r\nExportUpgrades_en.json!00_2T76qHmKfdDy2STiCEsgVg\r\nExportWarframes_en.json!00_xk-QTfzHI6Ijy0WkyCcYEQ\r\nExportWeapons_en.json!00_mrFPI-tnYdaXwZkA8dRNaA\r\nExportManifest.json!00_sIif74qNmZa-XrLaoVgWnw'
This is the same result I got, and probably the correct result. The PeaZip tool gives the same result under Windows, too.
Can anyone confirm xz versions? We don't implement this ourselves, we rely on other libraries - typically the ones bundled in an OS for Linux.
Bug report
Bug description:
The above code does not work on a fresh Python 3.12 install under Windows 10 and 11 (
_lzma.LZMAError: Corrupt input data
), it does however work on a self-built Python 3.12 on Debian Linux, and probably Linux in general. (I, myself, have tested on Win11, Win10 and self-built Debian, a few other users have on unspecified Linuxes and Windowses).This difference between platforms is, as far as I know, not intentional (and if it is, this is not mentioned in the lzma module documentation).
(the raw data is sourced from https://origin.warframe.com/PublicExport/index_en.txt.lzma, (C) Digital Extremes, probably)
CPython versions tested on:
3.12
Operating systems tested on:
Linux, Windows