プロジェクト

全般

プロフィール

Defect #1343

完了

Cannot uninstall plugin

Seb LBVC さんが9年以上前に追加. 9年以上前に更新.

ステータス:
終了(Closed)
優先度:
通常(Normal)
担当者:
対象バージョン:
開始日:
2014/07/18
期日:
進捗率:

100%

予定工数:

説明

Hello,

I am french so I apologize for my english writing

I have installed your plugin onto my Redmine but after installation, line wrap occcured after each words in the GUI.

Redmine is in french, but this bug does not occurs if the Redmine is set to english

So, I've tried to uninstall this plugin with this command:

rake redmine:plugins:migrate NAME=redmine_issue_templates VERSION=0 RAILS_ENV=production 

But it fails with the following message:

??
The source :rubygems is deprecated because HTTP requests are insecure.
Please change your source to 'https://rubygems.org' if possible, or 'http://rubygems.org' if not.
(in /usr/share/redmine-2.4.1)
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
  • Invoke redmine:plugins:migrate (first_time)
  • Invoke environment (first_time)
  • Execute environment
  • Execute redmine:plugins:migrate
    Migrating redmine_issue_templates (Redmine Issue Templates plugin)...
    RemoveIsDefaultFromGlobalIssueTemplates: reverting ======================
    rake aborted!
    An error has occurred, all later migrations canceled:

uninitialized constant RemoveIsDefaultFromGlobalIssueTemplates::IrreversibleMigration/usr/share/redmine-2.4.1/plugins/redmine_issue_templates/db/migrate/20140330155030_remove_is_default_from_global_issue_templates.rb:7:in `down'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:376:in `down'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:410:in `block (2 levels) in migrate'
/usr/lib/ruby/1.9.1/benchmark.rb:280:in `measure'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:410:in `block in migrate'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:389:in `migrate'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:528:in `migrate'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:720:in `block (2 levels) in migrate'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:777:in `call'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:777:in `ddl_transaction'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:719:in `block in migrate'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:700:in `each'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:700:in `migrate'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:574:in `down'
/var/lib/gems/1.9.1/gems/activerecord-3.2.15/lib/active_record/migration.rb:555:in `migrate'
/usr/share/redmine-2.4.1/lib/redmine/plugin.rb:452:in `migrate_plugin'
/usr/share/redmine-2.4.1/lib/redmine/plugin.rb:424:in `migrate'
/usr/share/redmine-2.4.1/lib/redmine/plugin.rb:435:in `migrate'
/usr/share/redmine-2.4.1/lib/tasks/redmine.rake:74:in `block (3 levels) in <top (required)>'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:236:in `call'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:236:in `block in execute'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:231:in `each'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:231:in `execute'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:175:in `block in invoke_with_call_chain'
/usr/lib/ruby/1.9.1/monitor.rb:211:in `mon_synchronize'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:168:in `invoke_with_call_chain'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/task.rb:161:in `invoke'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:149:in `invoke_task'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in `each'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:106:in `block in top_level'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:115:in `run_with_threads'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:100:in `top_level'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:78:in `block in run'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:165:in `standard_exception_handling'
/var/lib/gems/1.9.1/gems/rake-10.1.0/lib/rake/application.rb:75:in `run'
/var/lib/gems/1.9.1/gems/rake-10.1.0/bin/rake:33:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
Tasks: TOP => redmine:plugins:migrate
??

How can I install this plugin ?

Server environnement:
Debian 7 64 bits
Apache/2.2.22 (Debian) with Passenger
MySQL 5.1


関連するチケット 1 (0件未完了1件完了)

コピー元 Issue Template - Defect #1342: [ISSUE_PLUGIN] Cannot uninstall plugin却下(Invalid)2014/07/18

操作

Seb LBVC さんが9年以上前に更新

  • コピー元 Defect #1342: [ISSUE_PLUGIN] Cannot uninstall plugin を追加

Akiko Takano さんが9年以上前に更新

  • ステータス新規(New) から 担当(Assigned) に変更
  • 担当者Akiko Takano にセット

Hello, Seb.
Thank you so much for your trying my plugin, and sorry this plugin couldn't meet your request….

Please confirm this file:

  • redmine_issue_templates/db/migrate/20140330155030_remove_is_default_from_global_issue_templates.rb

I'm sorry it seems the bug of migration script.
If you find this line "raise IrreversibleMigration", please remove or comment out it and try to uninstall script again.

class RemoveIsDefaultFromGlobalIssueTemplates < ActiveRecord::Migration
  def self.up
    remove_column :global_issue_templates, :is_default
  end

  def self.down
     # raise IrreversibleMigration
  end
end

If you still have trouble after trying above workaround, please let me know.
Also I'll review my plugin in French.

Akiko Takano さんが9年以上前に更新

  • 進捗率0 から 40 に変更

I confirmed I can reproduce above issue on version 0.0.8.
So I'm going to release fixed version 0.0.9 soon. I'm sorry for taking up so much of your time.

Akiko Takano さんが9年以上前に更新

  • 対象バージョンver0.0.8 から ver0.0.9 に変更

Akiko Takano さんが9年以上前に更新

  • ステータス担当(Assigned) から 終了(Closed) に変更
  • 進捗率40 から 100 に変更

This problem was fixed on commit: 3ce1f21 , and released 0.0.9.

Akiko Takano さんが9年以上前に更新

This problem was fixed on commit:3ce1f216854d, and released 0.0.9.

他の形式にエクスポート: Atom PDF