Recently we get enormous amount of spam registration. We have closed the registration for new members, sorry...
0 votes
303 views
by

It shows the following error. 

2019-06-09T14:14:05     WARNING    Traceback (most recent call last):
              File "C:/Users/Shishir PC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rivergis\rivergis.py", line 85, in
              self.ui.actionRASXSDownstreamReachLengths.triggered.connect(lambda: r1d.ras1dXSDownstreamLengths(self))
              File "C:/Users/Shishir PC/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\rivergis\ras1dFunctions.py", line 105, in ras1dXSDownstreamLengths
              if row[0].lower() not in ['channel', 'right', 'left', 'c', 'l', 'r']:
             AttributeError: 'NoneType' object has no attribute 'lower'

by
I've got the same problem...


AttributeError: 'NoneType' object has no attribute 'lower'

Traceback (most recent call last):
  File "C:/Users/XXXX/.qgis2/python/plugins\rivergis\rivergis.py", line 84, in
    self.ui.actionRASXSAll.triggered.connect(lambda: r1d.ras1dXSAll(self))
  File "C:/Users/XXXX/.qgis2/python/plugins\rivergis\ras1dFunctions.py", line 155, in ras1dXSAll
    ras1dXSDownstreamLengths(rgis)
  File "C:/Users/XXXX/.qgis2/python/plugins\rivergis\ras1dFunctions.py", line 101, in ras1dXSDownstreamLengths
    if row[0].lower() not in ['channel', 'right', 'left', 'c', 'l', 'r']:
AttributeError: 'NoneType' object has no attribute 'lower'

2 Answers

0 votes
by
I am having the exact same problem.
0 votes
by
I had the same problem and error message. I found that the LineType for the left and right flow paths were missing. After adding "Left" and "Right" to the appropriate lines, it worked OK.
Welcome to RiverGIS Q&A, where you can ask questions and receive answers from other members of the community.

Visit rivergis.com for documentation and general info about the QGIS plugin.

Categories

...