Created
June 2, 2011 16:04
-
-
Save ivanoats/1004706 to your computer and use it in GitHub Desktop.
WP to Refinery import
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ivan:~/Development/ruby/refinerycms/ivanenviroman [git:master] → bundle exec rake wordpress:import[~/Downloads/wordpress.2010-07-01.2011-05-01.xml] --trace | |
** Invoke wordpress:import (first_time) | |
** Execute wordpress:import | |
** Invoke environment (first_time) | |
** Execute environment | |
rake aborted! | |
Given file '/Users/ivan/Development/ruby/refinerycms/ivanenviroman/~/Downloads/wordpress.2010-07-01.2011-05-01.xml' no file or not readable. | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/bundler/gems/refinerycms-blog-3fcf7e43873d/lib/tasks/wordpress.rake:21:in `block (2 levels) in <top (required)>' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:205:in `call' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:205:in `block in execute' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:200:in `each' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:200:in `execute' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:158:in `block in invoke_with_call_chain' | |
/Users/ivan/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:151:in `invoke_with_call_chain' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/task.rb:144:in `invoke' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:112:in `invoke_task' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:90:in `block (2 levels) in top_level' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:90:in `each' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:90:in `block in top_level' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:129:in `standard_exception_handling' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:84:in `top_level' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:62:in `block in run' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:129:in `standard_exception_handling' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/lib/rake/application.rb:59:in `run' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/gems/rake-0.9.0/bin/rake:31:in `<top (required)>' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/bin/rake:19:in `load' | |
/Users/ivan/.rvm/gems/ruby-1.9.2-p180@refinerycms/bin/rake:19:in `<main>' | |
Tasks: TOP => wordpress:import |
Thanks. I must be getting the bundle from the wrong place? Your repo or resolve's? Also your repo does not have issues enabled?
We are talking about: https://github.com/mremolt/refinerycms-wordpress-import
By request from resolve I extracted the functionality into a separate gem. Issues are enabled there.
Oh! Awesome. Thank you for pointing that out, I'll give it a go.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmmm, this exception is thrown, if the dump file doesn't exist in the given path. Maybe there is a problem with the ~ on macs? Please try an absolute path, just to make sure.
By the way, in the current version the rake task is called wordpress:import_blog, not just import. Try updating your bundle.