Comments (9)
Try this from the redmine directory:
./script/console
Story.trackers
from redmine_backlogs.
Here is the output:
Story.trackers
NoMethodError: undefined methodtrackers' 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.trackersReply to this email directly or view it on GitHub:
https://github.com/relaxdiego/redmine_backlogs/issues/60#comment_1029143
from redmine_backlogs.
Do you have any other plugins that might be agile-related? It looks like something is re-defining the Story class.
from redmine_backlogs.
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:in
retrieve_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:in
table_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:in
to_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:in
message'
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:in
missing_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:in
const_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:in
load_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:in
load_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:in
load_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:in
const_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:in
load_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:in
load_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:in
load_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:in
const_missing'
from (irb):1>>
Why?
from redmine_backlogs.
That looks like you haven't properly configured your rails database setup.
from redmine_backlogs.
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:in
send'
/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:in
measure'
/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:in
send'
/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:in
migrate'
/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:in
ddl_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:in
each'
/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:in
up'
/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:in
migrate_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:in
each'
/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:in
execute'
/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:in
execute'
/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:in
synchronize'
/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:in
invoke'
/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:in
top_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:in
top_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:in
top_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:in
standard_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:in
load'
/Applications/redmine-1.1.2-1/ruby/bin/rake:19
ERROR!
from redmine_backlogs.
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.
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.
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)
- Redmine: Filter chain halted as :check_enabled rendered or redirected Completed 403 Forbidden
- Cant hide custom fields
- redmine_backlogs HOT 2
- Does it support redmine3.3.x? HOT 5
- Settings - Backlogs version v1.0.6 (v1.0.6)
- redminebacklogs.net reads "buy this domain" HOT 1
- Documentation HOT 1
- Redmine 2.4.3, Ruby 1.9.3 - can't install
- backlogs_activerecord_mixin.rb causes an error HOT 4
- ArgumentError: The scope body needs to be callable. HOT 6
- Nice plugin
- got 500 error when i click 'sprints' menu HOT 1
- got 500 error when i click 'issues' menu HOT 1
- Toolbar Problem HOT 1
- Swagger - Update Api
- the plugin can support higher redmine version. HOT 10
- Redmine_backlog installation problem in Redmine 3.2.0
- Hi
- drag&drop doesn't work with project tree
- 'closed' versions or releases should be excluded from droppables
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine_backlogs.