Skip to content

Instantly share code, notes, and snippets.

@pazz
Created January 17, 2023 08:51
Show Gist options
  • Save pazz/3c7a64c1ec7c82785ab8615d083370e7 to your computer and use it in GitHub Desktop.
Save pazz/3c7a64c1ec7c82785ab8615d083370e7 to your computer and use it in GitHub Desktop.
jekyll-scholar bug
Running with gitlab-runner 15.7.2 (0e7679e6)
2 on GitLab LXFarm02 Docker Runner Gd1X1x6o
3
Resolving secrets
00:00
5
Preparing the "docker" executor
00:16
6Using Docker executor with image ruby:latest ...
7Pulling docker image ruby:latest ...
8Using docker image sha256:1e6b2a26f38d43e83ea1dacfb2737032b6c4ee73c6cc1053fe4f62b49f2812c8 for ruby:latest with digest ruby@sha256:f2ec40227806aaab47e928f2e0ea516ab89a21d701848dd25cde2529f7551891 ...
10
Preparing environment
00:03
13
Getting source from Git repository
00:03
14Fetching changes with git depth set to 20...
15Initialized empty Git repository in /builds/patrick/website/.git/
16Created fresh repository.
17Checking out 69c555a3 as master...
18Updating/initializing submodules recursively with git depth set to 20...
20
Executing "step_script" stage of the job script
00:24
21Using docker image sha256:1e6b2a26f38d43e83ea1dacfb2737032b6c4ee73c6cc1053fe4f62b49f2812c8 for ruby:latest with digest ruby@sha256:f2ec40227806aaab47e928f2e0ea516ab89a21d701848dd25cde2529f7551891 ...
22$ apt-get update -qy
23Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
24Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
25Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
26Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8183 kB]
27Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [214 kB]
28Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
29Fetched 8620 kB in 1s (7009 kB/s)
30Reading package lists...
31$ apt-get install -qy rsync
32Reading package lists...
33Building dependency tree...
34Reading state information...
35The following additional packages will be installed:
36 libpopt0
37Suggested packages:
38 openssh-server
39The following NEW packages will be installed:
40 libpopt0 rsync
410 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
42Need to get 446 kB of archives.
43After this operation, 987 kB of additional disk space will be used.
44Get:1 http://deb.debian.org/debian bullseye/main amd64 libpopt0 amd64 1.18-2 [49.6 kB]
45Get:2 http://deb.debian.org/debian bullseye/main amd64 rsync amd64 3.2.3-4+deb11u1 [396 kB]
46debconf: delaying package configuration, since apt-utils is not installed
47Fetched 446 kB in 0s (6990 kB/s)
48Selecting previously unselected package libpopt0:amd64.
49(Reading database ... 22790 files and directories currently installed.)
50Preparing to unpack .../libpopt0_1.18-2_amd64.deb ...
51Unpacking libpopt0:amd64 (1.18-2) ...
52Selecting previously unselected package rsync.
53Preparing to unpack .../rsync_3.2.3-4+deb11u1_amd64.deb ...
54Unpacking rsync (3.2.3-4+deb11u1) ...
55Setting up libpopt0:amd64 (1.18-2) ...
56Setting up rsync (3.2.3-4+deb11u1) ...
57invoke-rc.d: could not determine current runlevel
58invoke-rc.d: policy-rc.d denied execution of start.
59Processing triggers for libc-bin (2.31-13+deb11u5) ...
60$ gem install bundler
61Successfully installed bundler-2.4.4
621 gem installed
63$ bundle install
64Fetching gem metadata from https://rubygems.org/........
65Resolving dependencies...
66Fetching concurrent-ruby 1.1.10
67Fetching minitest 5.17.0
68Using bundler 2.4.4
69Fetching namae 1.1.1
70Fetching eventmachine 1.2.7
71Fetching public_suffix 5.0.1
72Fetching latex-decode 0.4.0
73Using rexml 3.2.5
74Fetching colorator 1.1.0
75Fetching http_parser.rb 0.8.0
76Installing colorator 1.1.0
77Installing latex-decode 0.4.0
78Installing namae 1.1.1
79Installing minitest 5.17.0
80Installing public_suffix 5.0.1
81Fetching faraday-net_http 3.0.2
82Installing eventmachine 1.2.7 with native extensions
83Installing http_parser.rb 0.8.0 with native extensions
84Installing faraday-net_http 3.0.2
85Installing concurrent-ruby 1.1.10
86Using ruby2_keywords 0.0.5
87Fetching ffi 1.15.5
88Fetching forwardable-extended 2.6.0
89Fetching gemoji 4.0.1
90Fetching google-protobuf 3.21.12
91Installing forwardable-extended 2.6.0
92Using racc 1.6.2
93Fetching rb-fsevent 0.11.2
94Fetching liquid 4.0.4
95Installing gemoji 4.0.1
96Fetching mercenary 0.4.0
97Installing google-protobuf 3.21.12 with native extensions
98Installing liquid 4.0.4
99Installing rb-fsevent 0.11.2
100Installing mercenary 0.4.0
101Fetching rouge 4.0.1
102Fetching safe_yaml 1.0.5
103Installing safe_yaml 1.0.5
104Installing ffi 1.15.5 with native extensions
105Fetching unicode-display_width 2.4.2
106Fetching webrick 1.7.0
107Installing rouge 4.0.1
108Fetching jekyll-email-protect 1.1.0
109Installing unicode-display_width 2.4.2
110Fetching jekyll-twitter-plugin 2.1.0
111Installing jekyll-email-protect 1.1.0
112Installing webrick 1.7.0
113Fetching unicode_utils 1.4.0
114Fetching kramdown 2.4.0
115Installing kramdown 2.4.0
116Installing unicode_utils 1.4.0
117Installing jekyll-twitter-plugin 2.1.0
118Fetching bibtex-ruby 6.0.0
119Fetching citeproc 1.0.10
120Installing bibtex-ruby 6.0.0
121Installing citeproc 1.0.10
122Fetching csl 1.6.0
123Installing csl 1.6.0
124Fetching faraday 2.7.3
125Fetching pathutil 0.16.2
126Installing faraday 2.7.3
127Installing pathutil 0.16.2
128Fetching nokogiri 1.14.0 (x86_64-linux)
129Fetching addressable 2.8.1
130Fetching i18n 1.12.0
131Fetching tzinfo 2.0.5
132Installing tzinfo 2.0.5
133Fetching terminal-table 3.0.2
134Installing terminal-table 3.0.2
135Fetching citeproc-ruby 1.1.14
136Installing nokogiri 1.14.0 (x86_64-linux)
137Installing citeproc-ruby 1.1.14
138Installing addressable 2.8.1
139Fetching csl-styles 1.0.1.11
140Fetching kramdown-parser-gfm 1.1.0
141Installing kramdown-parser-gfm 1.1.0
142Fetching sawyer 0.9.2
143Installing sawyer 0.9.2
144Fetching octokit 4.25.1
145Installing octokit 4.25.1
146Installing csl-styles 1.0.1.11
147Installing i18n 1.12.0
148Fetching activesupport 7.0.4
149Installing activesupport 7.0.4
150Fetching html-pipeline 2.14.3
151Installing html-pipeline 2.14.3
152Fetching sass-embedded 1.57.1 (x86_64-linux-gnu)
153Installing sass-embedded 1.57.1 (x86_64-linux-gnu)
154Fetching jekyll-sass-converter 3.0.0
155Installing jekyll-sass-converter 3.0.0
156Fetching rb-inotify 0.10.1
157Installing rb-inotify 0.10.1
158Fetching listen 3.8.0
159Installing listen 3.8.0
160Fetching jekyll-watch 2.2.1
161Installing jekyll-watch 2.2.1
162Fetching em-websocket 0.5.3
163Installing em-websocket 0.5.3
164Fetching jekyll 4.3.1
165Installing jekyll 4.3.1
166Fetching jekyll-github-metadata 2.15.0
167Fetching jekyll-scholar 7.1.1
168Fetching jemoji 0.13.0
169Fetching jekyll-feed 0.17.0
170Fetching jekyll-sitemap 1.4.0
171Fetching jekyll-paginate-v2 3.0.0
172Installing jemoji 0.13.0
173Installing jekyll-github-metadata 2.15.0
174Installing jekyll-feed 0.17.0
175Installing jekyll-scholar 7.1.1
176Installing jekyll-paginate-v2 3.0.0
177Installing jekyll-sitemap 1.4.0
178Bundle complete! 11 Gemfile dependencies, 58 gems now installed.
179Use `bundle info [gemname]` to see where a bundled gem is installed.
180Post-install message from html-pipeline:
181-------------------------------------------------
182Thank you for installing html-pipeline!
183You must bundle Filter gem dependencies.
184See html-pipeline README.md for more details.
185https://github.com/jch/html-pipeline#dependencies
186-------------------------------------------------
187$ bundle exec jekyll build -d public --trace
188To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
189Configuration file: /builds/patrick/website/_config.yml
190 Source: /builds/patrick/website
191 Destination: /builds/patrick/website/public
192 Incremental build: disabled. Enable with --incremental
193 Generating...
194 Jekyll Feed: Generating feed for posts
195 AutoPages: Disabled/Not configured in site.config.
196 Pagination: Complete, processed 1 pagination page(s)
197 Liquid Exception: undefined method `exists?' for File:Class in _pages/3-publications.md
198bundler: failed to load command: jekyll (/usr/local/bundle/bin/jekyll)
199/usr/local/bundle/gems/jekyll-scholar-7.1.1/lib/jekyll/scholar/utilities.rb:471:in `scholar_source': undefined method `exists?' for File:Class (NoMethodError)
200 return source if source.start_with?('/') && File.exists?(source)
201 ^^^^^^^^
202Did you mean? exist?
203 from /usr/local/bundle/gems/jekyll-scholar-7.1.1/lib/jekyll/scholar/utilities.rb:462:in `extend_path'
204 from /usr/local/bundle/gems/jekyll-scholar-7.1.1/lib/jekyll/scholar/utilities.rb:175:in `block in bibtex_paths'
205 from /usr/local/bundle/gems/jekyll-scholar-7.1.1/lib/jekyll/scholar/utilities.rb:173:in `map'
206 from /usr/local/bundle/gems/jekyll-scholar-7.1.1/lib/jekyll/scholar/utilities.rb:173:in `bibtex_paths'
207 from /usr/local/bundle/gems/jekyll-scholar-7.1.1/lib/jekyll/scholar/utilities.rb:842:in `update_dependency_tree'
208 from /usr/local/bundle/gems/jekyll-scholar-7.1.1/lib/jekyll/scholar/tags/bibliography_count.rb:19:in `render'
209 from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/block_body.rb:103:in `render_node_to_output'
210 from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/block_body.rb:91:in `render'
211 from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/block.rb:17:in `render'
212 from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/tags/capture.rb:26:in `render'
213 from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/block_body.rb:103:in `render_node_to_output'
214 from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/block_body.rb:82:in `render'
215 from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/template.rb:206:in `block in render'
216 from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/template.rb:240:in `with_profiling'
217 from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/template.rb:205:in `render'
218 from /usr/local/bundle/gems/liquid-4.0.4/lib/liquid/template.rb:218:in `render!'
219 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:39:in `block (3 levels) in render!'
220 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:59:in `measure_counts'
221 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:38:in `block (2 levels) in render!'
222 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:63:in `measure_bytes'
223 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:37:in `block in render!'
224 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:70:in `measure_time'
225 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/liquid_renderer/file.rb:36:in `render!'
226 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/renderer.rb:129:in `render_liquid'
227 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/renderer.rb:80:in `render_document'
228 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/renderer.rb:63:in `run'
229 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/site.rb:578:in `render_regenerated'
230 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/site.rb:570:in `block in render_pages'
231 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/site.rb:569:in `each'
232 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/site.rb:569:in `render_pages'
233 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/site.rb:211:in `render'
234 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/site.rb:80:in `process'
235 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/command.rb:28:in `process_site'
236 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:65:in `build'
237 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:36:in `process'
238 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
239 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in `each'
240 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
241 from /usr/local/bundle/gems/jekyll-4.3.1/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
242 from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
243 from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
244 from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
245 from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
246 from /usr/local/bundle/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
247 from /usr/local/bundle/gems/jekyll-4.3.1/exe/jekyll:15:in `<top (required)>'
248 from /usr/local/bundle/bin/jekyll:25:in `load'
249 from /usr/local/bundle/bin/jekyll:25:in `<top (required)>'
250 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/cli/exec.rb:58:in `load'
251 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/cli/exec.rb:58:in `kernel_load'
252 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/cli/exec.rb:23:in `run'
253 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/cli.rb:491:in `exec'
254 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
255 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
256 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
257 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/cli.rb:34:in `dispatch'
258 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
259 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/cli.rb:28:in `start'
260 from /usr/local/bundle/gems/bundler-2.4.4/exe/bundle:45:in `block in <top (required)>'
261 from /usr/local/bundle/gems/bundler-2.4.4/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
262 from /usr/local/bundle/gems/bundler-2.4.4/exe/bundle:33:in `<top (required)>'
263 from /usr/local/bundle/bin/bundle:25:in `load'
264 from /usr/local/bundle/bin/bundle:25:in `<main>'
266
Cleaning up project directory and file based variables
00:01
268ERROR: Job failed: exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment