Skip to content

Exibir mensagem indicando a versão requerida do pandoc após instalação #138

Description

@AllanDaemon

Após atualização do gem do Limarka com o comando especificado pela wiki:

sudo gem install limarka

Ao tentar compilar (limarka) um arquivo que antes estava funcionando, ele gera um erro.

Especificações do sistema:
Linux 64bits
Bunsen Labs distro, baseado no Debian Unstable (SID)

$ limarka --version
limarka 0.7.1

Saida do Erro

$ limarka
Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `[]': no implicit conversion of String into Integer (TypeError)
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/lib/pandoc_abnt/figura_filter.rb:84:in `filtra_json'
	from /var/lib/gems/2.3.0/gems/pandoc_abnt-1.0.4/exe/pandoc_abnt:9:in `<top (required)>'
	from /usr/local/bin/pandoc_abnt:22:in `load'
	from /usr/local/bin/pandoc_abnt:22:in `<main>'
pandoc: Error running filter pandoc_abnt
Filter returned error status 1

Erro: pandoc: unrecognized option `--top-level-division=chapter'
Try pandoc --help for more information.

Erro: pandoc: unrecognized option `--top-level-division=chapter'
Try pandoc --help for more information.

Erro: pandoc: unrecognized option `--top-level-division=chapter'
Try pandoc --help for more information.

Erro: pandoc: unrecognized option `--top-level-division=chapter'
Try pandoc --help for more information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions