discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

a warning message from the Mac OS build - itstool complaining about excape codes

V
vulcan_@mac.com
Tue, Sep 23, 2025 8:21 PM

this is not in OpenSCAD code is it?

388 translated messages, 109 fuzzy translations, 169 untranslated messages.

/usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:223: SyntaxWarning: invalid escape sequence '\s'

if re.sub('\s+', ' ', text).strip() != '':

/usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:321: SyntaxWarning: invalid escape sequence '\s'

message = re.sub('\s+', ' ', message).strip()

/usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:459: SyntaxWarning: invalid escape sequence '\s'

return re.sub('\s+', ' ', self.locnote).strip()

/usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:461: SyntaxWarning: invalid escape sequence '\s'

return '(itstool) link: ' + re.sub('\s+', ' ', self.locnoteref).strip()

/usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:892: SyntaxWarning: invalid escape sequence '\<'

regex = re.compile('(.*) \<(.*)\>, (.*)')

/usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:927: SyntaxWarning: invalid escape sequence '\s'

if re.sub('\s+', '', prevtext) == '':

/usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:1471: SyntaxWarning: invalid escape sequence '\.'

locale_pattern = re.compile('([a-zA-Z0-9-]+)([A-Za-z0-9]+)?(@[A-Za-z0-9]+)?(\.[A-Za-z0-9]+)?')

[ 98%] Built target OpenSCAD

this is not in OpenSCAD code is it? > 388 translated messages, 109 fuzzy translations, 169 untranslated messages. > > /usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:223: SyntaxWarning: invalid escape sequence '\\s' > > if re.sub('\\s+', ' ', text).strip() != '': > > /usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:321: SyntaxWarning: invalid escape sequence '\\s' > > message = re.sub('\\s+', ' ', message).strip() > > /usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:459: SyntaxWarning: invalid escape sequence '\\s' > > return re.sub('\\s+', ' ', self.locnote).strip() > > /usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:461: SyntaxWarning: invalid escape sequence '\\s' > > return '(itstool) link: ' + re.sub('\\s+', ' ', self.locnoteref).strip() > > /usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:892: SyntaxWarning: invalid escape sequence '\\<' > > regex = re.compile('(.\*) \\<(.\*)\\>, (.\*)') > > /usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:927: SyntaxWarning: invalid escape sequence '\\s' > > if re.sub('\\s+', '', prevtext) == '': > > /usr/local/Cellar/itstool/2.0.7_1/libexec/bin/itstool:1471: SyntaxWarning: invalid escape sequence '\\.' > > _locale_pattern = re.compile('(\[a-zA-Z0-9-\]+)(_\[A-Za-z0-9\]+)?(@\[A-Za-z0-9\]+)?(\\.\[A-Za-z0-9\]+)?') > > \[ 98%\] Built target OpenSCAD
TP
Torsten Paul
Tue, Sep 23, 2025 8:32 PM

On 23.09.25 22:21, vulcan_--- via Discuss wrote:

this is not in OpenSCAD code is it?

No...

itstool

...this is used to handle translation of the application
meta data file (openscad.appdata.xml).

That error looks to me like running a python program with
an unsupported (newer) version of python that complains
about the regex not being marked as raw-string. But that's
just guessing.

ciao,
Torsten.

On 23.09.25 22:21, vulcan_--- via Discuss wrote: > this is not in OpenSCAD code is it? No... > itstool ...this is used to handle translation of the application meta data file (openscad.appdata.xml). That error looks to me like running a python program with an unsupported (newer) version of python that complains about the regex not being marked as raw-string. But that's just guessing. ciao, Torsten.