[GRASS-dev] [GRASS GIS] #3331: ctypes: ValueError: invalid literal for int() with base 8: '08420217248550443400745280086994171'

GRASS GIS trac at osgeo.org
Tue Jun 20 15:17:09 PDT 2017


#3331: ctypes: ValueError: invalid literal for int() with base 8:
'08420217248550443400745280086994171'
--------------------------+---------------------------------
  Reporter:  neteler      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.2.2
 Component:  Python       |    Version:  svn-releasebranch72
Resolution:               |   Keywords:  ctypes, python
       CPU:  Unspecified  |   Platform:  Unspecified
--------------------------+---------------------------------

Comment (by neteler):

 Replying to [comment:25 brunofriedmann]:
 > Ok strangely here with openSUSE Tumbleweed/gcc7 it still fail. As
 reported.

 Confirmed in my new openSUSE VM. Apparently the regex needs some more
 tweaking.

 Here the FLT64 related definitions on openSUSE:
 {{{
 # openSUSE Tumbleweed
 gcc -E -dM -x c /dev/null | sort | grep FLT64
 #define __FLT64_DECIMAL_DIG__ 17
 #define __FLT64_DENORM_MIN__ 4.94065645841246544176568792868221372e-324F64
 #define __FLT64_DIG__ 15
 #define __FLT64_EPSILON__ 2.22044604925031308084726333618164062e-16F64
 #define __FLT64_HAS_DENORM__ 1
 #define __FLT64_HAS_INFINITY__ 1
 #define __FLT64_HAS_QUIET_NAN__ 1
 #define __FLT64_MANT_DIG__ 53
 #define __FLT64_MAX_10_EXP__ 308
 #define __FLT64_MAX__ 1.79769313486231570814527423731704357e+308F64
 #define __FLT64_MAX_EXP__ 1024
 #define __FLT64_MIN_10_EXP__ (-307)
 #define __FLT64_MIN__ 2.22507385850720138309023271733240406e-308F64
 #define __FLT64_MIN_EXP__ (-1021)
 #define __FLT64X_DECIMAL_DIG__ 21
 #define __FLT64X_DENORM_MIN__ 3.64519953188247460252840593361941982e-
 4951F64x
 #define __FLT64X_DIG__ 18
 #define __FLT64X_EPSILON__ 1.08420217248550443400745280086994171e-19F64x
 #define __FLT64X_HAS_DENORM__ 1
 #define __FLT64X_HAS_INFINITY__ 1
 #define __FLT64X_HAS_QUIET_NAN__ 1
 #define __FLT64X_MANT_DIG__ 64
 #define __FLT64X_MAX_10_EXP__ 4932
 #define __FLT64X_MAX__ 1.18973149535723176502126385303097021e+4932F64x
 #define __FLT64X_MAX_EXP__ 16384
 #define __FLT64X_MIN_10_EXP__ (-4931)
 #define __FLT64X_MIN__ 3.36210314311209350626267781732175260e-4932F64x
 #define __FLT64X_MIN_EXP__ (-16381)

 gcc -v
 gcc version 7.1.1 20170530 [gcc-7-branch revision 248621] (SUSE Linux)
 }}}

 They are (of course) identical to those of Fedora26.

 Glynn, any other output which I should generate?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3331#comment:32>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list