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

FrozenError: can't modify frozen String: "EntityAddress" #5

Open
HLFH opened this issue Jan 19, 2023 · 0 comments
Open

FrozenError: can't modify frozen String: "EntityAddress" #5

HLFH opened this issue Jan 19, 2023 · 0 comments

Comments

@HLFH
Copy link

HLFH commented Jan 19, 2023

Hi,

bin/rake first_run

/srv/http/ekylibre/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/json-2.1.0/lib/json/common.rb:156: warning: Using the last argument as keyword parameters is deprecated
/srv/http/ekylibre/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/json-2.1.0/lib/json/common.rb:156: warning: Using the last argument as keyword parameters is deprecated
/srv/http/ekylibre/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/json-2.1.0/lib/json/common.rb:156: warning: Using the last argument as keyword parameters is deprecated
 + Ekylibre settings (manifest.yml) |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 4% 7sIt's not recommended to use `in` as a field value since `in?` is defined. (Entity#country)
 + Ekylibre settings (manifest.yml) ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 9% 48sIt's not recommended to use `in` as a field value since `in?` is defined. (EntityAddress#mail_country)
/srv/http/ekylibre/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/json-2.1.0/lib/json/common.rb:156: warning: Using the last argument as keyword parameters is deprecated
/srv/http/ekylibre/.rbenv/versions/2.7.7/lib/ruby/gems/2.7.0/gems/json-2.1.0/lib/json/common.rb:156: warning: Using the last argument as keyword parameters is deprecated
rake aborted!
FrozenError: can't modify frozen String: "EntityAddress"
/srv/http/ekylibre/lib/ekylibre/record/selects_among_all.rb:17:in `selects_among_all'
/srv/http/ekylibre/app/models/entity_address.rb:79:in `<class:EntityAddress>'
/srv/http/ekylibre/app/models/entity_address.rb:53:in `<top (required)>'
/srv/http/ekylibre/app/models/entity.rb:253:in `block in <class:Entity>'
/srv/http/ekylibre/app/exchangers/ekylibre/settings_exchanger.rb:77:in `import'
/srv/http/ekylibre/lib/active_exchanger/base.rb:195:in `safe_import'
/srv/http/ekylibre/lib/active_exchanger/base.rb:171:in `block in run'
/srv/http/ekylibre/lib/active_exchanger/base.rb:169:in `run'
/srv/http/ekylibre/lib/active_exchanger/base.rb:87:in `run'
/srv/http/ekylibre/app/models/import.rb:128:in `run_result'
/srv/http/ekylibre/app/models/import.rb:79:in `launch_result!'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:190:in `import!'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:238:in `import'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:123:in `import_file'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:69:in `block (2 levels) in run_loader'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:60:in `each'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:60:in `block in run_loader'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:56:in `run_loader'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:46:in `block (2 levels) in run'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:45:in `each'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:45:in `block in run'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:84:in `secure_transaction'
/srv/http/ekylibre/lib/ekylibre/first_run/base.rb:44:in `run'
/srv/http/ekylibre/lib/ekylibre/first_run.rb:61:in `block in launch'
/srv/http/ekylibre/lib/ekylibre/first_run.rb:78:in `block in secure_tenant'
/srv/http/ekylibre/lib/ekylibre/tenant.rb:166:in `switch'
/srv/http/ekylibre/lib/ekylibre/first_run.rb:77:in `secure_tenant'
/srv/http/ekylibre/lib/ekylibre/first_run.rb:57:in `launch'
/srv/http/ekylibre/lib/ekylibre/first_run.rb:23:in `launch!'
/srv/http/ekylibre/lib/tasks/first_run.rake:46:in `block in <top (required)>'
Tasks: TOP => first_run
(See full trace by running task with --trace)

Thanks for having a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant