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 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

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • CTKNhZElptjSlOrpkXl
  • YCbccqfLGRMnlCWoJhXP
  • Malcolmactig
  • mhliang
  • Kevinmug
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin