Opened 14 years ago
Closed 13 years ago
#819 closed defect (fixed)
topology regression testsuite: localized messages raise false positives
Reported by: | aperi2007 | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.0.0 |
Component: | topology | Version: | master |
Keywords: | Cc: |
Description
Hi, compiling the trunk r I see an error in make check of createtopogeom. Attach the logs.
Attachments (4)
Change History (22)
by , 14 years ago
Attachment: | pgis_reg_13065.zip added |
---|
comment:2 by , 14 years ago
Replying to strk:
Please try 'make clean all check' from top-level dir.
I try, but still error
log attached
follow-up: 5 comment:3 by , 14 years ago
Ah! localization problem:
-PL/pgSQL function "createtopogeom" line 91 at EXECUTE statement +funzione PL/pgSQL "createtopogeom" linea 91 a istruzione EXECUTE
Weird, as the run_test script sets LC_ALL=C Do you have LANG defined ? Or some other localization variable ?
comment:4 by , 14 years ago
It's weird because the db creation log does speak english instead:
psql:/home/postgres/software/postgis/postgis-2.0.0SVN/regress/../topology/topology.sql:3019: NOTICE: aggregate topology.topoelementarray_agg(topology.topoelement) does not exist, skipping
comment:5 by , 14 years ago
Replying to strk:
Ah! localization problem:
-PL/pgSQL function "createtopogeom" line 91 at EXECUTE statement +funzione PL/pgSQL "createtopogeom" linea 91 a istruzione EXECUTEWeird, as the run_test script sets LC_ALL=C Do you have LANG defined ? Or some other localization variable ?
yes, in the shell there is LANG=it_IT.UTF-8
comment:7 by , 14 years ago
I try setting export LANG=C in the shell. After start postgres db and run make clean all check, always in the same shell. But still the error is here. log attach.
comment:9 by , 14 years ago
Replying to strk:
Try running: $ env | grep it_IT and paste the result
Here the result.
postgres@deb:~$ env | grep it_IT LANG=it_IT.UTF-8 postgres@deb:~$
comment:12 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Hi, I'm having still this error I don't know if it is a false positive. I guess it was never disappear.
I add my log error.
comment:13 by , 14 years ago
I don't sure to understand what error was issuing. I see this error message.
regress/createtopogeom. failed (diff expected obtained: /tmp/pgis_reg_9628/test_16_diff) Run tests: 21 Failed: 1 make[2]: *** [check] Error 1 make[2]: Leaving directory `/home/postgres/software/postgis/postgis-2.0.0SVN/topology/test' make[1]: *** [check] Error 2 make[1]: Leaving directory `/home/postgres/software/postgis/postgis-2.0.0SVN/topology' make: *** [check] Error 1
But the logs generated are two "pgis_reg_5400 " and "pgis_reg_9628" I put both in the zip added.
comment:14 by , 14 years ago
checked, but it's still a localization issue. Does: env | grep it return anything else ?
comment:15 by , 13 years ago
Summary: | topology: error on regress of createtopogeom → topology regression testsuite: localized messages raise false positives |
---|
Please consider appending RUNTESTFLAGS=-v to your 'make check' call next time:
make check RUNESTFLAGS=-v
That way you would get errors inline and avoid attachements.
comment:17 by , 13 years ago
r9088 may have made this even stronger. Andrea: chances you can test again?
comment:18 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I try it.
It work for me.
close the ticket.
log errors