Hi. I just copied and pasted the lines one by one in a notebook and I get the following error with this line:
sentiment_2014_df = bz.compute(sentiment_2014_expr)
ValueErrorTraceback (most recent call last)
in ()
----> 1 sentiment_2014_df = bz.compute(sentiment_2014_expr)
/usr/local/lib/python2.7/dist-packages/multipledispatch/dispatcher.pyc in call(self, *args, **kwargs)
162 self._cache[types] = func
163 try:
--> 164 return func(*args, **kwargs)
165
166 except MDNotImplementedError:
/build/src/qexec_repo/src/blaze/blaze/interactive.pyc in compute(expr, **kwargs)
203 raise ValueError("No data resources found")
204 else:
--> 205 return compute(expr, resources, **kwargs)
206
207
/usr/local/lib/python2.7/dist-packages/multipledispatch/dispatcher.pyc in call(self, *args, **kwargs)
162 self._cache[types] = func
163 try:
--> 164 return func(*args, **kwargs)
165
166 except MDNotImplementedError:
/build/src/qexec_repo/src/blaze/blaze/compute/core.pyc in compute(expr, d, return_type, **kwargs)
410 d4 = d3
411
--> 412 result = top_then_bottom_then_top_again_etc(expr3, d4, **kwargs)
413 if post_compute_:
414 result = post_compute_(expr3, result, scope=d4)
/build/src/qexec_repo/src/blaze/blaze/compute/core.pyc in top_then_bottom_then_top_again_etc(expr, scope, **kwargs)
151 # 1. See if we have a direct computation path with compute_down
152 try:
--> 153 return compute_down(expr, *leaf_data, **kwargs)
154 except NotImplementedError:
155 pass
/usr/local/lib/python2.7/dist-packages/multipledispatch/dispatcher.pyc in call(self, *args, **kwargs)
162 self._cache[types] = func
163 try:
--> 164 return func(*args, **kwargs)
165
166 except MDNotImplementedError:
/build/src/qexec_repo/src/blaze/blaze/server/client.pyc in compute_down(expr, ec, profiler_output, compute_kwargs, odo_kwargs, **kwargs)
240
241 if not ok(r):
--> 242 raise ValueError("Bad response: %s" % reason(r))
243 response = serial.loads(content(r))
244 if profiler_output is not None:
ValueError: Bad response: Computation failed with message:
AttributeError: 'frozenset' object has no attribute 'resources'
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/server/server.py", line 647, in compserver
**compute_kwargs),
File "/home/databazaar/.venv/lib/python3.5/site-packages/multipledispatch/dispatcher.py", line 164, in __call_
return func(*args, **kwargs)
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/compute/core.py", line 424, in compute
d2 = swap_resources_into_scope(expr, d)
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/compute/core.py", line 367, in swap_resources_into_scope
return toolz.merge(expr._resources(), scope)
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/expr/core.py", line 239, in _resources
return toolz.merge(arg._resources() for arg in self._inputs)
File "/home/databazaar/.venv/src/toolz/toolz/dicttoolz.py", line 38, in merge
for d in dicts:
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/expr/core.py", line 239, in
return toolz.merge(arg._resources() for arg in self._inputs)
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/expr/core.py", line 239, in _resources
return toolz.merge(arg._resources() for arg in self._inputs)
File "/home/databazaar/.venv/src/toolz/toolz/dicttoolz.py", line 38, in merge
for d in dicts:
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/expr/core.py", line 239, in
return toolz.merge(arg._resources() for arg in self._inputs)
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/expr/core.py", line 239, in _resources
return toolz.merge(arg._resources() for arg in self._inputs)
File "/home/databazaar/.venv/src/toolz/toolz/dicttoolz.py", line 38, in merge
for d in dicts:
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/expr/core.py", line 239, in
return toolz.merge(arg._resources() for arg in self._inputs)
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/expr/core.py", line 239, in _resources
return toolz.merge(arg._resources() for arg in self._inputs)
File "/home/databazaar/.venv/src/toolz/toolz/dicttoolz.py", line 38, in merge
for d in dicts:
File "/home/databazaar/databazaar-clone/submodules/blaze/blaze/expr/core.py", line 239, in
return toolz.merge(arg._resources() for arg in self._inputs)
Don't know if anybodyelse has had it.