eyp / redmine_spent_time

Redmine plugin that improves the spent time functionality.
Other
57 stars 39 forks source link

Issue while installing redmine_spent_time #16

Closed harishv closed 12 years ago

harishv commented 12 years ago

Hi All,

I got an issue while installing redmine_spent_time to my redmine-2.0.3. Here is the log:

/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
Exiting
/opt/redmine-2.0.3/plugins/redmine_spent_time/init.rb:21:in `': undefined method `load_once_paths' for ActiveSupport::Dependencies:Module (NoMethodError)
    from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
    from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `block in require'
    from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in `require'
    from /opt/redmine-2.0.3/lib/redmine/plugin.rb:129:in `block in load'
    from /opt/redmine-2.0.3/lib/redmine/plugin.rb:120:in `each'
    from /opt/redmine-2.0.3/lib/redmine/plugin.rb:120:in `load'
    from /opt/redmine-2.0.3/config/initializers/30-redmine.rb:13:in `'
    from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in `load'
    from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in `block in load'
    from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in `load_dependency'
    from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in `load'
    from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/engine.rb:588:in `block (2 levels) in '
    from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/engine.rb:587:in `each'
    from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/engine.rb:587:in `block in '
    from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/initializable.rb:30:in `instance_exec'
    from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/initializable.rb:30:in `run'
    from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/initializable.rb:55:in `block in run_initializers'
    from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/initializable.rb:54:in `each'
    from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/initializable.rb:54:in `run_initializers'
    from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/application.rb:136:in `initialize!'
    from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/railtie/configurable.rb:30:in `method_missing'
    from /opt/redmine-2.0.3/config/environment.rb:14:in `'
    from /opt/redmine-2.0.3/config.ru:4:in `require'
    from /opt/redmine-2.0.3/config.ru:4:in `block in 
' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize' from /opt/redmine-2.0.3/config.ru:1:in `new' from /opt/redmine-2.0.3/config.ru:1:in `
' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands/server.rb:46:in `app' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands/server.rb:70:in `start' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.rb:55:in `block in ' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.rb:50:in `tap' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.rb:50:in `' from script/rails:6:in `require' from script/rails:6:in `
'

Please help me out resolving this.

Thanks in advance.

eyp commented 12 years ago

Hi, for now it isn't compatible with Redmine 2.X, there is a patch that solves the problem, but I have to apply it. I'll do it in a few days...

El miércoles, 11 de julio de 2012, Harish Varada escribió:

Hi All,

I got an issue while installing redmine_spent_time to my redmine-2.0.3. Here is the log:

/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in
`block in require': iconv will be deprecated in the future, use
String#encode instead.
Exiting
/opt/redmine-2.0.3/plugins/redmine_spent_time/init.rb:21:in `': undefined method `load_once_paths' for
ActiveSupport::Dependencies:Module (NoMethodError)
        from
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in
`require'
        from
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in
`block in require'
        from
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in
`load_dependency'
        from
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in
`require'
        from /opt/redmine-2.0.3/lib/redmine/plugin.rb:129:in `block in
load'
        from /opt/redmine-2.0.3/lib/redmine/plugin.rb:120:in `each'
        from /opt/redmine-2.0.3/lib/redmine/plugin.rb:120:in `load'
        from /opt/redmine-2.0.3/config/initializers/30-redmine.rb:13:in
`'
        from
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in
`load'
        from
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in
`block in load'
        from
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:in
`load_dependency'
        from
/usr/lib/ruby/gems/1.9.1/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:245:in
`load'
        from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/engine.rb:588:in
`block (2 levels) in '
        from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/engine.rb:587:in
`each'
        from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/engine.rb:587:in
`block in '
        from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/initializable.rb:30:in
`instance_exec'
        from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/initializable.rb:30:in
`run'
        from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/initializable.rb:55:in
`block in run_initializers'
        from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/initializable.rb:54:in
`each'
        from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/initializable.rb:54:in
`run_initializers'
        from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/application.rb:136:in
`initialize!'
        from
/usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/railtie/configurable.rb:30:in
`method_missing'
        from /opt/redmine-2.0.3/config/environment.rb:14:in `'
        from /opt/redmine-2.0.3/config.ru:4:in `require'
        from /opt/redmine-2.0.3/config.ru:4:in `block in 
' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize' from /opt/redmine-2.0.3/config.ru:1:in `new' from /opt/redmine-2.0.3/config.ru:1:in `
' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands/server.rb:46:in `app' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app' from /usr/lib/ruby/gems/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands/server.rb:70:in `start' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.rb:55:in `block in ' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.rb:50:in `tap' from /usr/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.rb:50:in `' from script/rails:6:in `require' from script/rails:6:in `
'

Please help me out resolving this.

Thanks in advance.

  • Harish.Varada

Reply to this email directly or view it on GitHub: https://github.com/eyp/redmine_spent_time/issues/16

Eduardo Yáñez Parareda - http://serfj.sourceforge.net

harishv commented 12 years ago

Thanks for the support El. Will be waiting to hear from you.

willthrom commented 12 years ago

Hi,

How is going the upgrading to Redmine 2.X?

Thank you.

willthrom commented 12 years ago

Well. I patched my files manually and it is working so far

eyp commented 12 years ago

Sorry Will, lot of work here. I have to set up the new branch to be able to maintain both versions. I know it may be fast to do, but I don't want to lose control on anything.

On 6 August 2012 16:41, willthrom < reply@reply.github.com

wrote:

Well. I patched my file manually and it is working so far


Reply to this email directly or view it on GitHub: https://github.com/eyp/redmine_spent_time/issues/16#issuecomment-7525475

eyp commented 12 years ago

Well, now the master repo has been patched

willthrom commented 12 years ago

Hey, Thank you.