Some hours ago 1.0.190 version of Python lib was released. In coincidence, I tried to execute the example on it for the first time (following this post: https://www.gurux.fi/node/13678), but the example is returning errors and not executing.
As I check, the errors are in code places that was added or changed from 1.0.189 to 1.0.190. So, how this appears to be a bug in v1.0.190 I'm creating this post to notify.
Below the traceback:
```
Traceback (most recent call last):
File "C:\censored\Gurux.DLMS.Python\Gurux.DLMS.Client.Example.python\main.py", line 37, in <module>
import gurux_dlms
File "C:\censored\AppData\Local\Programs\Python\Python311\Lib\site-packages\gurux_dlms\__init__.py", line 41, in <module>
from ._GXAPDU import _GXAPDU
File "C:\censored\AppData\Local\Programs\Python\Python311\Lib\site-packages\gurux_dlms\_GXAPDU.py", line 43, in <module>
from .TranslatorSimpleTags import TranslatorSimpleTags
File "C:\censored\AppData\Local\Programs\Python\Python311\Lib\site-packages\gurux_dlms\TranslatorSimpleTags.py", line 3, in <module>
from .TranslatorGeneralTags import TranslatorGeneralTags
File "C:\censored\AppData\Local\Programs\Python\Python311\Lib\site-packages\gurux_dlms\TranslatorGeneralTags.py", line 37, in <module>
class TranslatorGeneralTags(GXIntEnum):
File "C:\censored\AppData\Local\Programs\Python\Python311\Lib\site-packages\gurux_dlms\TranslatorGeneralTags.py", line 66, in TranslatorGeneralTags
RESPONDING_AE_INVOCATION_ID = 0xAD
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\censored\AppData\Local\Programs\Python\Python311\Lib\enum.py", line 405, in __setitem__
raise TypeError('%r already defined as %r' % (key, self[key]))
TypeError: 'RESPONDING_AE_INVOCATION_ID' already defined as 167
```
Hi Gabriel Lira, Thank you…
Hi Gabriel Lira,
Thank you for pointing this out. This is now fixed to version 1.0.191, and your name is added to the credits.
BR,
Mikko