Open mariochavez opened 11 years ago
Ditto.
$ bundle exec rake deliverables --trace
** Invoke deliverables (first_time)
** Invoke build/deliverables/untitled-book.epub (first_time)
** Invoke build/pandoc_epub/book/content.opf (first_time)
** Invoke build/pandoc_epub/book.epub (first_time)
rake aborted!
Don't know how to build task ''
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task_manager.rb:49:in `[]'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:53:in `lookup_prerequisite'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:49:in `block in prerequisite_tasks'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:49:in `map'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:49:in `prerequisite_tasks'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/jim/.rbenv/versions/2.0.0-p0/bin/rake:23:in `load'
/Users/jim/.rbenv/versions/2.0.0-p0/bin/rake:23:in `<main>'
Tasks: TOP => deliverables => build/deliverables/untitled-book.epub => build/pandoc_epub/book/content.opf => build/pandoc_epub/book.epub
Just realized this is a dup of #18
Leaving comments here since this has my original stack trace and #18 doesn't.
I am able to get a new error when I remove main.bitmap_cover_image
from the list of dependencies for pristine_epub
at https://github.com/avdi/quarto/blob/master/lib/quarto/pandoc_epub.rb#L71
Here is the error:
$ be rake deliverables --trace
** Invoke deliverables (first_time)
** Invoke build/deliverables/untitled-book.epub (first_time)
** Invoke build/pandoc_epub/book/content.opf (first_time)
** Invoke build/pandoc_epub/book.epub (first_time)
** Invoke build/master/master.xhtml (first_time, not_needed)
** Invoke build/skeleton.xhtml (first_time, not_needed)
** Invoke build/codex.xhtml (first_time, not_needed)
** Invoke build/spine.xhtml (first_time, not_needed)
** Invoke build (first_time, not_needed)
** Invoke build/sections/ch1.xhtml (first_time)
** Invoke build/exports/ch1.html (first_time)
** Invoke build/exports (first_time, not_needed)
** Invoke build (not_needed)
** Invoke ch1.md (first_time, not_needed)
** Execute build/exports/ch1.html
mkdir -p build/exports
pandoc --no-highlight -w html5 -o build/exports/ch1.html ch1.md
rake aborted!
Command failed with status (127): [pandoc --no-highlight -w html5 -o build/ex...]
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/file_utils.rb:54:in `block in create_shell_runner'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/file_utils.rb:45:in `call'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/file_utils.rb:45:in `sh'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/file_utils_ext.rb:37:in `sh'
/Users/jim/Projects/quarto/lib/quarto/markdown.rb:28:in `export_from_markdown'
/Users/jim/Projects/quarto/lib/quarto/build.rb:169:in `export'
/Users/jim/Projects/quarto/lib/quarto/build.rb:528:in `block (2 levels) in define_main_tasks'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:234:in `call'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:234:in `block in execute'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/jim/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/jim/.rbenv/versions/2.0.0-p0/bin/rake:23:in `load'
/Users/jim/.rbenv/versions/2.0.0-p0/bin/rake:23:in `<main>'
Tasks: TOP => deliverables => build/deliverables/untitled-book.epub => build/pandoc_epub/book/content.opf => build/pandoc_epub/book.epub => build/master/master.xhtml => build/skeleton.xhtml => build/codex.xhtml => build/sections/ch1.xhtml => build/exports/ch1.html
I am unsure of how to structure the files. Right now I merely created a ch1.md
in the root of my project. While debugging I created an images
directory with 2 blank files: cover-large.png
and cover.svg
. These files seemed to have no effect on the output.
Edit: I don't have pandoc installed, apparently. I'm working on that and will update these details as I debug.
Are the tests passing for you? I pushed a bunch of updates to get the tests passing again.
Tests fail for me, but I'm working my way through ensuring that I have all the dependencies.
If a README guide to installing all the deps happened to fall out of that process, I would be very happy :-)
that is my intent
I've been able to fix the problem I was having with the specs in issue #20, but I'm still getting the don't know how to build task ""
when running any Quarto rake task; I also get this error in the specs, e.g.:
2) pandoc_epub:epub
Failure/Error: run "rake pandoc_epub:epub"
RuntimeError:
Command `rake pandoc_epub:epub` failed with output:
rake aborted!
Don't know how to build task ''
/Users/rob/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `eval'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => pandoc_epub:epub => build/deliverables/untitled-book.epub => build/pandoc_epub/book/content.opf => build/pandoc_epub/book.epub
(See full trace by running task with --trace)
# ./spec/quarto/pandoc_epub_spec.rb:28:in `block (2 levels) in <module:Quarto>'
Let me know if there's any more information that could help narrow this down.
Do me a favor and run a failing quarto task using rake --trace --rules
and let me know what you see.
On Mon, Dec 2, 2013 at 12:01 PM, Rob Miller notifications@github.comwrote:
I've been able to fix the problem I was having with the specs in issue #20https://github.com/avdi/quarto/issues/20, but I'm still getting the don't know how to build task "" when running any Quarto rake task; I also get this error in the specs, e.g.:
2) pandoc_epub:epub Failure/Error: run "rake pandoc_epub:epub" RuntimeError: Command
rake pandoc_epub:epub
failed with output: rake aborted! Don't know how to build task '' /Users/rob/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:ineval' /Users/rob/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in
' Tasks: TOP => pandoc_epub:epub => build/deliverables/untitled-book.epub => build/pandoc_epub/book/content.opf => build/pandoc_epub/book.epub (See full trace by running task with --trace) ./spec/quarto/pandoc_epub_spec.rb:28:in `block (2 levels) in module:Quarto'
Let me know if there's any more information that could help narrow this down.
— Reply to this email directly or view it on GitHubhttps://github.com/avdi/quarto/issues/19#issuecomment-29635896 .
Avdi Grimm http://avdi.org
I only check email twice a day. to reach me sooner, go to http://awayfind.com/avdi
** Invoke deliverables (first_time)
** Invoke build/deliverables/book.pdf (first_time)
** Invoke build/master.xhtml (first_time)
** Invoke build/skeleton.xhtml (first_time)
** Invoke build/codex.xhtml (first_time)
** Invoke build/spine.xhtml (first_time, not_needed)
** Invoke build (first_time, not_needed)
** Invoke build/code.css (first_time, not_needed)
** Invoke build/sections/chapters/01.xhtml (first_time, not_needed)
** Invoke build/exports/chapters/01.html (first_time, not_needed)
** Invoke build/exports (first_time, not_needed)
** Invoke build (not_needed)
** Invoke chapters/01.md (first_time, not_needed)
** Invoke build/sections/outline.xhtml (first_time)
** Invoke build/exports/outline.html (first_time, not_needed)
** Invoke build/exports (not_needed)
** Invoke outline.md (first_time, not_needed)
** Execute build/sections/outline.xhtml
mkdir -p build/sections
rake aborted!
Requires a Node, NodeSet or String argument, and cannot accept a NilClass.
(You probably want to select a node from the Document with at() or search(), or create a new Node via Node.new().)
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/nokogiri-1.6.0/lib/nokogiri/xml/node.rb:933:in `coerce'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/nokogiri-1.6.0/lib/nokogiri/xml/node.rb:390:in `replace'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/quarto-0.0.1/lib/quarto.rb:112:in `normalize_markdown_export'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/quarto-0.0.1/lib/quarto.rb:103:in `normalize_export'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/quarto-0.0.1/lib/quarto/tasks.rb:49:in `block (2 levels) in <top (required)>'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:234:in `call'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:234:in `block in execute'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/Users/rob/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/rob/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/rob/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/rob/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/rob/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:197:in `block in invoke_prerequisites'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:195:in `each'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:195:in `invoke_prerequisites'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:174:in `block in invoke_with_call_chain'
/Users/rob/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/bin/rake:19:in `load'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/bin/rake:19:in `<main>'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `eval'
/Users/rob/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `<main>'
Tasks: TOP => deliverables => build/deliverables/book.pdf => build/master.xhtml => build/skeleton.xhtml => build/codex.xhtml => build/sections/outline.xhtml
normalize build/exports/outline.html to build/sections/outline.xhtml
I just pushed my fixes for real this time. Are you still getting failures with the new code?
I haven't spent time digging but I saw this error if I specified source_files that didn't exist.
Just running
rake
orrake epub
I got the following error, I'm not sure how to fix it.I did clone quarto repo and installed gem from my local copy, gem un Rubygems seems to be old code.
rake aborted! Don't know how to build task ''
Tasks: TOP => default => deliverables => build/deliverables/my-book.pdf => build/master/prince_master.xhtml => build/master/master.xhtml => build/skeleton.xhtml => build/codex.xhtml => build/sections/my-book.xhtml => build/exports/my-book.html