Project

General

Profile

Meetings Plugin is not working with 1.4

Added by Tushar A almost 12 years ago

It gives error on line # 9 of meetings controller

requires 'ri_cal'


Replies (24)

RE: Meetings Plugin is not working with 1.4 - Added by Arnaud Martel almost 12 years ago

Did you read all the install instructions (https://github.com/amartel/redmine_meetings)? The 2 first lines of the install guide are:

redmine_meetings requires ri_cal:

  • gem install ri_cal

RE: Meetings Plugin is not working with 1.4 - Added by Tushar A almost 12 years ago

Hi Arnaud,

Thanks for quick reply.

I have installed ri_cal 0.8.8 and tzinfo 0.3.33. Also i can see it in the 'gem list' out put.

In fact this plugin works fine with Redmine 1.2 on another slice.
The Meetings plugin page says, it is supported for 1.3 but there is no mention of 1.4

I keep getting MissingSourceFile (no such file to load -- ri_cal)

RE: Meetings Plugin is not working with 1.4 - Added by Lorenzo Forti almost 12 years ago

I've the same problem. I hope the plugin mantainer will resolve the bug

RE: Meetings Plugin is not working with 1.4 - Added by Tushar A almost 12 years ago

Hi Lorenzo,
Thanks for support.
Actually i tried leaving a message to the maintainer on git but i guess it is blocked for messages.

RE: Meetings Plugin is not working with 1.4 - Added by Daniel Munn almost 12 years ago

for when you upgrade to redmine 2.0 I've forked their project and patched their codebase to work, unfortunately this isn't 1.4 compatible.

https://github.com/danmunn/redmine_meetings/

RE: Meetings Plugin is not working with 1.4 - Added by Daniel Munn almost 12 years ago

Oh and with the ri_cal error, if you upload the attached file into the root of the plugin (vendor/plugins/redmine_meetings/), run bundle again, it should fix the problem.

Gemfile (42 Bytes) Gemfile upload to vendor/plugins/redmine/meetings/Gemfile and run bundle

RE: Meetings Plugin is not working with 1.4 - Added by Arnaud Martel almost 12 years ago

Hi,
Sorry, I didn't have my Internet access for few days but I'm back again ;)
I don't use bundle yet (I'm based on redmine subversion r8730) and I will be very happy if someone can confirm that uploading gem file + running bundle (as Daniel said) is the solution. In this case, I will update my plugin to add the gem file ASAP...

RE: Meetings Plugin is not working with 1.4 - Added by Daniel Munn almost 12 years ago

Hi Arnaud,

I have opened a pull request as well with you; Redmine 1.4 started implementing bundle to manage gem dependencies I believe.

RE: Meetings Plugin is not working with 1.4 - Added by Lorenzo Forti almost 12 years ago

thank you Daniel, it works!!!!

RE: Meetings Plugin is not working with 1.4 - Added by Tushar A almost 12 years ago

Hi Daniel,
Thanks. It is working with the Gemfile.
Also thanks a lot for this plugin.
Looking forward to many more plugins from you :)

RE: Meetings Plugin is not working with 1.4 - Added by Saugat kc over 11 years ago

I am testing meeting plugin in redmine 1.4 but whenever I try to open the the conference from mail, it always throws error.
The mail details are:

Start : 2012-12-14 14:55 - (GMT+09:00) Tokyo 
End : 2012-12-14 16:55 - (GMT+09:00) Tokyo 
Location : Use the conference room dedicated to the project 
Follow this link to join the web conference : http://localhost:82/redmine/projects/meetingtest/meetings/join_conference

When I click the follow-up link, it throws "404 Not Found error - OpenURI::HTTPError in MeetingsController#join_conference".
Will anyone please suggest me the real cause of this error.

RE: Meetings Plugin is not working with 1.4 - Added by Arnaud Martel over 11 years ago

You didn't give a lot of information about your configuration but I suspect that your bigbluebutton configuration is not correct.
Have you checked the global plugin configuration (administration -> plugins -> Meetings plugin) and are you sure that your BigBlueButton server is running?

RE: Meetings Plugin is not working with 1.4 - Added by Saugat kc over 11 years ago

Yes the server is running well and plugin configuration is also setup well. I can access the BBB server demo api through browser but the meeting plugin is not able to communicate with BBB server. Public and Private ip is set to http://192.168.189.128 and salt-security is also set. What can be the possible issue for such error.

RE: Meetings Plugin is not working with 1.4 - Added by Arnaud Martel over 11 years ago

OK. The only one url that plugin is trying to open is used to call bigbluebutton api(s). If you set private ip to http://192.168.189.128, then the url used will be something like http://192.168.189.128/bigbluebutton/api/join?meetingID=....&password=...x%x% checksum=...
Could you open a user session on your redmine server and try to open http://192.168.189.128/bigbluebutton/api/join to check if this is OK??
Another thing to do is to look in your nginx logs (on your BBB server) to know what url returns 404...

RE: Meetings Plugin is not working with 1.4 - Added by Saugat kc over 11 years ago

I did try to open the link and it come to end with

This XML file does not appear to have any style information associated with it. The document tree is shown below.
      <response><returncode>FAILED</returncode><messageKey>checksumError</messageKey><message>You did not pass the checksum security check</message></response>

Is there anything wrong I did in the installation of BBB.

RE: Meetings Plugin is not working with 1.4 - Added by Saugat kc over 11 years ago

Full Trace error gives following result:

NoMethodError in MeetingsController#join_conference

undefined method `elements' for nil:NilClass

C:/Redmine1.3/apps/redmine/vendor/plugins/redmine_meetings/app/controllers/meetings_controller.rb:285:in `join_conference'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `send'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:1333:in `perform_action_without_filters'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:617:in `call_filters'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
C:/Redmine1.3/ruby/lib/ruby/1.8/benchmark.rb:308:in `realtime'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/activesupport-2.3.14/lib/active_support/core_ext/benchmark.rb:17:in `ms'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/rescue.rb:160:in `perform_action_without_flash'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/flash.rb:151:in `perform_action'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `send'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:532:in `process_without_filters'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/filters.rb:606:in `process'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:391:in `process'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/base.rb:386:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/routing/route_set.rb:438:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:87:in `dispatch'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:121:in `_call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:130:in `build_middleware_stack'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:29:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:9:in `cache'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/query_cache.rb:28:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.14/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/string_coercion.rb:25:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/rack-1.1.1/lib/rack/head.rb:9:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/rack-1.1.1/lib/rack/methodoverride.rb:24:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/params_parser.rb:15:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/session/cookie_store.rb:99:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/failsafe.rb:26:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/rack-1.1.1/lib/rack/lock.rb:11:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/rack-1.1.1/lib/rack/lock.rb:11:in `synchronize'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/rack-1.1.1/lib/rack/lock.rb:11:in `call'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:106:in `call'
C:/Redmine1.3/apps/redmine/config/initializers/mongrel_cluster_with_rails_211_fix.rb:62:in `dispatch_cgi'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:101:in `dispatch_cgi'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/actionpack-2.3.14/lib/action_controller/dispatcher.rb:27:in `dispatch'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:76:in `process'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:74:in `synchronize'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/rails.rb:74:in `process'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:159:in `process_client'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:158:in `each'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:158:in `process_client'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `run'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `initialize'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `new'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:285:in `run'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268:in `initialize'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268:in `new'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel.rb:268:in `run'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb:282:in `run'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb:281:in `each'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/configurator.rb:281:in `run'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:128:in `run'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/lib/mongrel/command.rb:212:in `run'
C:/Redmine1.3/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1.5-x86-mingw32/bin/mongrel_rails:281
C:/Redmine1.3/ruby/bin/mongrel_rails:19:in `load'
C:/Redmine1.3/ruby/bin/mongrel_rails:19

I think plugins fails to call the api of BBB.

RE: Meetings Plugin is not working with 1.4 - Added by Arnaud Martel over 11 years ago

Hum, I don't really understand what's wrong. Best thing to do would be to edit file C:/Redmine1.3/apps/redmine/vendor/plugins/redmine_meetings/app/controllers/meetings_controller.rb and insert at line 283 (after line "data = callApi(...") :

Rails.logger.error "BBB response: #{data}" 

and, at line 384 (after line "url = server + ..."):

Rails.logger.error "BBB url called: #{url}" 

Then restart your redmine server, test again and look into your production.log file to see if the 2 previous debug messages are giving you more information..

RE: Meetings Plugin is not working with 1.4 - Added by Saugat kc over 11 years ago

Finally the error was solved. The error was due to the extra `/` at the end of server IP.
Changing the server ip from "http://192.168.1.208/" to "http://192.168.1.208" solved the problem.

Arnaud, I really appreciate your help. Thank you. :)

Meetings Plugin : delete meeting in redmine and update to users by email (meeting v0.2.3) - Added by Youssef Boujraf about 11 years ago

Dear,

What about delete meeting?

When I deleted a meeting, it is ok in Redmine but no update send to users by email.
Then, the meeting stills in the calendar.

Do you have any idea to fix that?

Best Regards,
Youssef

RE: Meetings Plugin is not working with 1.4 - Added by Arnaud Martel about 11 years ago

Hum. I like this feature !!
I think I could send an email with a cancellation when meeting is deleted (but I don't know if external applications, like outlook for example, will then delete the associated event in their calendar...).

RE: Meetings Plugin is not working with 1.4 - Added by Youssef Boujraf about 11 years ago

Dear,

Yes it is.

When we cancelled a meeting in outlook, the users receive an email.

Best regards,
Youssef

RE: Meetings Plugin is not working with 1.4 - Added by Youssef Boujraf about 11 years ago

Dear

Do you any idea if you will implemented in this plugin?

It will be great.

Best Regards,
Youssef

RE: Meetings Plugin is not working with 1.4 - Added by Arnaud Martel about 11 years ago

Hi Youssef,

If you talk about the cancellation email, it is already done. I've commited the changes 11 days ago but it will only work with redmine 2.x.x (I'm not working on redmine 1.X since I upgraded all my servers to redmine 2.x)

Kind regards,

Arnaud

    (1-24/24)