-
Notifications
You must be signed in to change notification settings - Fork 9
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
Apply rubocop #3
Comments
Hi, newdevel:~/workspace/ib-api$ bundle exec guard
18:46:25 - INFO - Guard::RSpec is running
18:46:25 - INFO - Guard is now watching at '/home/ubuntu/workspace/ib-api'
18:46:54 - INFO - Running: spec/ib/connect_spec.rb
An error occurred while loading spec_helper.
Failure/Error: self::Classes[message_id] = message_class
FrozenError:
can't modify frozen Hash
# ./lib/ib/messages/abstract_message.rb:92:in `def_message'
# ./lib/ib/messages/outgoing.rb:20:in `<module:Outgoing>'
# ./lib/ib/messages/outgoing.rb:8:in `<module:Messages>'
# ./lib/ib/messages/outgoing.rb:6:in `<module:IB>'
# ./lib/ib/messages/outgoing.rb:5:in `<top (required)>'
# ./lib/ib/messages.rb:11:in `require'
# ./lib/ib/messages.rb:11:in `<top (required)>'
# ./lib/ib/connection.rb:4:in `require'
# ./lib/ib/connection.rb:4:in `<top (required)>'
# ./lib/requires.rb:8:in `require'
# ./lib/requires.rb:8:in `<top (required)>'
# ./lib/ib-api.rb:6:in `require'
# ./lib/ib-api.rb:6:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `require'
# ./spec/spec_helper.rb:7:in `<top (required)>' revoked the merge into to master branch. Lets look together, what went wrong (mail me: topofocus@gmail,com) |
Hi,
the console does not start First I changed the method name to 'generate', because Same result. When i switched bach to `random 99999' anything works fine again.
leads to the solution: random_id is also used to generate id's for the received-array, where messages arriving from the tws are stored.
Then this experiment reveals the problem.
ans subsequent usage of the console IB-Core Interactive ConsoleNamespace is IB ! 25967018522
|
Project contain tons of hassle which makes reading the code harder, rubocop should heal it
The text was updated successfully, but these errors were encountered: