[GRASS-dev] [GRASS GIS] #3981: winGRASS: defining a new location by EPSG code: TypeError: invalid result from TransList.OnMeasureItem(), an integer is required (got type NoneType)

#3981: winGRASS: defining a new location by EPSG code: TypeError: invalid result
from TransList.OnMeasureItem(), an integer is required (got type NoneType)
-------------------------------------------+-------------------------------
Reporter: hellik | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-
                                           | releasebranch78
Keywords: wingrass, py3, python3, proj6 | CPU: x86-64
Platform: MSWindows |
-------------------------------------------+-------------------------------
when defining a new location in the location wizard by an EPSG code, I get
following message in the winGRASS-OSGEo4W shell:

{{{
[...]
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
TypeError: invalid result from TransList.OnMeasureItem(), an integer is
required (got type NoneType)
[...]
}}}

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3981&gt;
GRASS GIS <https://grass.osgeo.org>

#3981: winGRASS: defining a new location by EPSG code: TypeError: invalid result
from TransList.OnMeasureItem(), an integer is required (got type NoneType)
---------------------+-------------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-releasebranch78
Resolution: | Keywords: wingrass, py3, python3, proj6
       CPU: x86-64 | Platform: MSWindows
---------------------+-------------------------------------------

Comment (by annakrat):

https://github.com/OSGeo/grass/pull/233

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3981#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>

Hi,
I think I am banging my head on this error #3981
I posted my problem to grass-user, but no response.
Is there a possible workaround for me?

Thanks,
Zoltan.

···

On 2019/12/02 11:49, Zoltan Szecsei wrote:

Hi,
I’m using EPSG 2932 and QGIS etc all are OK with it.

I have installed everything using OSGeo4W64, so how come Grass does not use the same projections database (as QGis etc)?
(and please can I have a pointer as to how to introduce EPSG 2932 to Grass 7.8.1)

Thanks and regards,
Zoltan

******** Running against: D:\GDBroad_tiles\shp_road_poly_few\23103770_road_poly.shp
WARNING: Datum <Qatar_National_Datum_1995> not recognised by GRASS and no parameters found
Check if OGR layer <23103770_road_poly> contains polygons…
Creating attribute table for layer <23103770_road_poly>…
WARNING: Name <23103770_road_poly> is not SQL compliant. Must start with a letter.
Importing 28 features (OGR layer <23103770_road_poly>)…

On 2019/12/03 17:31, GRASS GIS wrote:

#3981: winGRASS: defining a new location by EPSG code: TypeError: invalid result
from TransList.OnMeasureItem(), an integer is required (got type NoneType)
---------------------+-------------------------------------------
  Reporter:  hellik  |      Owner:  grass-dev@…
      Type:  defect  |     Status:  new
  Priority:  normal  |  Milestone:  7.8.2
 Component:  wxGUI   |    Version:  git-releasebranch78
Resolution:          |   Keywords:  wingrass, py3, python3, proj6
       CPU:  x86-64  |   Platform:  MSWindows
---------------------+-------------------------------------------

Comment (by annakrat):

 [https://github.com/OSGeo/grass/pull/233](https://github.com/OSGeo/grass/pull/233)

_______________________________________________
grass-dev mailing list
[grass-dev@lists.osgeo.org](mailto:grass-dev@lists.osgeo.org)
[https://lists.osgeo.org/mailman/listinfo/grass-dev](https://lists.osgeo.org/mailman/listinfo/grass-dev)
-- 

=============================================
Zoltan Szecsei GPrGISc 0031
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028     (WhatsApp only)
Qatar:  +974 5083 2722     [www.geograph.co.za](http://www.geograph.co.za)
=============================================

#3981: winGRASS: defining a new location by EPSG code: TypeError: invalid result
from TransList.OnMeasureItem(), an integer is required (got type NoneType)
---------------------+-------------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.8.2
Component: wxGUI | Version: git-releasebranch78
Resolution: fixed | Keywords: wingrass, py3, python3, proj6
       CPU: x86-64 | Platform: MSWindows
---------------------+-------------------------------------------
Changes (by annakrat):

* status: new => closed
* resolution: => fixed

Comment:

Merged and backported.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3981#comment:2&gt;
GRASS GIS <https://grass.osgeo.org>