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

5 years 10 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, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin