GithubHelp home page GithubHelp logo

Comments (3)

hoatle avatar hoatle commented on August 25, 2024

related error when $ cd ~/xxx-dev && vagrant status

C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/logging/mask_filter.rb:38:in `block in masked'
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/set.rb:324:in `each_key'
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/set.rb:324:in `each'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/logging/mask_filter.rb:36:in `masked'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/logging/mask_filter.rb:28:in `filtered'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/logging.rb:62:in `block (2 levels) in configure_logger_for'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/logging.rb:61:in `each'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/logging.rb:61:in `block in configure_logger_for'
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/logger.rb:582:in `format_message'
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/logger.rb:470:in `add'
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/logger.rb:534:in `warn'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/location/git_synch.rb:21:in `rescue in sync'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/location/git_synch.rb:17:in `sync'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/location/manager.rb:19:in `block in sync'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/location/manager.rb:18:in `each'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/location/manager.rb:18:in `sync'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/loader.rb:127:in `sync_teracy_dev_entry'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/loader.rb:49:in `sync'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev/loader.rb:32:in `start'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev.rb:37:in `<module:TeracyDev>'
C:/cygwin64/home/user/xxx-dev/lib/teracy-dev.rb:11:in `<top (required)>'
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
C:/HashiCorp/Vagrant/embedded/mingw64/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require'
C:/cygwin64/home/user/xxx-dev/Vagrantfile:21:in `<top (required)>'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:239:in `load'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:239:in `block in procs_for_path'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config.rb:53:in `block in capture_configures'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config.rb:48:in `synchronize'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config.rb:48:in `capture_configures'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:237:in `procs_for_path'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:223:in `procs_for_source'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:67:in `block in set'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:61:in `each'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/config/loader.rb:61:in `set'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:489:in `config_loader'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:794:in `vagrantfile'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/lib/vagrant/environment.rb:178:in `initialize'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/bin/vagrant:145:in `new'
C:/HashiCorp/Vagrant/embedded/gems/2.2.4/gems/vagrant-2.2.4/bin/vagrant:145:in `<main>'
Vagrant failed to initialize at a very early stage:
There was an error loading a Vagrantfile. The file being loaded
and the error message are shown below. This is usually caused by
a syntax error.
Path: C:/cygwin64/home/user/xxx-dev/Vagrantfile
Line number: 0
Message: NoMethodError: undefined method `sub' for #<TeracyDev::Location::GitWarn:0x0000000004a6f528>

no error when $ cd ~/xxx-dev/workspace && vagrant status

from dev.

hoatle avatar hoatle commented on August 25, 2024
egor  11:21 AM
Thanks
11:21
It does work when I type it with env variables:
[email protected]:iorad/teracy-dev-entry.git \
    TERACY_DEV_ENTRY_LOCATION_GIT_BRANCH=master TERACY_DEV_ENTRY_LOCATION_SYNC=true \
    vagrant up
From this instruction: https://github.com/iorad/teracy-dev-entry/blob/master/README.md#setting-up-iorad-dev-from-scratch



hoatle  11:23 AM
I think it asked for your key passphrase or you already provided and it cached, we'll dig more on this, thank you for your information

from dev.

hoatle avatar hoatle commented on August 25, 2024

expected behavior: it should ask for passphase and continue syncing as normal

from dev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.