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

Erro ao executar now run #154

Open
anaeletrica opened this issue Jun 4, 2024 · 0 comments
Open

Erro ao executar now run #154

anaeletrica opened this issue Jun 4, 2024 · 0 comments
Labels

Comments

@anaeletrica
Copy link
Collaborator

Ao executar o script https://github.com/gems-uff/pypofacets/blob/master/modular_pypofacets.py) pela linha de comando:

now run modular_pypofacets.py BOX input_data_file_002.dat

Retorna o seguinte erro:
[now] TypeError("unsupported operand type(s) for +=: 'int' and 'NoneType'")
the execution finished with an uncaught exception. Traceback (most recent call last):
File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\execution.py", line 64, in collect_provenance
exec(compiled, metascript.namespace) # pylint: disable=exec-used
File "C:\Users\rita\Documents\bla\PyPOFacets\modular_pypofacets.py", line 212, in
calculate_spherical_coordinate_system_radial_unit_vector(i2s, D0, output_dir)
File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\collector.py", line 1207, in _call
result = future.func(*args, **kwargs)
File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\collector.py", line 1371, in new_function_def
activation, function_def, args, kwargs, default_values, defaults, *args, **kwargs
File "C:\Users\rita\Documents\bla\PyPOFacets\modular_pypofacets.py", line 165, in calculate_spherical_coordinate_system_radial_unit_vector
File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\collector.py", line 1122, in assign
return self.assign_multiple(activation, assign, target_info, depa, ldepa, back + 1)
File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\collector.py", line 1066, in assign_multiple
activation, assign, target_info, custom_dependency, back + 1
File "C:\Users\rita\Documents\bla\myenv\lib\site-packages\noworkflow-2.0.0-py3.7.egg\noworkflow\now\collection\prov_execution\collector.py", line 1083, in assign_multiple_apply
delta += self.assign(activation, assign.sub(val, adepa), subcomp, back + 1)
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants