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

I can't run test function #156

higumachan opened this issue Aug 10, 2017 · 1 comment

I can't run test function #156

higumachan opened this issue Aug 10, 2017 · 1 comment


Copy link

@higumachan higumachan commented Aug 10, 2017

Hi, I want to run pywren.
But, I got this error when I'm running script.

pywren test_function
Traceback (most recent call last):
  File "/Users/kuma/.pyenv/versions/abeja-dsf/bin/pywren", line 11, in <module>
  File "/Users/kuma/.pyenv/versions/3.5.3/envs/abeja-dsf/lib/python3.5/site-packages/pywren/scripts/", line 572, in main
    return cli(obj={})
  File "/Users/kuma/.pyenv/versions/3.5.3/envs/abeja-dsf/lib/python3.5/site-packages/click/", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/kuma/.pyenv/versions/3.5.3/envs/abeja-dsf/lib/python3.5/site-packages/click/", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/kuma/.pyenv/versions/3.5.3/envs/abeja-dsf/lib/python3.5/site-packages/click/", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/kuma/.pyenv/versions/3.5.3/envs/abeja-dsf/lib/python3.5/site-packages/click/", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/kuma/.pyenv/versions/3.5.3/envs/abeja-dsf/lib/python3.5/site-packages/click/", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/kuma/.pyenv/versions/3.5.3/envs/abeja-dsf/lib/python3.5/site-packages/click/", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/kuma/.pyenv/versions/3.5.3/envs/abeja-dsf/lib/python3.5/site-packages/pywren/scripts/", line 374, in test_function
    res = fut.result() 
  File "/Users/kuma/.pyenv/versions/3.5.3/envs/abeja-dsf/lib/python3.5/site-packages/pywren/", line 194, in result
  File "/Users/kuma/.pyenv/versions/3.5.3/envs/abeja-dsf/lib/python3.5/site-packages/", line 685, in reraise
    raise value.with_traceback(tb)
  File "/var/task/", line 27, in <module>
  File "/tmp/condaruntime/lib/python3.5/site-packages/cloudpickle/", line 800, in _make_skel_func
  File "/tmp/condaruntime/lib/python3.5/site-packages/cloudpickle/", line 792, in _reconstruct_closure
TypeError: 'int' object is not iterable
Copy link

@apengwin apengwin commented Aug 17, 2017

@higumachan this might be an issue with cloudpickle versioning.
Can you try pip install cloudpickle=0.2?

@apengwin apengwin closed this Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.