Closed rockxsj closed 9 years ago
I have the same problem ..
The file for this version is located at: https://raw.githubusercontent.com/apache/storm/v0.9.2-incubating/storm-core/src/storm.thrift
It should be pretty easy to modify setup.py to use this new location. Would you care to submit a pull request for this fix?
Thanks, I did that. But there seem to be a new problem. Am getting this error:
[root@localhost ~]# petrel
Traceback (most recent call last):
File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/root/Petrel/petrel/petrel/cmdline.py", line 12, in
Try commenting out lines 15 and 16 of topologybuilder.py.
Thanks That worked well..
Great! I hope I can get this updated soon. I don't use Storm at work anymore, so Petrel has gotten out of date.
Fixed for Storm 0.9.2 and 0.9.3. Hopefully this area will be more stable now that Storm is no longer in "incubating" status.
yazi ~/Downloads/Petrel/petrel $ python setup.py develop Traceback (most recent call last): File "setup.py", line 61, in
build_petrel()
File "setup.py", line 40, in build_petrel
f_url = urllib2.urlopen('https://raw.github.com/apache/incubator-storm/%s' % path)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 442, in error
result = self._call_chain(_args)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 629, in http_error_302
return self.parent.open(new, timeout=req.timeout)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/local/Cellar/python/2.7.8_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
yazi ~/Downloads/Petrel/petrel $ storm version
0.9.2-incubating