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

grass reclass error - inconsitent use of tabs and spaces #28640

Closed
qgib opened this issue Dec 16, 2018 · 1 comment
Closed

grass reclass error - inconsitent use of tabs and spaces #28640

qgib opened this issue Dec 16, 2018 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS

Comments

@qgib
Copy link
Contributor

qgib commented Dec 16, 2018

Author Name: Adam Dixon (Adam Dixon)
Original Redmine Issue: 20821
Affected QGIS version: 3.4.2
Redmine category:processing/grass


I kept running into an error with on Mac QGIS 3.4.2, with the error calling inconsistent use of tabs and spaces. I looked for errant tabs in my table, and tried following the suggestion here [https://stackoverflow.com/questions/53544255/i-am-trying-to-run-the-r-reclass-on-qgis-and-keep-getting-an-indentation-error] (the one to change code to handle spaces) and was still not able to get it to work.

I tried again on a windows QGIS 2.18 version and it worked fine so I think there is a bug in 3.4.

Cheers,
A

Here is part of my error message that I think will be helpful:
File "/Applications/QGIS3.app/Contents/MacOS/grass/grass74", line 1697
sys.stdout.write("%s\n" % grass_version)
^
TabError: inconsistent use of tabs and spaces in indentation
File "/Applications/QGIS3.app/Contents/MacOS/grass/grass74", line 1697
sys.stdout.write("%s\n" % grass_version)
^
TabError: inconsistent use of tabs and spaces in indentation
Execution completed in 0.68 seconds
Results:
{'output': <QgsProcessingOutputLayerDefinition {'sink':/Users/adamdixon/Dropbox/A_School/2020_GrassyMargins/common_RS_datasets_northernPlains/CDL_Iowa/three.tif, 'createOptions': {'fileEncoding': 'System'}}>}

Loading resulting layers
The following layers were not correctly generated.

  • /Users/adamdixon/Dropbox/A_School/2020_GrassyMargins/common_RS_datasets_northernPlains/CDL_Iowa/three.tif
You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.

@qgib
Copy link
Contributor Author

qgib commented Jan 22, 2019

Author Name: Alexander Bruy (@alexbruy)


GRASS GIS uses Python 2 while QGIS 3.x relies on the Python 3. It is necessary to wait for GRASS 7.8 which will use Python 3.


  • resolution was changed from to up/downstream
  • status_id was changed from Open to Rejected
  • category_id was changed from GRASS to Processing/GRASS

@qgib qgib closed this as completed Jan 22, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! GRASS 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! GRASS
Projects
None yet
Development

No branches or pull requests

1 participant