Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

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

Breadcrumb

  1. Home
  2. Forums
  3. GXDLMSLimits Object Has No Attribute SetMaxInfoTX (Python)

GXDLMSLimits object has no attribute setMaxInfoTX (Python)

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By pylalu , 24 July, 2020
Forums
General discussion

Hi,

I’m testing my device using Gurux.DLMS.Client.Example.python main.py file executing as follows:

python main.py -h 192.168.0.7 -p 4059 -a Low -P password -c 2 -s 149 -r sn -g 0.0.1.0.0.255:00 -t Verbose

I got the following error:

gurux_dlms version: 1.0.83
gurux_net version: 1.0.17
gurux_serial version: 1.0.14
Authentication: Authentication.LOW
ClientAddress: 0x2
ServerAddress: 0x95
Standard: Standard.DLMS
TX: 10:39:04 7E A0 08 02 2B 05 93 2C E6 7E
RX: 10:39:04 7E A0 08 05 02 2B 73 05 70 7E
Traceback (most recent call last):
File "main.py", line 87, in main
reader.initializeConnection()
File "/home/laura/Escritorio/Workspace/Gurux.DLMS.Client.Example.python/GXDLMSReader.py", line 311, in initializeConnection
self.client.parseUAResponse(reply.data)
File "/home/laura/.local/lib/python3.8/site-packages/gurux_dlms/GXDLMSClient.py", line 470, in parseUAResponse
GXDLMS.parseSnrmUaResponse(data, self.settings.limits)
File "/home/laura/.local/lib/python3.8/site-packages/gurux_dlms/GXDLMS.py", line 1986, in parseSnrmUaResponse
limits.setMaxInfoTX(GXDLMSLimits.DEFAULT_MAX_INFO_TX)
AttributeError: 'GXDLMSLimits' object has no attribute 'setMaxInfoTX'
DisconnectRequest
Ended. Press any key to continue.

GXDLMSLimit.py file, which contains GXDLMSLimits class definition, doesn’t contain methods that are requested in parseSnrmUaResponse().

Is there any problem with my arguments when client example is executed?

Thanks in advance,

Laura

Profile picture for user Kurumi

Kurumi

6 years 3 months ago

Hi,

Hi,
Your meter don't return used values. This is fixed to version 1.0.84. Run this:
pip install --upgrade gurux-dlms

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Association refresh related issue
  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
More

Who's new

  • Anand Raj
  • amir.jradi
  • JOEBID€N123
  • yogibear
  • Eric@li
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin