Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. AttributeError: 'GXXmlWriter' Object Has No Attribute 'WriteEndElement'

AttributeError: 'GXXmlWriter' object has no attribute 'WriteEndElement'

By sgbubble, 18 March, 2025
Forums
Gurux.DLMS

Hi,

I'm starting by reading the object list from meter and then saving it in a file, but the saving process is giving me the following error:

File "\AppData\Local\Programs\Python\Python39\lib\site-packages\gurux_dlms\objects\GXDLMSObjectCollection.py", line 253, in save
it.save(writer)
File "\AppData\Local\Programs\Python\Python39\lib\site-packages\gurux_dlms\objects\GXDLMSFunctionControl.py", line 381, in save
writer.WriteEndElement() # Activations
AttributeError: 'GXXmlWriter' object has no attribute 'WriteEndElement'

I have successfully save the object's list when there is no function control object so I think it is related to that module. Any ideas?

Thank you in advance.

Profile picture for user Kurumi

Kurumi

9 months ago

Hi, Thank you for pointing…

Hi,

Thank you for pointing this out. This is fixed to version version 1.0.175.

BR,
Mikko

sgbubble

9 months ago

Thank you for your quick…

Thank you for your quick response. Related to Function Control, I have also detected that in GXDLMSConverter.py module methods objectTypeToString() and valueOfObjectType() Function control is missing.

Thanks

Profile picture for user Kurumi

Kurumi

8 months 4 weeks ago

Hi, Thank you for pointing…

Hi,

Thank you for pointing this out. This is fixed to version version 1.0.176.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Fri, 12/12/2025 - 08:38
    Gurux.DLMS.Python 1.0.195
  • Thu, 12/11/2025 - 13:22
    Gurux.DLMS.Python 1.0.194
  • Thu, 12/11/2025 - 11:01
    gurux.dlms.java 4.0.86
  • Wed, 12/10/2025 - 08:45
    gurux.dlms.java 4.0.85
  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201

New forum topics

  • Inhemeter i210 dlms director
  • Gurux.Net
  • GXTIME Conversion Issue
  • DLMS Meter Gurux DLMS Director Properties
  • Using MAX3232 + FT232RL to Energy meter with GXDLMS Director
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin