Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError (no implicit conversion of Hash into String) #13

Open
rg-ac opened this issue Dec 7, 2017 · 3 comments
Open

TypeError (no implicit conversion of Hash into String) #13

rg-ac opened this issue Dec 7, 2017 · 3 comments

Comments

@rg-ac
Copy link

rg-ac commented Dec 7, 2017

We tried the redmine_doc_pu on the following setup:

Linux Ubuntu 14.04
Redmine version 3.2.8.stable
Ruby version 2.2.4-p230 (2015-12-16) [x86_64-linux]
Rails version 4.2.7.1

We can create new documents under 'Publish', but when the Build is started, there is an Internal error and the logfile says:

TypeError (no implicit conversion of Hash into String):
plugins/redmine_doc_pu/lib/textile_doc_latex.rb:207:in to' plugins/redmine_doc_pu/lib/textile_doc_latex.rb:207:in to_latex'
plugins/redmine_doc_pu/lib/latex_wiki_page.rb:60:in to_latex' plugins/redmine_doc_pu/app/models/doc_pu_wiki_page.rb:24:in to_latex'
plugins/redmine_doc_pu/lib/latex_doc.rb:67:in block in to_latex' plugins/redmine_doc_pu/lib/latex_doc.rb:66:in to_latex'
plugins/redmine_doc_pu/lib/latex_doc.rb:120:in build' plugins/redmine_doc_pu/app/models/doc_pu_document.rb:27:in build'
plugins/redmine_doc_pu/app/controllers/doc_pu_controller.rb:101:in build_remote' lib/redmine/sudo_mode.rb:63:in sudo_mode'

@rg-ac
Copy link
Author

rg-ac commented Dec 7, 2017

We also tried it with ruby 2.1.5 - same problem.

@vvmruder
Copy link
Owner

Sorry, I'am blocked by other projects. But I will try to look at it soon.

@rg-ac
Copy link
Author

rg-ac commented Jan 15, 2018

It might sound strange but it is triggered by the content of the wiki page. If I create a new wiki page with just the content "foo" it works as expected. If I edit the wiki page to have "@foo@" as the content I have the problem described above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants