got internal error when trying to use google calendar plugin
Added by Artyom Buryak over 15 years ago
Hi all
I think all things installed correctly - I did all steps. And I can see google calendar tab now - but I got redmine 500 error when trying it.
Also I don't see anything about google calendar in "Admin -> Information".
Please help.
Replies (7)
RE: got internal error when trying to use google calendar plugin
-
Added by Mischa The Evil over 15 years ago
- Which platform (Ruby, Rails etc.)?
- Which Redmine version?
- Which plugin version?
- Most important: What do your logs say?
RE: got internal error when trying to use google calendar plugin
-
Added by Artyom Buryak over 15 years ago
ruby 186-26 on windows server 2003
redmine 0.8.0
google calendar 0.1.0
log is here:
Processing GoogleCalendarController#show (for 195.248.184.128 at 2009-03-02 10:45:19) [GET]
Session ID: 5a42e7179cc66af40eb23335f2726fa4
Parameters: {"action"=>"show", "id"=>"mkresults", "controller"=>"google_calendar"}
NoMethodError (undefined method `[]' for nil:NilClass):
/vendor/plugins/redmine_google_calendar/app/controllers/google_calendar_controller.rb:33:in `show'
/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `send'
/vendor/rails/actionpack/lib/action_controller/base.rb:1166:in `perform_action_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:579:in `call_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:572:in `perform_action_without_benchmark'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
C:/Ruby/lib/ruby/1.8/benchmark.rb:293:in `measure'
/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
/vendor/rails/actionpack/lib/action_controller/rescue.rb:201:in `perform_action_without_caching'
/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:13:in `perform_action'
/vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb:33:in `cache'
/vendor/rails/activerecord/lib/active_record/query_cache.rb:8:in `cache'
/vendor/rails/actionpack/lib/action_controller/caching/sql_cache.rb:12:in `perform_action'
/vendor/rails/actionpack/lib/action_controller/base.rb:529:in `send'
/vendor/rails/actionpack/lib/action_controller/base.rb:529:in `process_without_filters'
/vendor/rails/actionpack/lib/action_controller/filters.rb:568:in `process_without_session_management_support'
/vendor/rails/actionpack/lib/action_controller/session_management.rb:130:in `process'
/vendor/rails/actionpack/lib/action_controller/base.rb:389:in `process'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:149:in `handle_request'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:107:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `synchronize'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:104:in `dispatch'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:120:in `dispatch_cgi'
/vendor/rails/actionpack/lib/action_controller/dispatcher.rb:35:in `dispatch'
/vendor/rails/railties/lib/webrick_server.rb:112:in `handle_dispatch'
/vendor/rails/railties/lib/webrick_server.rb:78:in `service'
C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:104:in `service'
C:/Ruby/lib/ruby/1.8/webrick/httpserver.rb:65:in `run'
C:/Ruby/lib/ruby/1.8/webrick/server.rb:173:in `start_thread'
C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start'
C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread'
C:/Ruby/lib/ruby/1.8/webrick/server.rb:95:in `start'
C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each'
C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start'
C:/Ruby/lib/ruby/1.8/webrick/server.rb:23:in `start'
C:/Ruby/lib/ruby/1.8/webrick/server.rb:82:in `start'
/vendor/rails/railties/lib/webrick_server.rb:62:in `dispatch'
/vendor/rails/railties/lib/commands/servers/webrick.rb:66
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:355:in `new_constants_in'
/vendor/rails/activesupport/lib/active_support/dependencies.rb:510:in `require'
/vendor/rails/railties/lib/commands/server.rb:39
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
C:/Ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
script/server:3
Rendering C:/redmine/redmine-0.8.0/public/500.html (500 Internal Server Error)
RE: got internal error when trying to use google calendar plugin
-
Added by Mischa The Evil over 15 years ago
Artyom Buryak wrote:
...I think all things installed correctly - I did all steps...
...Also I don't see anything about google calendar in "Admin -> Information"...
...redmine 0.8.0...
Ok, that makes sense. I've just updated the instructions given in PluginGoogleCalendar to match the UI of Redmine 0.8.x.
You receive the error due to the fact that you haven't configured the plugin regarding which PCF1 to use for the embedded-iframe. This is done at "Administration -> Plugins -> Google Calendar Plugin > Configure" instead of "Administration -> Information" starting from Redmine 0.8.x (which is why you couldn't find the plugin there).
HTH... ;)
1 project custom field
RE: got internal error when trying to use google calendar plugin
-
Added by Artyom Buryak over 15 years ago
I have "List size" only at "Administration -> Plugins -> Google Calendar Plugin > Configure"
RE: got internal error when trying to use google calendar plugin
-
Added by Mischa The Evil over 15 years ago
Artyom Buryak wrote:
I have "List size" only at "Administration -> Plugins -> Google Calendar Plugin > Configure"
This means that you have installed Eric Davis's Timesheet plugin < 0.4.0 which causes this issue (explained at #2018). He has fixed the bug in plugin-version 0.4.0.
To solve the issue you could:- upgrade the timesheet-plugin to at least version 0.4.0 or
- backport the fix (see https://projects.littlestreamsoftware.com/issues/1699) to your plugin-deployment
You should report the error to the author of the Google-Calendar plugin also since that one also uses a settings-partial named settings/_settings.rhtml
.
HTH...
RE: got internal error when trying to use google calendar plugin
-
Added by Artyom Buryak over 15 years ago
I upgraded timesheet-plugin to version 0.4.0 but I still see "List size" only at "Administration -> Plugins -> Google Calendar Plugin > Configure".
RE: got internal error when trying to use google calendar plugin
-
Added by Artyom Buryak over 15 years ago
I am sorry, it works, thank you for all!