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

global name not defined #18125

Closed
qgib opened this issue Feb 11, 2014 · 1 comment
Closed

global name not defined #18125

qgib opened this issue Feb 11, 2014 · 1 comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter!

Comments

@qgib
Copy link
Contributor

qgib commented Feb 11, 2014

Author Name: maria prove (maria prove)
Original Redmine Issue: 9537
Affected QGIS version: 2.0.1


Hi.

I'm trying to use a plugin (ProcessingPermaclim provider), but with one of the scripts I get the error "global name Tarray not defined".

Here is the log:

Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
  File "/Users/Maria/.qgis2/python/plugins/processing/core/GeoAlgorithm.py", line 202, in execute
    self.processAlgorithm(progress)
  File "/Users/Maria/.qgis2/python/plugins/permaclim/GroundSurfaceTemperatureTime.py", line 195, in processAlgorithm
    gst.compute()
  File "/Users/Maria/.qgis2/python/plugins/permaclim/GroundSurfaceTemperatureTime.py", line 120, in compute
    data = Tarray(T0_data, Hn_data, Ta_data, self.K, self.Qs).astype(numpy.float)
NameError: global name 'Tarray' is not defined

and attacher is the python script causing troubles..!

Thank you!


@qgib
Copy link
Contributor Author

qgib commented Feb 11, 2014

Author Name: maria prove (maria prove)


ok, there was some extra spaces in front of TARRAY which apparently had been eluding my eyes for the last 2 days! :/ ;)


  • done_ratio was changed from 0 to 100
  • status_id was changed from Open to Closed

@qgib qgib added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label 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!
Projects
None yet
Development

No branches or pull requests

1 participant