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. Node
  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 1 month 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

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
  • dw772
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin