Closed whedon closed 5 years ago
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
All right, got 'em. I also fixed a couple title case issues - R as a solo letter in an article title needs to be {R} to escape auto-format.
@labarba @wrightaprilm - the margin bug should also now be fixed because of the changes in https://github.com/openjournals/whedon/pull/39.
@whedon accept
Attempting dry run of processing paper acceptance...
PDF failed to compile for issue #35 with the following error:
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 14 0 14 0 0 23 0 --:--:-- --:--:-- --:--:-- 23
/app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-a8346675b421/lib/whedon/bibtex.rb:44:in make_citation': undefined method
has_field?' for #block in generate_citations' from /app/vendor/bundle/ruby/2.4.0/gems/bibtex-ruby-4.4.7/lib/bibtex/bibliography.rb:150:in
each'
from /app/vendor/bundle/ruby/2.4.0/gems/bibtex-ruby-4.4.7/lib/bibtex/bibliography.rb:150:in each' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-a8346675b421/lib/whedon/bibtex.rb:29:in
generate_citations'
from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-a8346675b421/lib/whedon/processor.rb:214:in generate_crossref' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-a8346675b421/lib/whedon/processor.rb:91:in
compile'
from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-a8346675b421/bin/whedon:76:in compile' from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.0/lib/thor/command.rb:27:in
run'
from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in invoke_command' from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.0/lib/thor.rb:387:in
dispatch'
from /app/vendor/bundle/ruby/2.4.0/gems/thor-0.20.0/lib/thor/base.rb:466:in start' from /app/vendor/bundle/ruby/2.4.0/bundler/gems/whedon-a8346675b421/bin/whedon:113:in
<top (required)>'
from /app/vendor/bundle/ruby/2.4.0/bin/whedon:23:in load' from /app/vendor/bundle/ruby/2.4.0/bin/whedon:23:in
I just tried to compile locally with whedon download
then whedon compile
, and I get a similar error message. Strange that @whedon generate pdf
on here works, but whedon compile
fails. Aren't they supposed to be doing the same thing, @arfon?
My error message:
bundler: failed to load command: whedon (/Users/labarba/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/bin/whedon)
NoMethodError: undefined method `has_field?' for #<BibTeX::String an = "The American Naturalist">
Did you mean? has_type?
/Users/labarba/GitHub/whedon/lib/whedon/bibtex.rb:44:in `make_citation'
/Users/labarba/GitHub/whedon/lib/whedon/bibtex.rb:31:in `block in generate_citations'
/Users/labarba/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bibtex-ruby-4.4.7/lib/bibtex/bibliography.rb:150:in `each'
/Users/labarba/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/bibtex-ruby-4.4.7/lib/bibtex/bibliography.rb:150:in `each'
/Users/labarba/GitHub/whedon/lib/whedon/bibtex.rb:29:in `generate_citations'
/Users/labarba/GitHub/whedon/lib/whedon/processor.rb:214:in `generate_crossref'
/Users/labarba/GitHub/whedon/lib/whedon/processor.rb:91:in `compile'
/Users/labarba/GitHub/whedon/bin/whedon:76:in `compile'
/Users/labarba/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
/Users/labarba/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
/Users/labarba/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
/Users/labarba/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
/Users/labarba/GitHub/whedon/bin/whedon:113:in `<top (required)>'
/Users/labarba/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/bin/whedon:23:in `load'
/Users/labarba/.rbenv/versions/2.5.1/lib/ruby/gems/2.5.0/bin/whedon:23:in `<top (required)>'
electra:whedon labarba$
@wrightaprilm β I see that you are using a long file bibliography.bib
as the source of citations. Would it be too annoying to copy and paste just the BibTeX entries you are citing in the paper into a paper.bib
and use that instead?
Let's try it!
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
OK, had to fix one citation to R core, but looks fine. Fingers crossed!
@whedon accept
Attempting dry run of processing paper acceptance...
Check final proof :point_right: https://github.com/openjournals/jose-papers/pull/24
If the paper PDF and Crossref deposit XML look good in https://github.com/openjournals/jose-papers/pull/24, then you can now move forward with accepting the submission by compiling again with the flag deposit=true
e.g.
@whedon accept deposit=true
OK, looks good!
Nope ... some DOI links are broken. See screenshot.
I think bibtex expects doi
fields in paper.bib
to be of the form
10.1662/0002-7685(2007)69[71:csmaet]2.0.co;2
not
https://doi.org/10.1662/0002-7685(2007)69[71:csmaet]2.0.co;2
Entries like this one need updating: https://github.com/wrightaprilm/treesiftr/blob/master/paper.bib#L181
Right, just went ahead and stripped off the `https' wrappers. Will re-render.
@whedon generate pdf
Attempting PDF compilation. Reticulating splines etc...
Checking all the links and ... http://ggplot2.org shows "not found"?
Did you want this URL instead? https://ggplot2.tidyverse.org
I changed the link in my .bib. That's from the maintainer's own bibtex entry on their site. I should probably make a pull request and let them know its broken. Good catch!
@whedon accept
Attempting dry run of processing paper acceptance...
Check final proof :point_right: https://github.com/openjournals/jose-papers/pull/25
If the paper PDF and Crossref deposit XML look good in https://github.com/openjournals/jose-papers/pull/25, then you can now move forward with accepting the submission by compiling again with the flag deposit=true
e.g.
@whedon accept deposit=true
@whedon accept deposit=true
Doing it live! Attempting automated processing of paper acceptance...
π¨π¨π¨ THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSE! π¨π¨π¨
Here's what you must now do:
Party like you just published a paper! πππ¦ππ»π€
Any issues? notify your editorial technical team...
Congratuations, @wrightaprilm, your paper is published! π (you made us work hard for this one, phew!)
Big thank you to your handling editor, @juanklopper and your reviewers, @ethanwhite and @rachelss π
:tada::tada::tada: Congratulations on your paper acceptance! :tada::tada::tada:
If you would like to include a link to your paper from your README use the following code snippets:
Markdown:
[![DOI](https://jose.theoj.org/papers/10.21105/jose.00035/status.svg)](https://doi.org/10.21105/jose.00035)
HTML:
<a style="border-width:0" href="https://doi.org/10.21105/jose.00035">
<img src="https://jose.theoj.org/papers/10.21105/jose.00035/status.svg" alt="DOI badge" >
</a>
reStructuredText:
.. image:: https://jose.theoj.org/papers/10.21105/jose.00035/status.svg
:target: https://doi.org/10.21105/jose.00035
This is how it will look in your documentation:
We need your help!
Journal of Open Source Education is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:
Thanks so much @juanklopper, @rachelss, @ethanwhite and @labarba!
Well done @wrightaprilm and thank you to everyone for their input.
Submitting author: @wrightaprilm (April Wright) Repository: https://github.com/wrightaprilm/treesiftr Version: v1.0.0 Editor: @juanklopper Reviewer: @ethanwhite, @rachelss Archive: 10.5281/zenodo.2541824
Status
Status badge code:
Reviewers and authors:
Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)
Reviewer instructions & questions
@ethanwhite & @rachelss, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:
The reviewer guidelines are available here: https://jose.theoj.org/about#reviewer_guidelines. Any questions/concerns please let @juanklopper know.
Review checklist for @ethanwhite
Conflict of interest
Code of Conduct
General checks
Documentation
Pedagogy / Instructional design (Work-in-progress: reviewers, please comment!)
JOSE paper
paper.md
file include a list of authors with their affiliations?Review checklist for @rachelss
Conflict of interest
Code of Conduct
General checks
Documentation
Pedagogy / Instructional design (Work-in-progress: reviewers, please comment!)
JOSE paper
paper.md
file include a list of authors with their affiliations?