'QTextEdit' object is not callable

Issue #196 invalid
Reimar Bauer created an issue

enabling service_abstract = "Your Abstract" gives this traceback

Traceback (most recent call last):
  File "/home/user/PycharmProjects/mss/mslib/msui/wms_control.py", line 675, in getCapabilities
    self.activateWMS(wms)
  File "/home/user/PycharmProjects/mss/mslib/msui/wms_control.py", line 704, in activateWMS
    self.layerChanged(0)
  File "/home/user/PycharmProjects/mss/mslib/msui/wms_control.py", line 821, in layerChanged
    self.teLayerAbstract(abstract_text)
TypeError: 'QTextEdit' object is not callable

Comments (3)

  1. Reimar Bauer reporter

    service_abstract = "Your Abstract" is not related to the lines there. needs more investigation

    • teLayerAbstract is used to set an abstract based on a Layer.

    • service_abstract is for the global abstract

  2. Log in to comment