yjpark / jekyll-plantuml

Jekyll / Octopress plugin to generate PlantUML diagrams
Other
33 stars 3 forks source link

Liquid Error #1

Closed lvnilesh closed 11 years ago

lvnilesh commented 12 years ago

Thanks for plugin.

I added this to _config.yml

plantuml_jar: plantuml.jar

and placed the plantuml.jar file in the same directory as _config.yml

Then, I added this to an existing post

`{% plantuml %} Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request Alice <-- Bob: another authentication Response {% endplantuml %} Then I ranrake generate` to get this error

` rake generate

Generating Site with Jekyll

unchanged sass/screen.scss /Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_doc.rb:22:in `<top (required)>': iconv will be deprecated in the future, use String#encode instead. Configuration from /Users/nilesh/projects/blog/_config.yml Building site: source -> public


Maruku tells you: +--------------------------------------------------------------------------- String finished while reading (break on []) already read: "join' for #String:0x007ffc89838ff0"
Liquid error: undefined method `join' for #EOF
-------------------------------------------------------------------- -------
+--- Byte 68
Shown bytes [0 to 68] of 68:
>Liquid error: undefined method`join' for #String:0x007ffc89838ff0
At line 21
text The rest of the steps take place inside the newly created quant virtualenv.
empty
text Liquid error: undefined method `join' for #
empty -->
empty
text Installnumpyfrom source
code

+--------------------------------------------------------------------------- !/Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/errors_management.rb:49:inmaruku_error' !/Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:402:inread_simple' !/Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:521:inread_inline_code' !/Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:89:inread_span' !/Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:46:in`parse_span_better'



Maruku tells you: +--------------------------------------------------------------------------- I boldly continue
Liquid error: undefined method `join' for #EOF
-------------------------------------------------------------------- -------
+--- Byte 68
Shown bytes [0 to 68] of 68:
>Liquid error: undefined method`join' for #String:0x007ffc89838ff0
At line 21
text The rest of the steps take place inside the newly created quant virtualenv.
empty
text Liquid error: undefined method `join' for #
empty -->
empty
text Installnumpyfrom source
code

+--------------------------------------------------------------------------- !/Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/errors_management.rb:56:inmaruku_recover' !/Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:403:inread_simple' !/Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:521:inread_inline_code' !/Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:89:inread_span' !/Users/nilesh/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/maruku-0.6.0/lib/maruku/input/parse_span_better.rb:46:in`parse_span_better'


`

Frostman commented 11 years ago

I have the same issue...

yjpark commented 11 years ago

In your lines, the line to start the block is:

`{% plantuml %}

there is an extra "`" character, I think it's causing the problem.