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

Failure on Local Build #491

Closed
pradipta opened this issue Oct 20, 2021 · 12 comments
Closed

Failure on Local Build #491

pradipta opened this issue Oct 20, 2021 · 12 comments
Labels
bug Something isn't working

Comments

@pradipta
Copy link
Contributor

Unable to run it on Local after latest upstream fetch into my fork.

Stack Trace:

➜  endoflife.date git:(master) ✗ bundle exec jekyll serve --trace
Configuration file: /Users/pradipta.sarma/projects/endoflife.date/_config.yml
            Source: /Users/pradipta.sarma/projects/endoflife.date
       Destination: /Users/pradipta.sarma/projects/endoflife.date/_site
 Incremental build: disabled. Enable with --incremental
      Generating... 
       Jekyll Feed: Generating feed for posts
bundler: failed to load command: jekyll (/usr/local/bin/jekyll)
Traceback (most recent call last):
        45: from /usr/bin/bundle:23:in `<main>'
        44: from /usr/bin/bundle:23:in `load'
        43: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/exe/bundle:37:in `<top (required)>'
        42: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/friendly_errors.rb:128:in `with_friendly_errors'
        41: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/exe/bundle:49:in `block in <top (required)>'
        40: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli.rb:25:in `start'
        39: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
        38: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli.rb:31:in `dispatch'
        37: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
        36: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
        35: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
        34: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli.rb:477:in `exec'
        33: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli/exec.rb:23:in `run'
        32: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli/exec.rb:58:in `kernel_load'
        31: from /Library/Ruby/Gems/2.6.0/gems/bundler-2.2.26/lib/bundler/cli/exec.rb:58:in `load'
        30: from /usr/local/bin/jekyll:23:in `<top (required)>'
        29: from /usr/local/bin/jekyll:23:in `load'
        28: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/exe/jekyll:15:in `<top (required)>'
        27: from /Library/Ruby/Gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
        26: from /Library/Ruby/Gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
        25: from /Library/Ruby/Gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
        24: from /Library/Ruby/Gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
        23: from /Library/Ruby/Gems/2.6.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
        22: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
        21: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
        20: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `each'
        19: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
        18: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/commands/build.rb:36:in `process'
        17: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/commands/build.rb:65:in `build'
        16: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/command.rb:28:in `process_site'
        15: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:81:in `process'
        14: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:221:in `cleanup'
        13: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:15:in `cleanup!'
        12: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:25:in `obsolete_files'
        11: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:59:in `new_files'
        10: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:59:in `tap'
         9: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:60:in `block in new_files'
         8: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:356:in `each_site_file'
         7: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:356:in `each'
         6: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:357:in `block in each_site_file'
         5: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:357:in `each'
         4: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/site.rb:358:in `block (2 levels) in each_site_file'
         3: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/cleaner.rb:60:in `block (2 levels) in new_files'
         2: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/static_file.rb:59:in `destination'
         1: from /Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/url.rb:161:in `unescape_path'
/Library/Ruby/Gems/2.6.0/gems/jekyll-4.2.1/lib/jekyll/url.rb:161:in `encode': "\xE2" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)

@captn3m0 captn3m0 added the bug Something isn't working label Oct 20, 2021
@captn3m0
Copy link
Member

Can you provide the output for bundle env please?

@pradipta
Copy link
Contributor Author

Environment

Bundler       2.2.26
  Platforms   ruby, universal-darwin-20
Ruby          2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
  Full Path   /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
  Config Dir  /Library/Ruby/Site
RubyGems      3.0.3
  Gem Home    /Library/Ruby/Gems/2.6.0
  Gem Path    /Users/pradipta.sarma/.gem/ruby/2.6.0:/Library/Ruby/Gems/2.6.0:/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0
  User Home   /Users/pradipta.sarma
  User Path   /Users/pradipta.sarma/.gem/ruby/2.6.0
  Bin Dir     /usr/local/bin
Tools         
  Git         2.24.3 (Apple Git-128)
  RVM         not installed
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata

Built At          2021-08-17
Git SHA           21fd333002
Released Version  true

Gemfile

Gemfile

source "https://rubygems.org"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
#     bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.2.1"

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins

# If you have any plugins, put them here!
group :jekyll_plugins do
  gem "jekyll-feed", "~> 0.6"
  gem 'jekyll-timeago'
  gem "just-the-docs"
  gem 'jekyll-seo-tag'
  gem 'jekyll-last-modified-at'
  gem 'jekyll-sitemap'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?

