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

QGIS - query / python error #24492

Closed
qgib opened this issue May 22, 2017 · 1 comment
Closed

QGIS - query / python error #24492

qgib opened this issue May 22, 2017 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins

Comments

@qgib
Copy link
Contributor

qgib commented May 22, 2017

Author Name: James 5 (James 5)
Original Redmine Issue: 16590
Affected QGIS version: 2.18.7
Redmine category:python_plugins


Hello, I tried to create query in PostgisQuery - Editor 2.0.0 and I received error message.
I am receiving same error in postgisQueryBuilder.

An error has occurred while executing Python code: 

TypeError: 'NoneType' object has no attribute '__getitem__' 
Traceback (most recent call last):
  File "/Users/james/.qgis2/python/plugins/postgisquery/PostgisQuery.py", line 173, in showVLayer
    tmpLayerDef = self.createShapeFileName(self.postgisQueryTmpPath)
  File "/Users/james/.qgis2/python/plugins/postgisquery/PostgisQuery.py", line 236, in createShapeFileName
    if myPath[-1] == "/":
TypeError: 'NoneType' object has no attribute '__getitem__'


Python version: 2.7.10 (default, Jul 30 2016, 18:31:42) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] 
QGIS version: 2.18.7 Las Palmas, exported

@qgib
Copy link
Contributor Author

qgib commented May 22, 2017

Author Name: James 5 (James 5)


Sorry, my bad. I didn't deliver password.


  • status_id was changed from Open to Closed

@qgib qgib closed this as completed May 22, 2017
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins
Projects
None yet
Development

No branches or pull requests

1 participant