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

did not find expected node content while parsing a flow node at line 1 column 10 (Psych::SyntaxError) #28

Open
Vchekryzhov opened this issue Jan 5, 2022 · 0 comments

Comments

@Vchekryzhov
Copy link

Vchekryzhov commented Jan 5, 2022

I tried run this, but got error
rails g i18n ru
Running via Spring preloader in process 155759
fetching ru.yml from rails-i18n repository...
conflict config/locales/ru.yml
Overwrite /home/viktor/projects/truck_helper/config/locales/ru.yml? (enter "h" for help) [Ynaqdhm] y
force config/locales/ru.yml
translating models to ru...
/usr/share/rvm/rubies/ruby-3.0.2/lib/ruby/3.0.0/psych.rb:456:in parse': (<unknown>): did not find expected node content while parsing a flow node at line 1 column 10 (Psych::SyntaxError) from /usr/share/rvm/rubies/ruby-3.0.2/lib/ruby/3.0.0/psych.rb:456:in parse_stream'
from /usr/share/rvm/rubies/ruby-3.0.2/lib/ruby/3.0.0/psych.rb:390:in parse' from /usr/share/rvm/rubies/ruby-3.0.2/lib/ruby/3.0.0/psych.rb:280:in load'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:14:in initialize' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:103:in new'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:103:in find_line_by_path' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:85:in block in find_line_by_path'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:77:in each' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:77:in find_line_by_path'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:85:in block in find_line_by_path' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:77:in each'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:77:in find_line_by_path' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:85:in block in find_line_by_path'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:77:in each' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:77:in find_line_by_path'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:85:in block in find_line_by_path' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:77:in each'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:77:in find_line_by_path' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/lib/yaml.rb:121:in []='
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:33:in block in main' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:136:in block in each_value'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:132:in each' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:132:in each_value'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:134:in block in each_value' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:132:in each'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:132:in each_value' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:134:in block in each_value'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:132:in each' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:132:in each_value'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:134:in block in each_value' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:132:in each'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:132:in each_value' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n_translation/i18n_translation_generator.rb:31:in main'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/i18n_generators-2.2.2/lib/generators/i18n/i18n_generator.rb:15:in main' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor/command.rb:27:in run'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor/invocation.rb:127:in invoke_command' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor/invocation.rb:134:in block in invoke_all'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor/invocation.rb:134:in each' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor/invocation.rb:134:in map'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor/invocation.rb:134:in invoke_all' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor/group.rb:232:in dispatch'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor/base.rb:485:in start' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/railties-6.1.4/lib/rails/generators.rb:275:in invoke'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/railties-6.1.4/lib/rails/commands/generate/generate_command.rb:26:in perform' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor/command.rb:27:in run'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor/invocation.rb:127:in invoke_command' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/thor-1.1.0/lib/thor.rb:392:in dispatch'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/railties-6.1.4/lib/rails/command/base.rb:69:in perform' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/railties-6.1.4/lib/rails/command.rb:48:in invoke'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/railties-6.1.4/lib/rails/commands.rb:18:in <top (required)>' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in require'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in require' from /home/viktor/projects/truck_helper/bin/rails:5:in <top (required)>'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/spring-2.1.1/lib/spring/commands/rails.rb:6:in load' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/spring-2.1.1/lib/spring/commands/rails.rb:6:in call'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/spring-2.1.1/lib/spring/command_wrapper.rb:38:in call' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/spring-2.1.1/lib/spring/application.rb:220:in block in serve'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/activesupport-6.1.4/lib/active_support/fork_tracker.rb:10:in block in fork' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/activesupport-6.1.4/lib/active_support/fork_tracker.rb:10:in block in fork'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/activesupport-6.1.4/lib/active_support/fork_tracker.rb:8:in fork' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/activesupport-6.1.4/lib/active_support/fork_tracker.rb:8:in fork'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/activesupport-6.1.4/lib/active_support/fork_tracker.rb:27:in fork' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/activesupport-6.1.4/lib/active_support/fork_tracker.rb:8:in fork'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/activesupport-6.1.4/lib/active_support/fork_tracker.rb:27:in fork' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/spring-2.1.1/lib/spring/application.rb:180:in serve'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/spring-2.1.1/lib/spring/application.rb:145:in block in run' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/spring-2.1.1/lib/spring/application.rb:139:in loop'
from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/spring-2.1.1/lib/spring/application.rb:139:in run' from /home/viktor/.rvm/gems/ruby-3.0.2@truck_helper/gems/spring-2.1.1/lib/spring/application/boot.rb:19:in <top (required)>'
from internal:/usr/share/rvm/rubies/ruby-3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb:85:in require' from <internal:/usr/share/rvm/rubies/ruby-3.0.2/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in require'
from -e:1:in `

'

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