gem "webrick", "~> 1.7"

gem 'google-cloud-container', '~> 1.2', '>= 1.2.2'

Gemfile.lock

GEM
  remote: https://rubygems.org/
  specs:
    addressable (2.8.0)
      public_suffix (>= 2.0.2, < 5.0)
    colorator (1.1.0)
    concurrent-ruby (1.1.9)
    em-websocket (0.5.2)
      eventmachine (>= 0.12.9)
      http_parser.rb (~> 0.6.0)
    eventmachine (1.2.7)
    faraday (1.7.0)
      faraday-em_http (~> 1.0)
      faraday-em_synchrony (~> 1.0)
      faraday-excon (~> 1.1)
      faraday-httpclient (~> 1.0.1)
      faraday-net_http (~> 1.0)
      faraday-net_http_persistent (~> 1.1)
      faraday-patron (~> 1.0)
      faraday-rack (~> 1.0)
      multipart-post (>= 1.2, < 3)
      ruby2_keywords (>= 0.0.4)
    faraday-em_http (1.0.0)
    faraday-em_synchrony (1.0.0)
    faraday-excon (1.1.0)
    faraday-httpclient (1.0.1)
    faraday-net_http (1.0.1)
    faraday-net_http_persistent (1.2.0)
    faraday-patron (1.0.0)
    faraday-rack (1.0.0)
    ffi (1.15.4)
    forwardable-extended (2.6.0)
    gapic-common (0.7.0)
      faraday (~> 1.3)
      google-protobuf (~> 3.14)
      googleapis-common-protos (>= 1.3.11, < 2.a)
      googleapis-common-protos-types (>= 1.0.6, < 2.a)
      googleauth (>= 0.17.0, < 2.a)
      grpc (~> 1.36)
    google-cloud-container (1.2.2)
      google-cloud-container-v1 (>= 0.0, < 2.a)
      google-cloud-container-v1beta1 (>= 0.0, < 2.a)
      google-cloud-core (~> 1.6)
    google-cloud-container-v1 (0.7.1)
      gapic-common (>= 0.7, < 2.a)
      google-cloud-errors (~> 1.0)
    google-cloud-container-v1beta1 (0.7.1)
      gapic-common (>= 0.7, < 2.a)
      google-cloud-errors (~> 1.0)
    google-cloud-core (1.6.0)
      google-cloud-env (~> 1.0)
      google-cloud-errors (~> 1.0)
    google-cloud-env (1.5.0)
      faraday (>= 0.17.3, < 2.0)
    google-cloud-errors (1.1.0)
    google-protobuf (3.17.3)
    googleapis-common-protos (1.3.11)
      google-protobuf (~> 3.14)
      googleapis-common-protos-types (>= 1.0.6, < 2.0)
      grpc (~> 1.27)
    googleapis-common-protos-types (1.1.0)
      google-protobuf (~> 3.14)
    googleauth (0.17.0)
      faraday (>= 0.17.3, < 2.0)
      jwt (>= 1.4, < 3.0)
      memoist (~> 0.16)
      multi_json (~> 1.11)
      os (>= 0.9, < 2.0)
      signet (~> 0.14)
    grpc (1.38.0)
      google-protobuf (~> 3.15)
      googleapis-common-protos-types (~> 1.0)
    http_parser.rb (0.6.0)
    i18n (1.8.10)
      concurrent-ruby (~> 1.0)
    jekyll (4.2.1)
      addressable (~> 2.4)
      colorator (~> 1.0)
      em-websocket (~> 0.5)
      i18n (~> 1.0)
      jekyll-sass-converter (~> 2.0)
      jekyll-watch (~> 2.0)
      kramdown (~> 2.3)
      kramdown-parser-gfm (~> 1.0)
      liquid (~> 4.0)
      mercenary (~> 0.4.0)
      pathutil (~> 0.9)
      rouge (~> 3.0)
      safe_yaml (~> 1.0)
      terminal-table (~> 2.0)
    jekyll-feed (0.15.1)
      jekyll (>= 3.7, < 5.0)
    jekyll-last-modified-at (1.3.0)
      jekyll (>= 3.7, < 5.0)
      posix-spawn (~> 0.3.9)
    jekyll-sass-converter (2.1.0)
      sassc (> 2.0.1, < 3.0)
    jekyll-seo-tag (2.7.1)
      jekyll (>= 3.8, < 5.0)
    jekyll-sitemap (1.4.0)
      jekyll (>= 3.7, < 5.0)
    jekyll-timeago (0.14.0)
      mini_i18n (>= 0.8.0)
    jekyll-watch (2.2.1)
      listen (~> 3.0)
    just-the-docs (0.3.3)
      jekyll (>= 3.8.5)
      jekyll-seo-tag (~> 2.0)
      rake (>= 12.3.1, < 13.1.0)
    jwt (2.2.3)
    kramdown (2.3.1)
      rexml
    kramdown-parser-gfm (1.1.0)
      kramdown (~> 2.0)
    liquid (4.0.3)
    listen (3.7.0)
      rb-fsevent (~> 0.10, >= 0.10.3)
      rb-inotify (~> 0.9, >= 0.9.10)
    memoist (0.16.2)
    mercenary (0.4.0)
    mini_i18n (0.8.0)
    multi_json (1.15.0)
    multipart-post (2.1.1)
    os (1.1.1)
    pathutil (0.16.2)
      forwardable-extended (~> 2.6)
    posix-spawn (0.3.15)
    public_suffix (4.0.6)
    rake (13.0.6)
    rb-fsevent (0.11.0)
    rb-inotify (0.10.1)
      ffi (~> 1.0)
    rexml (3.2.5)
    rouge (3.26.1)
    ruby2_keywords (0.0.5)
    safe_yaml (1.0.5)
    sassc (2.4.0)
      ffi (~> 1.9)
    signet (0.15.0)
      addressable (~> 2.3)
      faraday (>= 0.17.3, < 2.0)
      jwt (>= 1.5, < 3.0)
      multi_json (~> 1.10)
    terminal-table (2.0.0)
      unicode-display_width (~> 1.1, >= 1.1.1)
    unicode-display_width (1.8.0)
    webrick (1.7.0)

