iceskysl / holidays Goto Github PK
View Code? Open in Web Editor NEWThis is a holidays plugin for Redmine
License: MIT License
This is a holidays plugin for Redmine
License: MIT License
on Installation the plugin on 2.4.1 wie see the following errors.
a) wrong installation instructions for getting the plugin:
git clone [email protected]:IceskYsl/holidays.git
we used: git clone git://github.com/IceskYsl/holidays.git
b) errors on migrate to redmine:
rake redmine:plugins:migrate RAILS_ENV=production
...
rake aborted!
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/trace_output.rb:16:in block in trace_on': invalid byte sequence in US-ASCII (ArgumentError) from /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/trace_output.rb:14:in
map'
from /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/trace_output.rb:14:in trace_on' from /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:340:in
trace'
from /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:187:in display_error_message' from /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:174:in
rescue in standard_exception_handling'
from /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:165:in standard_exception_handling' from /var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:75:in
run'
from /var/lib/gems/1.9.1/gems/rake-10.1.0/bin/rake:33:in <top (required)>' from /usr/local/bin/rake:23:in
load'
from /usr/local/bin/rake:23:in `
no problems with other plugins.
we use redmine 2.4.1 on debian wheezy with german utf8 localization
i run rake db:migrate_plugins RAILS_ENV=production get this error:
rake aborted!
D:/WebDev/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/trace_output.
rb:16:in block in trace_on': invalid byte sequence in US-ASCII (ArgumentError) from D:/WebDev/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/ trace_output.rb:14:in
map'
from D:/WebDev/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/
trace_output.rb:14:in trace_on' from D:/WebDev/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/ application.rb:340:in
trace'
from D:/WebDev/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/
application.rb:187:in display_error_message' from D:/WebDev/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/ application.rb:174:in
rescue in standard_exception_handling'
from D:/WebDev/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/
application.rb:165:in standard_exception_handling' from D:/WebDev/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/ application.rb:75:in
run'
from D:/WebDev/ruby-1.9.3/lib/ruby/gems/1.9.1/gems/rake-10.1.0/bin/rake:
33:in <top (required)>' from D:/WebDev/ruby-1.9.3/bin/rake:23:in
load'
from D:/WebDev/ruby-1.9.3/bin/rake:23:in `
with "git clone [email protected]:IceskYsl/holidays.git"
I get the following error:
Cloning into 'holidays'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Hi there.
I successfully completed the install instructions:
http://www.redmine.org/plugins/holidays
Then I clicked on the "holidays" tab and I got below exception:
Started GET "/holidays" for 10.0.0.16 at Mon Jun 23 15:22:45 +0200 2014
Processing by HolidaysController#index as HTML
Current user: javier.legido (id=9)
Rendered plugins/holidays/app/views/holidays/_nav.html.erb (1.2ms)
Rendered plugins/holidays/app/views/holidays/index.html.erb within layouts/base (5.3ms)
Completed 500 Internal Server Error in 19.8ms
ActionView::Template::Error (undefined method sunday?' for Mon, 26 May 2014:Date): 13: <% day = @calendar.startdt 14: while day <= @calendar.enddt %> 15: <%= ("<td class='week-number' title='#{ l(:label_week) }'>#{(day+(11-day.cwday)%7).cweek}</td>".html_safe) if day.cwday == @calendar.first_wday %> 16: <td class="<%= [email protected] ? 'even' : 'odd' %><%= ' today' if Date.today == day %> <%= (day.sunday? || day.saturday?) ? 'weekend' : 'weekday' %>"> 17: <p class="day-num"><%= day.day %></p> 18: <% @calendar.events_on(day).each do |i| %> 19: <div class="<%= i.css_classes %> <%= 'starting' if day == i.start_date %> <%= 'ending' if day == i.due_date %> tooltip"> plugins/holidays/app/views/holidays/index.html.erb:16:in
_plugins_holidays_app_views_holidays_index_html_erb___1858800593_70021819238460'
actionpack (3.2.15) lib/action_view/template.rb:145:in send' actionpack (3.2.15) lib/action_view/template.rb:145:in
render'
activesupport (3.2.15) lib/active_support/notifications.rb:125:in instrument' actionpack (3.2.15) lib/action_view/template.rb:143:in
render'
actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:47:in render_template' actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in
instrument'
activesupport (3.2.15) lib/active_support/notifications.rb:123:in instrument' activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in
instrument'
activesupport (3.2.15) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in
instrument'
actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:46:in render_template' actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:54:in
render_with_layout'
actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:45:in render_template' actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:18:in
render'
actionpack (3.2.15) lib/action_view/renderer/renderer.rb:36:in render_template' actionpack (3.2.15) lib/action_view/renderer/renderer.rb:17:in
render'
actionpack (3.2.15) lib/abstract_controller/rendering.rb:110:in _render_template' actionpack (3.2.15) lib/action_controller/metal/streaming.rb:225:in
_render_template'
actionpack (3.2.15) lib/abstract_controller/rendering.rb:103:in render_to_body' actionpack (3.2.15) lib/action_controller/metal/renderers.rb:28:in
render_to_body'
actionpack (3.2.15) lib/action_controller/metal/compatibility.rb:50:in render_to_body' actionpack (3.2.15) lib/abstract_controller/rendering.rb:88:in
render'
actionpack (3.2.15) lib/action_controller/metal/rendering.rb:16:in render' actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in
render'
activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in ms' /usr/lib/ruby/1.8/benchmark.rb:308:in
realtime'
activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in ms' actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in
render'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:83:in cleanup_view_runtime' activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:24:in
cleanup_view_runtime'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:39:in render' actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:10:in
default_render'
actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:5:in send_action' actionpack (3.2.15) lib/abstract_controller/base.rb:167:in
process_action'
actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in process_action' actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in
process_action'
activesupport (3.2.15) lib/active_support/callbacks.rb:469:in _run__1597795220__process_action__42862657__callbacks' activesupport (3.2.15) lib/active_support/callbacks.rb:405:in
send'
activesupport (3.2.15) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.15) lib/active_support/callbacks.rb:385:in
_run_process_action_callbacks'
activesupport (3.2.15) lib/active_support/callbacks.rb:81:in send' activesupport (3.2.15) lib/active_support/callbacks.rb:81:in
run_callbacks'
actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in process_action' actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in
process_action'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in process_action' activesupport (3.2.15) lib/active_support/notifications.rb:123:in
instrument'
activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (3.2.15) lib/active_support/notifications.rb:123:in
instrument'
actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in process_action' actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in
process_action'
activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (3.2.15) lib/abstract_controller/base.rb:121:in
process'
actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in process' actionpack (3.2.15) lib/action_controller/metal.rb:203:in
dispatch'
actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in dispatch' actionpack (3.2.15) lib/action_controller/metal.rb:246:in
action'
actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in call' actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in
dispatch'
actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in call' journey (1.0.4) lib/journey/router.rb:68:in
call'
journey (1.0.4) lib/journey/router.rb:56:in each' journey (1.0.4) lib/journey/router.rb:56:in
call'
actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in call' rack-openid (1.4.1) lib/rack/openid.rb:99:in
call'
actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' rack (1.4.5) lib/rack/etag.rb:23:in
call'
rack (1.4.5) lib/rack/conditionalget.rb:25:in call' actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in
call'
actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in call' actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in
call'
rack (1.4.5) lib/rack/session/abstract/id.rb:210:in context' rack (1.4.5) lib/rack/session/abstract/id.rb:205:in
call'
actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in call' activerecord (3.2.15) lib/active_record/query_cache.rb:64:in
call'
activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
The functionality is missing. You can only add holiday. If you make a mistake - you have to manually in database remove the row.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.