ddfreyne/nanoc — Issue #69: Can't compile site. Please help.
Author: mightykip
Created: 2011-10-28 01:54:25+00:00
State: open

[ps11262]$ bundle exec nanoc compile
Loading site data...
Compiling site...
lib/copy.rb:2: warning: already initialized constant COPY

Captain! We’ve been hit!

=== MESSAGE:

RuntimeError: Could not read content/articles/may-meeting-minutes.html because the file is not valid US-ASCII.

=== COMPILATION STACK:

(empty)

=== BACKTRACE:

0. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/data_sources/filesystem.rb:291:in `raise_encoding_error'
1. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/data_sources/filesystem.rb:282:in `rescue in read'
2. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/data_sources/filesystem.rb:282:in `read'
3. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/data_sources/filesystem.rb:238:in `parse'
4. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/data_sources/filesystem.rb:89:in `block in load_objects'
5. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/data_sources/filesystem.rb:78:in `each'
6. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/data_sources/filesystem.rb:78:in `map'
7. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/data_sources/filesystem.rb:78:in `load_objects'
8. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/data_sources/filesystem.rb:37:in `items'
9. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/source_data/site.rb:313:in `block in load_items'
10. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/source_data/site.rb:312:in `each'
11. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/source_data/site.rb:312:in `load_items'
12. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/source_data/site.rb:246:in `load'
13. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/source_data/site.rb:126:in `layouts'
14. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/compilation/compiler.rb:185:in `dependency_tracker'
15. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/memoization.rb:56:in `block in memoize'
16. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/compilation/compiler.rb:449:in `stores'
17. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/compilation/compiler.rb:144:in `unload'
18. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/source_data/site.rb:277:in `unload'
19. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/source_data/site.rb:257:in `rescue in load'
20. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/source_data/site.rb:261:in `load'
21. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/compilation/compiler.rb:112:in `load'
22. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/compilation/compiler.rb:82:in `run'
23. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/base/source_data/site.rb:57:in `compile'
24. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli/commands/compile.rb:61:in `run'
25. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli/command.rb:51:in `block in call'
26. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli/error_handler.rb:42:in `handle_while'
27. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli/error_handler.rb:23:in `handle_while'
28. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli/command.rb:50:in `call'
29. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli/command.rb:43:in `call'
30. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli/commands/compile.rb:24:in `block in define'
31. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/cri-2.0.2/lib/cri/command.rb:255:in `call'
32. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/cri-2.0.2/lib/cri/command.rb:255:in `run'
33. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/cri-2.0.2/lib/cri/command.rb:272:in `run'
34. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli.rb:40:in `block in run'
35. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli/error_handler.rb:42:in `handle_while'
36. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli/error_handler.rb:23:in `handle_while'
37. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/lib/nanoc3/cli.rb:37:in `run'
38. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/gems/nanoc3-3.2.1/bin/nanoc3:12:in `'
39. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/bin/nanoc3:19:in `load'
40. /home/utahjs/.rvm/gems/ruby-1.9.2-p290@utahjs/bin/nanoc3:19:in `

'