As stated in the documentation, this method should be called traceBlockFromFile and not traceBlockByFile. Previously this would result in a 'The method ... does not exist/is not available' error.
@@ -208,8 +208,8 @@ web3._extend({
params: 1
}),
new web3._extend.Method({
- name: 'traceBlockByFile',
- call: 'debug_traceBlockByFile',
+ name: 'traceBlockFromFile',
+ call: 'debug_traceBlockFromFile',