PLATFORMS
  ruby

DEPENDENCIES
  google-cloud-container (~> 1.2, >= 1.2.2)
  jekyll (~> 4.2.1)
  jekyll-feed (~> 0.6)
  jekyll-last-modified-at
  jekyll-seo-tag
  jekyll-sitemap
  jekyll-timeago
  just-the-docs
  tzinfo-data
  webrick (~> 1.7)

BUNDLED WITH
   2.2.26

@pradipta
Copy link
Contributor Author

@captn3m0 bump!

@captn3m0
Copy link
Member

Tested against Alpine Linux + Ruby 2.6.8, and couldn't reproduce. Will try on a Mac. But here's 2 suggestions:

  1. Upgrade to a supported version of ruby meanwhile? (Ruby 2.6.3 -> 2.6.8)
  2. Set the following locale variables in your shell before you run Jekylll (via Invalid US-ASCII character "\xE2" jekyll/jekyll#4268):
export LC_ALL="C.UTF-8"
export LANG="en_US.UTF-8"
export LANGUAGE="en_US.UTF-8"

captn3m0 added a commit that referenced this issue Oct 23, 2021
This is already the default, so shouldn't change anything
on most environments, but might help with #491
@captn3m0
Copy link
Member

Could you test #499 as well please.

captn3m0 added a commit that referenced this issue Oct 25, 2021
This is already the default, so shouldn't change anything
on most environments, but might help with #491
@pradipta
Copy link
Contributor Author

Nope, still the same. Let me check on this. Was just wondering if this is already known. Will update here once I find it.

@usta
Copy link
Member

usta commented Dec 5, 2021

@pradipta any news ?

@usta
Copy link
Member

usta commented Jan 7, 2022

@captn3m0 @pradipta if there isnt any following info about this bug i am planing to close this issue and mark it as "works for me"

@pradipta
Copy link
Contributor Author

pradipta commented Jan 7, 2022

Haven't yet fixed it. Closing it for now.

@pradipta pradipta closed this as completed Jan 7, 2022
@usta
Copy link
Member

usta commented Jan 7, 2022

@pradipta tonight i have free time if you wish we can give it a try on your system if you also have free time
@captn3m0 what do you think to have a discord server so we can discuss things much faster and give help to new contributors though it via voice and video chat ?

@captn3m0
Copy link
Member

captn3m0 commented Jan 7, 2022

Can probably do a Gitter (-1 for Discord, it takes too much resources to run regularly), but I'd prefer if we could have an ephemeral channel for such usecases, instead of something where users expect someone to be online 24x7.

How about a monthly Community call of sorts?

@pradipta
Copy link
Contributor Author

+1 for the monthly connect.

Down with covid, missed this @usta

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants