yourcelf / redmine_etherpad

Plugin for embedding etherpads in redmine wikis.
14 stars 10 forks source link

Error executing the etherpad macro #3

Closed rickuz closed 11 years ago

rickuz commented 11 years ago

@yourcelf Hi, if im trying to use your plugin i get following error:

Error executing the etherpad macro (undefined method `hash_to_querystring' for #<#Class:0x00000812a76880:0x00000810efb718>)

am i missing somthing?

Environment: Redmine version 2.3.2.stable Ruby version 1.9.3-p448 (2013-06-27) [amd64-freebsd9] Rails version 3.2.13 Environment production Database adapter Mysql2 Redmine plugins: redmine_etherpad 0.0.1

yourcelf commented 11 years ago

Hmmm, can't reproduce that locally.. That method (hash_to_querystring) is defined within the plugin itself, so it looks as though it might not be loading properly. Can you say more about how you installed the plugin?

rickuz commented 11 years ago

just git clone git://github.com/yourcelf/redmine_etherpad.git

in /plugins

after that i did in configuration.yml

default: etherpad: host: foo.bar

bennigraf commented 11 years ago

Hi!

I just cloned the repo and tried to install the plugin the very same way as rickuz and run into the same error... Do you know of any way to check if the plugin has been loaded successfully? I also added the configuration data and the plugin appears in the administration...

Best, Benni.

yourcelf commented 11 years ago

When I get a moment today, I'll spin up a VM with Ruby 1.9 on it to see if that makes a difference (my workstation has 1.8.7). Can't imagine what else would be different in my test setup.

yourcelf commented 11 years ago

Should be fixed in the latest master -- block scope issues between ruby 1.9 vs ruby 1.8.

nka11 commented 10 years ago

Hi, I have the same problem on redmine 1.4 and ruby 1.9. Tried to apply the change on the 1.x branch but still have the error.