Anonymous | Login | Signup for a new account | 21-11-24 13:02 UTC |
All Projects | SAS.Планета | Домен, сайт, форум, багтрекер | Доработка карты (ZMP) | Переводы и локализации | Прочее |
My View | View Issues | Change Log | Roadmap | Search |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0002967 | SAS.Планета | [All Projects] Баг | public | 18-02-2016 19:30 | 19-02-2016 15:46 | ||||
Reporter | adandara | ||||||||
Assigned To | zed | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | Windows | OS | 7 | OS Version | Professional | ||||
Product Version | 151111 | ||||||||
Target Version | 160606 | Fixed in Version | 160606 | ||||||
Summary | 0002967: Ошибка при попытке экспорта в тайловом формате OsmAnd+ Tiles | ||||||||
Description | Вываливается исключение при попытке экспортировать выбранный регион в zip (либо tar) в формате OsmAnd+ Tiles. | ||||||||
Additional Information | В ночной сборке также воспроизводится. Патч для исправления прилагается. diff -r 1ac1efce6883 Src/TileStorage/u_TileFileNameGeneratorsSimpleList.pas --- a/Src/TileStorage/u_TileFileNameGeneratorsSimpleList.pas Tue Feb 16 19:19:38 2016 +0300 +++ b/Src/TileStorage/u_TileFileNameGeneratorsSimpleList.pas Thu Feb 18 19:45:48 2016 +0300 @@ -50,14 +50,16 @@ u_TileFileNameGM1, u_TileFileNameGM2, u_TileFileNameGM3, - u_TileFileNameMOBAC; + u_TileFileNameMOBAC, + u_TileFileNameTMS, + u_TileFileNameOsmAnd; { TTileFileNameGeneratorsSimpleList } constructor TTileFileNameGeneratorsSimpleList.Create; begin inherited Create; - SetLength(FItems, 7); + SetLength(FItems, 9); FItems[0] := TTileFileNameGMV.Create; FItems[1] := TTileFileNameSAS.Create; FItems[2] := TTileFileNameES.Create; @@ -65,6 +67,8 @@ FItems[4] := TTileFileNameGM2.Create; FItems[5] := TTileFileNameGM3.Create; FItems[6] := TTileFileNameMOBAC.Create; + FItems[7] := TTileFileNameOsmAnd.Create; + FItems[8] := TTileFileNameTMS.Create; end; destructor TTileFileNameGeneratorsSimpleList.Destroy; @@ -111,6 +115,14 @@ begin Result := FItems[6]; end; + c_File_Cache_Id_OsmAnd: + begin + Result := FItems[7]; + end; + c_File_Cache_Id_TMS: + begin + Result := FItems[8]; + end; else begin Assert(False); Result := nil; | ||||||||
Tags | osm, кэш, экспорт | ||||||||
Attached Files | sas.patch [^] (1,307 bytes) 18-02-2016 19:30 [Show Content] | ||||||||
Notes | |
(0017016) zed (manager) 18-02-2016 19:44 edited on: 18-02-2016 20:28 |
О, спасибо за фикс. Но что-то не так или с патчем или с импортом через TortoiseHG: patching file Src/TileStorage/u_TileFileNameGeneratorsSimpleList.pas Hunk #1 FAILED at 49 Hunk #2 FAILED at 64 Hunk #3 FAILED at 110 3 out of 3 hunks FAILED -- saving rejects to file Src/TileStorage/u_TileFileNameGeneratorsSimpleList.pas.rej прервано: patch failed to apply Может вместо патча сделаете пул-реквест? А ещё я заметил аналогичный баг и в u_TileFileNameParsersSimpleList.pas, там тоже не хватает TMS и OsmAnd кэшей. |
(0017019) zed (manager) 19-02-2016 15:45 |
Пофикшено: https://bitbucket.org/sas_team/sas.planet.src/commits/928892ad9e0379a54bca341e785b0276ddc4f50c |
Users who viewed this issue | |
User List | Anonymous (2940x), adandara (2x), ygorigor (2x), netsky (2x), bk99 (1x), vdemidov (4x), Garl (3x), gma (1x), zed (15x) |
Total Views | 2970 |
Last View | 21-11-2024 13:02 |
Issue History | |||
Date Modified | Username | Field | Change |
18-02-2016 19:30 | adandara | New Issue | |
18-02-2016 19:30 | adandara | File Added: sas.patch | |
18-02-2016 19:44 | zed | Note Added: 0017016 | |
18-02-2016 20:23 | zed | Summary | EAccessViolation: Access violation at address 009537EC in module SASPlanet.exe. Read of address 00000000 => Ошибка при попытке экспорта в тайловом формате OsmAnd+ Tiles |
18-02-2016 20:26 | zed | Relationship added | related to 0000884 |
18-02-2016 20:26 | zed | Status | new => confirmed |
18-02-2016 20:28 | zed | Tag Attached: osm | |
18-02-2016 20:28 | zed | Tag Attached: кэш | |
18-02-2016 20:28 | zed | Tag Attached: экспорт | |
18-02-2016 20:28 | zed | Note Edited: 0017016 | View Revisions |
19-02-2016 15:45 | zed | Note Added: 0017019 | |
19-02-2016 15:45 | zed | Status | confirmed => resolved |
19-02-2016 15:45 | zed | Fixed in Version | => 160606 |
19-02-2016 15:45 | zed | Resolution | open => fixed |
19-02-2016 15:45 | zed | Assigned To | => zed |
19-02-2016 15:46 | zed | Target Version | => 160606 |
My View | View Issues | Change Log | Roadmap | Search |
Copyright © 2007 - 2024 SAS.Planet Team |