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

BatchProcessingDialog object has no attribute #17476

Closed
qgib opened this issue Oct 4, 2013 · 7 comments
Closed

BatchProcessingDialog object has no attribute #17476

qgib opened this issue Oct 4, 2013 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Oct 4, 2013

Author Name: Steven Horner (Steven Horner)
Original Redmine Issue: 8770
Affected QGIS version: master
Redmine category:processing/core
Assignee: Victor Olaya


Just installed and tested the latest Windows 64bit dev release installed with osgeo4w-setup-x86_64.

For the first time in Windows 64bit QGIS I got the GRASS command r.los to work in processing. Unfortunately when I try to run r.los in BatchMode I get the following error:

@
'BatchProcessingDialog' object has no attribute 'showDebug'
see log for more details@

The log file shows the following:

@uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "C:/OSGeo4W64/apps/qgis-dev/./python/plugins\processing\core\GeoAlgorithm.py", line 201, in execute
self.processAlgorithm(progress)
File "C:/OSGeo4W64/apps/qgis-dev/./python/plugins\processing\grass\GrassAlgorithm.py", line 401, in processAlgorithm
progress.setCommand(line)
File "C:/OSGeo4W64/apps/qgis-dev/./python/plugins\processing\gui\AlgorithmExecutionDialog.py", line 334, in setCommand
if self.showDebug:
AttributeError: 'BatchProcessingDialog' object has no attribute 'showDebug'
@

I had completed every field the same as when running the command in non BatchMode, so don't think the "object has no attribute" is related to anything I missed but something in the code.

@qgib
Copy link
Contributor Author

qgib commented Oct 4, 2013

Author Name: Filipe Dias (@fsdias)


  • assigned_to_id was configured as Victor Olaya
  • category_id was configured as 94

@qgib
Copy link
Contributor Author

qgib commented Oct 4, 2013

Author Name: Giovanni Manghi (@gioman)


There are still issues with the standalone installers and the processing framework, but seems ok on the osgeo4w installers. I just installed qgis 64 bit with the osgeo4w64 installer and successfully run r.los in batch mode (on qgis 2.0.1).

Please confirm if works also for you.


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Oct 5, 2013

Author Name: Steven Horner (Steven Horner)


I tested using the osgeow 64 bit installer and installing 2.0.1 and I can confirm it does indeed work. A problem must exist with the standalone 64bit installer and the latest master installed with the same osgeow insaller. The original error above is from the nightly build.

Happy I finally have a version working.

@qgib
Copy link
Contributor Author

qgib commented Oct 6, 2013

Author Name: Giovanni Manghi (@gioman)


I'll close this because the issue is not in processing itself but in qgis packaging and it was already reported in another ticket.


  • status_id was changed from Feedback to Closed
  • resolution was changed from to invalid

@qgib
Copy link
Contributor Author

qgib commented Oct 6, 2013

Author Name: Victor Olaya (@volaya)


It is not a problem in packaging, but actually a bug introduced in master with one of the latest changes I made. I have just fixed it in master. Thanks to both of you for reporting it!


  • resolution was changed from invalid to fixed

@qgib
Copy link
Contributor Author

qgib commented Oct 6, 2013

Author Name: Giovanni Manghi (@gioman)


Victor Olaya wrote:

It is not a problem in packaging, but actually a bug introduced in master with one of the latest changes I made. I have just fixed it in master. Thanks to both of you for reporting it!

ah ok! but anyway grass and grass/processing are broken in the standalone installers, but fixed on osgeo4w(32/64) so I think it is just needed to wait for new builds.

@qgib
Copy link
Contributor Author

qgib commented Jun 7, 2015

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from 94 to Processing/Core

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 24, 2019
@qgib qgib closed this as completed May 24, 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! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant