[ITK] [ITK-dev] InDoxygenGroup Test with Python 3.6 failures

Lowekamp, Bradley (NIH/NLM/LHC) [C] blowekamp at mail.nih.gov
Wed Feb 8 08:34:28 EST 2017


Hello,

We had Python 3.6 installed on several build servers yesterday. This is resulting in failure of the InDoxygenGroup tests:
https://open.cdash.org/viewTest.php?onlyfailed&buildid=4758514

It looks like the mcdoc.py script need to be updated.

Test output

Traceback (most recent call last):
  File "C:/d/itk-vs9-64rs/ITK/CMake/../Utilities/Doxygen/mcdoc.py", line 175, in <module>
    ret = main()
  File "C:/d/itk-vs9-64rs/ITK/CMake/../Utilities/Doxygen/mcdoc.py", line 139, in main
    ret = max( ret, checkGroup(fname2, module) )
  File "C:/d/itk-vs9-64rs/ITK/CMake/../Utilities/Doxygen/mcdoc.py", line 84, in checkGroup
    if not re.search(r"\ingroup .*"+group+"(\s|$)", dcontent, re.MULTILINE):
  File "C:\Python36\lib\re.py", line 182, in search
    return _compile(pattern, flags).search(string)
  File "C:\Python36\lib\re.py", line 301, in _compile
    p = sre_compile.compile(pattern, flags)
  File "C:\Python36\lib\sre_compile.py", line 562, in compile
    p = sre_parse.parse(p, flags)
  File "C:\Python36\lib\sre_parse.py", line 856, in parse
    p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, False)
  File "C:\Python36\lib\sre_parse.py", line 415, in _parse_sub
    itemsappend(_parse(source, state, verbose))
  File "C:\Python36\lib\sre_parse.py", line 501, in _parse
    code = _escape(source, this, state)
  File "C:\Python36\lib\sre_parse.py", line 401, in _escape
    raise source.error("bad escape %s" % escape, len(escape))
sre_constants.error: bad escape \i at position 0

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/community/attachments/20170208/5629e84e/attachment-0001.html>
-------------- next part --------------
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers


More information about the Community mailing list