Giter VIP home page Giter VIP logo

Comments (9)

retorquere avatar retorquere commented on June 24, 2024

Try this from the redmine directory:

./script/console
Story.trackers

from redmine_backlogs.

Joong avatar Joong commented on June 24, 2024

Here is the output:

Story.trackers
NoMethodError: undefined method trackers' for #<Class:0x1033c73d8> from /Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/base.rb:1959:in met
hod_missing'
from (irb):1

On Tue, Apr 19, 2011 at 3:24 PM, friflaj <
[email protected]>wrote:

Try this from the redmine directory:

./script/console
Story.trackers

Reply to this email directly or view it on GitHub:
https://github.com/relaxdiego/redmine_backlogs/issues/60#comment_1029143

from redmine_backlogs.

retorquere avatar retorquere commented on June 24, 2024

Do you have any other plugins that might be agile-related? It looks like something is re-defining the Story class.

from redmine_backlogs.

humberos avatar humberos commented on June 24, 2024

I got this error when I used Story.trackers

ActiveRecord::ConnectionNotEstablished: ActiveRecord::ConnectionNotEstablished
from /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_pool.rb:326:in retrieve_connection' from /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb:123:inretrieve_connection'
from /usr/lib/ruby/1.8/active_record/connection_adapters/abstract/connection_specification.rb:115:in connection' from /usr/lib/ruby/1.8/active_record/base.rb:1265:intable_exists?'
from /usr/lib/ruby/1.8/active_record/base.rb:1404:in inspect' from /usr/lib/ruby/1.8/active_support/core_ext/name_error.rb:5:into_str'
from /usr/lib/ruby/1.8/active_support/core_ext/name_error.rb:5:in to_s' from /usr/lib/ruby/1.8/active_support/core_ext/name_error.rb:5:inmessage'
from /usr/lib/ruby/1.8/active_support/core_ext/name_error.rb:5:in missing_name' from /usr/lib/ruby/1.8/active_support/core_ext/name_error.rb:16:inmissing_name?'
from /usr/lib/ruby/1.8/active_support/dependencies.rb:439:in load_missing_constant' from /usr/lib/ruby/1.8/active_support/dependencies.rb:96:inconst_missing'
from /usr/share/redmine/app/models/issue.rb:30
from /usr/lib/ruby/1.8/active_support/dependencies.rb:380:in load_without_new_constant_marking' from /usr/lib/ruby/1.8/active_support/dependencies.rb:380:inload_file'
from /usr/lib/ruby/1.8/active_support/dependencies.rb:521:in new_constants_in' from /usr/lib/ruby/1.8/active_support/dependencies.rb:379:inload_file'
from /usr/lib/ruby/1.8/active_support/dependencies.rb:259:in require_or_load' from /usr/lib/ruby/1.8/active_support/dependencies.rb:425:inload_missing_constant'
from /usr/lib/ruby/1.8/active_support/dependencies.rb:80:in const_missing' from /usr/lib/ruby/1.8/active_support/dependencies.rb:92:inconst_missing'
from /usr/share/redmine/vendor/plugins/redmine_backlogs/app/models/story.rb:1
from /usr/lib/ruby/1.8/active_support/dependencies.rb:380:in load_without_new_constant_marking' from /usr/lib/ruby/1.8/active_support/dependencies.rb:380:inload_file'
from /usr/lib/ruby/1.8/active_support/dependencies.rb:521:in new_constants_in' from /usr/lib/ruby/1.8/active_support/dependencies.rb:379:inload_file'
from /usr/lib/ruby/1.8/active_support/dependencies.rb:259:in require_or_load' from /usr/lib/ruby/1.8/active_support/dependencies.rb:425:inload_missing_constant'
from /usr/lib/ruby/1.8/active_support/dependencies.rb:80:in const_missing' from /usr/lib/ruby/1.8/active_support/dependencies.rb:92:inconst_missing'
from (irb):1>>

Why?

from redmine_backlogs.

retorquere avatar retorquere commented on June 24, 2024

That looks like you haven't properly configured your rails database setup.

from redmine_backlogs.

Joong avatar Joong commented on June 24, 2024

Now I'm receiving this error.

Please fix the issues with the follwing IDs and retry the migration
/Applications/redmine-1.1.2-1/apps/redmine/vendor/plugins/redmine_backlogs/db/migrate/014_fix_positions.rb:14:in up_without_benchmarks' /Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:282:insend'
/Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:282:in migrate' /Applications/redmine-1.1.2-1/ruby/lib/ruby/1.8/benchmark.rb:293:inmeasure'
/Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:282:in migrate' /Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:365:insend'
/Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:365:in migrate' /Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:486:inmigrate'
/Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:562:in call' /Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:562:inddl_transaction'
/Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:485:in migrate' /Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:472:ineach'
/Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:472:in migrate' /Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:400:inup'
/Applications/redmine-1.1.2-1/apps/redmine/vendor/rails/activerecord/lib/active_record/migration.rb:383:in migrate' /Applications/redmine-1.1.2-1/apps/redmine/vendor/plugins/engines/lib/engines/plugin/migrator.rb:20:inmigrate_plugin'
/Applications/redmine-1.1.2-1/apps/redmine/config/../vendor/plugins/engines/lib/engines/plugin.rb:93:in migrate' /Applications/redmine-1.1.2-1/apps/redmine/lib/tasks/migrate_plugins.rake:8 /Applications/redmine-1.1.2-1/apps/redmine/lib/tasks/migrate_plugins.rake:5:ineach'
/Applications/redmine-1.1.2-1/apps/redmine/lib/tasks/migrate_plugins.rake:5
/Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in call' /Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:inexecute'
/Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in each' /Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:inexecute'
/Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in invoke_with_call_chain' /Applications/redmine-1.1.2-1/ruby/lib/ruby/1.8/monitor.rb:242:insynchronize'
/Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in invoke_with_call_chain' /Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:ininvoke'
/Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in invoke_task' /Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:intop_level'
/Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in each' /Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:intop_level'
/Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling' /Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:intop_level'
/Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:in run' /Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling'
/Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:in run' /Applications/redmine-1.1.2-1/ruby/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31 /Applications/redmine-1.1.2-1/ruby/bin/rake:19:inload'
/Applications/redmine-1.1.2-1/ruby/bin/rake:19
ERROR!

from redmine_backlogs.

retorquere avatar retorquere commented on June 24, 2024

Could you get the latest version from git and re-run the installer? It will have more information on the problem you're experiencing. No need to run with --trace.

from redmine_backlogs.

Joong avatar Joong commented on June 24, 2024

Still having the same issue:

** Invoke db:migrate_plugins (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate_plugins
Migrating engines...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating classic_pagination...
Migrating gravatar...
Migrating open_id_authentication...
Migrating prepend_engine_views...
Migrating redmine_backlogs...
== FixPositions: migrating ===================================================
You have issues in your database that have one or more of the following problems:

  • subject is empty or NULL
  • due date is set, but start date is not
  • start date is later than due date
  • updated-date is before created-date
    ~

from redmine_backlogs.

retorquere avatar retorquere commented on June 24, 2024

And you're sure it has said "Testing for database corruption... Database OK!" before this point somewhere? If not, you're not on the latest installer version.

from redmine_backlogs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.