Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: QgsVectorLayer.selectByRect(): argument 2 has unexpected type 'bool' #6

Open
ar-siddiqui opened this issue Sep 21, 2022 · 0 comments

Comments

@ar-siddiqui
Copy link

ar-siddiqui commented Sep 21, 2022

Getting the following error while selecting multiple layers.

An error has occurred while executing Python code:

TypeError: QgsVectorLayer.selectByRect(): argument 2 has unexpected type 'bool' 
Traceback (most recent call last):
  File "C:\Users/asiddiqui/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\MultipleLayerSelection\MultiLayerRectangleSelection.py", line 43, in canvasReleaseEvent
    layer.selectByRect(lRect, False)
TypeError: QgsVectorLayer.selectByRect(): argument 2 has unexpected type 'bool'


Python version: 3.9.5 (tags/v3.9.5:0a7dcbd, May  3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)] 
QGIS version: 3.26.2-Buenos Aires Buenos Aires, feec3d3b12f 

Python Path:
C:\Users/asiddiqui/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\curve_number_generator
C:\Users/asiddiqui/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\curve_number_generator\processing\algorithms\conus_nlcd_ssurgo
C:/OSGeo4W/apps/qgis/./python
C:/Users/asiddiqui/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/asiddiqui/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/OSGeo4W/apps/qgis/./python/plugins
C:\OSGeo4W\bin\python39.zip
C:\OSGeo4W\apps\Python39\DLLs
C:\OSGeo4W\apps\Python39\lib
C:\OSGeo4W\bin
C:\Users\asiddiqui\AppData\Roaming\Python\Python39\site-packages
C:\OSGeo4W\apps\Python39
C:\OSGeo4W\apps\Python39\lib\site-packages
C:\OSGeo4W\apps\Python39\lib\site-packages\win32
C:\OSGeo4W\apps\Python39\lib\site-packages\win32\lib
C:\OSGeo4W\apps\Python39\lib\site-packages\Pythonwin
C:/Users/asiddiqui/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users/asiddiqui/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\curve_number_generator\processing
C:\Users/asiddiqui/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\curve_number_generator\processing\algorithms\custom
C:\Users\asiddiqui\AppData\Roaming\Python\Python39\site-packages\IPython\extensions
C:\Users\asiddiqui\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant