[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

gen-make.py gets exception "AttributeError: 'NoneType' object has no attribute 'group'" with --with-libintl option

From: Masaru Tsuchiyama <m.tmatma_at_gmail.com>
Date: Thu, 25 Jul 2013 08:13:58 +0900

Hi.

gen-make.py gets the following exception at r1506773.
        Traceback (most recent call last):
          File "D:\svnwork\exception\gen-make.py", line 330, in <module>
            main(conf, gentype, skip_depends=skip, other_options=rest.list)
          File "D:\svnwork\exception\gen-make.py", line 60, in main
            generator = gen_module.Generator(fname, verfname, other_options)
          File "build\generator\gen_vcnet_vcproj.py", line 36, in __init__
            'vcnet-vcproj')
          File "build\generator\gen_win.py", line 83, in __init__
            self.find_libraries(True)
          File "build\generator\gen_win_dependencies.py", line 287, in find_libraries
            self._find_libintl(show_warnings)
          File "build\generator\gen_win_dependencies.py", line 1185, in _find_libintl
            ver = int(match.group(1), 0)
        AttributeError: 'NoneType' object has no attribute 'group'

I use the following command line.
        gen-make.py -t vcproj ^
        --vsnet-version=2008 ^
        --with-httpd=..\common\httpd-2.2.25 ^
        --with-sqlite=..\common\sqlite-amalgamation-3071700 ^
        --with-openssl=..\common\openssl-1.0.1e ^
        --with-swig=C:\swigwin-2.0.10 ^
        --with-zlib=..\common\zlib-1.2.8 ^
        --disable-shared ^
        --with-serf=..\common\serf-1.2.1 ^
        --with-libintl=..\common\svn-win32-libintl

But if runnning without --with-libintl, it doesn't get the exception.

This exception was introduced at r1504501 and was partially fixed at r1504947.

Regards.

-- 
Masaru Tsuchiyama <m.tmatma_at_gmail.com>
Received on 2013-07-25 01:14:31 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.