Opened 9 years ago

Closed 7 years ago

#3574 closed defect (fixed)

Korean Manual AutoUpdate Stopped

Reported by: ruvyn Owned by: robe
Priority: medium Milestone: PostGIS 2.4.0
Component: documentation Version: master
Keywords: PostGIS 2.3.0dev Manual Cc: strk

Description

While translating PostGIS 2.3.0dev Manual into Korean, we noticed that the SVN revision of 16th of May was 14902 and today it is 14943. So the autoupdate process seems to be working, just not for the translated texts.

When we looked up the *.xml.po files in the trunk, we found out that Korean *.xml.po files have not been updated from Transifex for more than 4 months.

Does anyone have any idea on how to fix this?

Korean Trunk: https://trac.osgeo.org/postgis/browser/trunk/doc?order=name#po/ko_KR

Korean Manual: http://postgis.net/docs/manual-dev/postgis-ko_KR.html

Change History (6)

comment:1 by robe, 9 years ago

Cc: strk added

I think strk set that up. Don't remember how that update works or if its automatic or something manual.

comment:2 by strk, 8 years ago

Generation of the pages fail:

$ make -C doc/po/ko_KR local-html
po2xml ../../reference_raster.xml reference_raster.xml.po > reference_raster.xml
the translation of '<refpurpose>Returns a raster or a set of geometry-pixelvalue pairs representing the shared portion of two rasters or the geometrical intersection of a vectorization of the raster and a geometry.</refpurpose>' doesn't start with a tag.

Regina I think it's Debbie or Winnie that do publish those pages, when successful. The only thing I did setup is the "pull-tx" and "push-tx" Makefile rules to sync with Transifex (available under doc/)

comment:3 by strk, 8 years ago

Ruvyn: It takes no authority to generate the HTML pages locally. The "make" commands showed above should let you do that, so you can check if your translations work.

Anyway, after a "make pull-tx" the generation still fails:

/usr/bin/xsltproc --novalid ./xsl/postgis_aggs_mm.xml.xsl postgis-out.xml > postgis_aggs_mm.xml
reference_accessor.xml:2589: parser error : Opening and ending tag mismatch: varname line 2588 and refpurpose
(면)을 반환합니다. 그 외의 경우 NULL을 반환합니다.</refpurpose
                                                                               ^
reference_accessor.xml:2590: parser error : Opening and ending tag mismatch: varname line 2587 and refnamediv
          </refnamediv>
                       ^
reference_accessor.xml:2624: parser error : Opening and ending tag mismatch: varname line 2623 and para
을 반환합니다. ST_GeometryN을 이용하는 편이 더 빠릅니다.</para
                                                                               ^
reference_accessor.xml:2645: parser error : Opening and ending tag mismatch: varname line 2622 and refsection
          </refsection>
                       ^
reference_accessor.xml:2675: parser error : Opening and ending tag mismatch: varname line 2621 and refentry
        </refentry>
                   ^
reference_accessor.xml:3962: parser error : Opening and ending tag mismatch: varname line 2620 and sect1
  </sect1>
          ^
reference_accessor.xml:3963: parser error : Premature end of data in tag para line 2619
reference_accessor.xml:3963: parser error : Premature end of data in tag refsection line 2615
reference_accessor.xml:3963: parser error : Premature end of data in tag varname line 2586
reference_accessor.xml:3963: parser error : Premature end of data in tag varname line 2585
reference_accessor.xml:3963: parser error : Premature end of data in tag refpurpose line 2584
reference_accessor.xml:3963: parser error : Premature end of data in tag refnamediv line 2580
reference_accessor.xml:3963: parser error : Premature end of data in tag refentry line 2579
reference_accessor.xml:3963: parser error : Premature end of data in tag sect1 line 3
reference.xml:13: parser error : Failure to process entity reference_accessor
ference_guc; &reference_management; &reference_constructor; &reference_accessor;
                                                                               ^
reference.xml:13: parser error : Entity 'reference_accessor' not defined
ference_guc; &reference_management; &reference_constructor; &reference_accessor;
                                                                               ^
reference_editor.xml:68: parser error : Opening and ending tag mismatch: position line 67 and para
생략하거나, 추가 작업에 대해 -1로 설정할 수 있습니다.</para
                                                                               ^

There are more errors like the above, so I'd recommend getting a clone of the PostGIS git repository (https://git.osgeo.org/gogs/postgis/postgis) and try the generation yourself until it's fixed.

comment:4 by robe, 8 years ago

I'm still having trouble debugging this on server. All are giving errors in fact.

po2xml ../../reference_output.xml reference_output.xml.po > reference_output.xml
found empty tag para
po2xml ../../reference_processing.xml reference_processing.xml.po > reference_processing.xml
po2xml ../../reference_raster.xml reference_raster.xml.po > reference_raster.xml
the translation of '<refpurpose>Returns a raster or a set of geometry-pixelvalue pairs representing the shared portion of two rasters or the geometrical intersection of a vectorization of the raster and a geometry.</refpurpose>' doesn't start with a tag.
../Makefile.local:26: recipe for target 'reference_raster.xml' failed
make[1]: *** [reference_raster.xml] Error 1
make[1]: Leaving directory '/var/lib/jenkins/workspace/postgis/docs/branches/2.3_translations/doc/po/ko_KR'
../Makefile.local:7: recipe for target 'local-html' failed
make: *** [local-html] Error 2
make: Leaving directory '/var/lib/jenkins/workspace/postgis/docs/branches/2.3_translations/doc/po/ko_KR'
Build step 'Execute shell' marked build as failure
Finished: FAILURE

comment:5 by robe, 8 years ago

Milestone: PostGIS 2.3.0PostGIS 2.4.0

comment:6 by robe, 7 years ago

Resolution: fixed
Status: newclosed

I think I fixed already after I fixed xml issues in korean these went away

Note: See TracTickets for help on using tickets.