MS Project 2007 Import/Export plugin

Added by Sergey Sobolev over 10 years ago

Based on the redmine_loader plugin, it can
  • Import tasks from MS Project xml file
  • Export project from Redmine as xml file
  • Update existing Redmine project with values from previously exported MS Project xml file

This version is not supported

Code is available at: http://github.com/vile/redmine_loader
Issue tracker: http://github.com/vile/redmine_loader/issues

Replies (38)

RE: MS Project 2007 Import/Export plugin - Added by wu wu over 6 years ago

Tasks read successfully.
but when i click import button ,it's said :
Unable to import tasks: undefined local variable or method `issue' for #

RE: MS Project 2007 Import/Export plugin - Added by wu wu over 6 years ago

i download from https://github.com/m0n9oose/redmine_loader , and install this plugin on redmine 2.5.2

RE: MS Project 2007 Import/Export plugin - Added by Dragos Ognean about 6 years ago

I've tried to install the plugin on BitNami RedMine 2.5.2 distribution (Windows 7), but it failed. the follwing error message comes up:

D:\casdev\BitNami\redmine-2.5.2-2\apps\redmine\htdocs>bundle exec rake redmine:plugins:migrate RAILS_ENV=production
DL is deprecated, please use Fiddle
*Could not find mini_portile-0.6.0 in any of the sources*
Run `bundle install` to install missing gems.

The mini_portile gem is installed on my system:

D:\casdev\BitNami\redmine-2.5.2-2\apps\redmine\htdocs>gem list mini_portile

mini_portile (0.6.0)

I downloaded the latest revision from https://github.com/m0n9oose/redmine_loader/


latest commit 3d1c1d7873
m0n9oose m0n9oose authored on Aug 29

Older releases (https://github.com/m0n9oose/redmine_loader/releases/tag/0.0.11) can be installed, but don't work.

RE: MS Project 2007 Import/Export plugin - Added by ivan t about 6 years ago

Same problem as wu wu:

Unable to import tasks: undefined local variable or method `issue' for #

I have installed https://github.com/m0n9oose/redmine_loader

How can I solve this problem?

RE: MS Project 2007 Import/Export plugin - Added by Dragos Ognean about 6 years ago

Dragos Ognean wrote:

I've tried to install the plugin on BitNami RedMine 2.5.2 distribution (Windows 7), but it failed. the follwing error message comes up:

[...]

The mini_portile gem is installed on my system:
[...]

I downloaded the latest revision from https://github.com/m0n9oose/redmine_loader/
[...]

Older releases (https://github.com/m0n9oose/redmine_loader/releases/tag/0.0.11) can be installed, but don't work.

Issue solved. The RoR bundle must be updated before installing the plugin. Running "bundle install" before installing the plugin solved the issue.

RE: MS Project 2007 Import/Export plugin - Added by ivan t about 6 years ago

Now all look right, but issues are not created. I obtain this message:
Your tasks being imported as soon as possible. You will receive email notification.

but nothing happens... some advice???

RE: MS Project 2007 Import/Export plugin - Added by Malan Van Eck about 6 years ago

Hi there Guys,

Im having the same problem with Easy Redmine:
Environment:
Redmine version 2.5.2.stable
Ruby version 2.1.2-p95 (2014-05-08) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
ckeditor
clipboard_image_paste 1.5a
dav4rack
easy_cocoon
easy_extensions 2014.03.03
easy_alerts 2014
easy_redmine
easy_user_allocations 2014
easy_xml_helper 2014
redmine_impasse 1.2.2
redmine_loader 0.3b
redmine_ms_projects 0.1.0
redmine_scm 0.4.2
redmine_track_control 1.0.7

-------------------------------------------------------------
MS Project/Redmine sync plugin
Simon Stearn, Andrew Hodgkinsons 0.3b

I can import the xml file but as soon as I try to save I get:
Unable to import tasks: undefined local variable or method `issue' for #<Issue:0x007f59c75850e8>

I'm trying to update the redmine_loader with the the following steps as suggested in this post:

cd redmine
git clone :m0n9oose/redmine_loader.git plugins/redmine_loader
rake redmine:plugins:migrate RAILS_ENV=production

But I'm getting this result:
git clone :m0n9oose/redmine_loader.git plugins/redmine_loader
Initialized empty Git repository in /var/www/redmine/plugins/redmine_loader/.git/
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

THIS IS A GREAT PLUGIN AND I WOULD LOVE TO USE IT, PLEASE HELP ME TO DO SO

RE: MS Project 2007 Import/Export plugin - Added by ivan t about 6 years ago

I have got to install it succesfully (Bitnami) following these steps on Windows:

0) Goto redmine-2.X.X/apps/redmine/htdocs/plugins
1) git clone https://github.com/m0n9oose/redmine_loader.git
2) bundle install
2.1) cd..
3) rake redmine:plugins:migrate RAILS_ENV=production

I can import the xml file and error has dissapeared, however, no task is loaded in redmine.

¿any advide?

RE: MS Project 2007 Import/Export plugin - Added by Malan Van Eck about 6 years ago

I updated the easy_extensions to 2014.04.00.
I downloaded the https://github.com/m0n9oose/redmine_loader.git latest
I ran bundle exec rake redmine:plugins:migrate RAILS_ENV=production

Environment:
Redmine version 2.5.2.stable
Ruby version 2.1.2-p95 (2014-05-08) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
ckeditor
clipboard_image_paste 1.5a
dav4rack
easy_cocoon
easy_extensions 2014.04.00
easy_alerts 2014
easy_redmine
easy_user_allocations 2014
easy_xml_helper 2014
redmine_impasse 1.2.2
redmine_loader 0.3b
redmine_scm 0.4.2
redmine_track_control 1.0.7

I'm still getting:
Unable to import tasks: undefined local variable or method `issue' for #<Issue:0x007f1108a779f0>

I also predefined the settings in the plugin config:
Alias for Tracker field: -
Tracker for project files: Task

What do I need to do to make it actually work??
Am I doing something wrong?

RE: MS Project 2007 Import/Export plugin - Added by Malan Van Eck about 6 years ago

This one fixes the problem but the export does not work!!

https://github.com/babu3009/redmine_loader

Export generates the following:
Internal 500 error:

asy_servicebar.html.erb (0.4ms)
Rendered plugins/easyproject/easy_plugins/easy_extensions/app/views/layouts/_base_body_footer_wrapper.html.erb (0.3ms)
Rendered plugins/easyproject/easy_helpers/clipboard_image_paste/app/views/clipboard_image_paste/_add_form.html.erb (2.1ms)
Rendered plugins/easyproject/easy_plugins/easy_extensions/app/views/layouts/_easy_publishing.html.erb (0.0ms)
Rendered plugins/easyproject/easy_plugins/easy_extensions/app/views/layouts/_layouts_base_body_bottom.html.erb (0.2ms)
Completed 200 OK in 75.7ms (Views: 66.5ms | ActiveRecord: 2.6ms)
Started GET "/easy_issue_timers.json" for 10.111.1.104 at 2014-10-16 12:29:58 +0200
Processing by EasyIssueTimersController#get_current_user_timers as JSON
Current user: MalanvE (id=251)
Completed 200 OK in 3.8ms (Views: 0.1ms | ActiveRecord: 0.2ms)
Started GET "/projects/prod-mvc-oxigeo/loader/export?utf8=%E2%9C%93&export=Export+Issue" for 10.111.1.104 at 2014-10-16 12:30:00 +0200
Processing by LoaderController#export as HTML
Parameters: {"utf8"=>"✓", "export"=>"Export Issue", "project_id"=>"prod-mvc-oxigeo"}
Current user: MalanvE (id=251)
Completed 500 Internal Server Error in 6.6ms

NotImplementedError (NotImplementedError):
plugins/easyproject/easy_plugins/easy_extensions/lib/easy_patch/redmine/helpers/queries_helper_patch.rb:18:in `retrieve_query_with_easy_extensions'
plugins/redmine_loader/app/controllers/loader_controller.rb:132:in `get_sorted_query'
plugins/redmine_loader/lib/concerns/export.rb:23:in `generate_xml'
plugins/redmine_loader/app/controllers/loader_controller.rb:121:in `export'
actionpack (3.2.19) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.2.19) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.2.19) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.2.19) lib/active_support/callbacks.rb:579:in `_run__882356921723862551__process_action__2977276644399163123__callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.19) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/rescue.rb:29:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in `block in instrument'
activesupport (3.2.19) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
activesupport (3.2.19) lib/active_support/notifications.rb:123:in `instrument'
actionpack (3.2.19) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.2.19) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
activerecord (3.2.19) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
actionpack (3.2.19) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.2.19) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.2.19) lib/action_controller/metal.rb:203:in `dispatch'
actionpack (3.2.19) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.2.19) lib/action_controller/metal.rb:246:in `block in action'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `call'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
actionpack (3.2.19) lib/action_dispatch/routing/route_set.rb:36:in `call'
journey (1.0.4) lib/journey/router.rb:68:in `block 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.19) lib/action_dispatch/routing/route_set.rb:608:in `call'
rack-openid (1.4.2) lib/rack/openid.rb:98:in `call'
request_store (1.0.5) lib/request_store/middleware.rb:9:in `call'
actionpack (3.2.19) 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.19) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.2.19) 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.19) lib/action_dispatch/middleware/cookies.rb:341:in `call'
activerecord (3.2.19) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.2.19) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `_run__3987564930107949141__call__293349108359718484__callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:405:in `__run_callback'
activesupport (3.2.19) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
activesupport (3.2.19) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.2.19) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
railties (3.2.19) lib/rails/rack/logger.rb:32:in `call_app'
railties (3.2.19) lib/rails/rack/logger.rb:16:in `block in call'
activesupport (3.2.19) lib/active_support/tagged_logging.rb:22:in `tagged'
railties (3.2.19) lib/rails/rack/logger.rb:16:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/request_id.rb:22:in `call'
rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
rack (1.4.5) lib/rack/runtime.rb:17:in `call'
activesupport (3.2.19) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.4.5) lib/rack/lock.rb:15:in `call'
actionpack (3.2.19) lib/action_dispatch/middleware/static.rb:63:in `call'
rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
railties (3.2.19) lib/rails/engine.rb:484:in `call'
railties (3.2.19) lib/rails/application.rb:231:in `call'
railties (3.2.19) lib/rails/railtie/configurable.rb:30:in `method_missing'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.45/lib/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.45/lib/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.45/lib/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'
/usr/local/lib/ruby/gems/1.9.1/gems/passenger-4.0.45/lib/phusion_passenger/request_handler.rb:448:in `block (3 levels) in start_threads'

RE: MS Project 2007 Import/Export plugin - Added by Dragos Ognean about 6 years ago

The issues can be imported in MS Project 2007, but there are a few issues:
- The start & end dates are not exported. The date of the export appears for all the imported issues.
- The issue tree & the target version are broken. Many issues/sub-issues are put under wrong parent issues or "Target Versions".

RE: MS Project 2007 Import/Export plugin - Added by Kawha Yang about 4 years ago

Does this work on Windows?

Also, if I want to install this plugin I just follow the link to https://github.com/AppleWatchHipster/redmine_loader?

Thanks,

Kawha

1 2 (26-38/38)