Hi,
Trying to run various scripts than ran all good a few months back, I get a lot of this error (in various scenarios).
Traceback (most recent call last):
File "FontBuildGlyphsFromComponents.py", line 190
symbol2 = GSComponent("E")
^^^^^^^^^^^^^^^^
File "_new.py", line 98, in __call__
return self._function(*args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "_new.py", line 133, in __new__
raise TypeError(
TypeError: GSComponent() does not accept positional arguments
Traceback (most recent call last):
File "FontBuildGlyphsFromComponents.py", line 4311
raise e
File "FontBuildGlyphsFromComponents.py", line 190
symbol2 = GSComponent("E")
^^^^^^^^^^^^^^^^
File "_new.py", line 98, in __call__
return self._function(*args, **kwds)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "_new.py", line 133, in __new__
raise TypeError(
TypeError: GSComponent() does not accept positional arguments
I’m not sure to understand what _new.py
is?
If I put it as separate keyword argument, it works.
symbol1 = GSComponent()
symbol1.componentName= "A"
But I would like to have your opinion before updating the code everywhere.
What are your thoughts on this?
Thanks for your help