Maybe it was installed as recommended on the heroku blog (http://
blog.heroku.com/archives/2007/11/23/
yamldb_for_databaseindependent_data_dumps/)

  script/plugin install http://opensource.heroku.com/svn/rails_plugins/yaml_db

Seems it would be good to remove the old version or synch it somehow.

Facebooker had the same issue when they moved the repository and
forgot about all of the dependencies.  It took a post to the tutorial
before it was revealed that the version that worked was on github.

Maybe the thing to do is modify plugin so that a forward can be
recognized, even if only so a message stating where the new code is
located can be presented.

Useful plugin though.  Thanks for making it available

On Aug 18, 1:39 pm, Morten Bagai <[EMAIL PROTECTED]> wrote:
> Hey,
>
> Looks like you are be running an outdated version of YAMLDb. Did you  
> install from the Github repo at git://github.com/adamwiggins/
> yaml_db.git?
>
> Best,
>
> /Morten
>
> On Aug 18, 2008, at 3:24 AM, Adinda Praditya wrote:
>
> > Here's the complete error (with --trace)
>
> > >> db:data:load --trace
> > (in /mnt/home/userapps/31282)
> > ** Invoke db:data:load (first_time)
> > ** Invoke environment (first_time)
> > ** Execute environment
> > ** Execute db:data:load
> > rake aborted!
> > PGError: ERROR: current transaction is aborted, commands ignored  
> > until end of transaction block
> > : DELETE FROM schema_info
> > /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
> > connection_adapters/abstract_adapter.rb:147:in `log'
> > /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
> > connection_adapters/postgresql_adapter.rb:446:in `execute'
> > /home/userapps_plugins/preload/yaml_db/lib/yaml_db.rb:145:in  
> > `truncate_table'
> > /home/userapps_plugins/preload/yaml_db/lib/yaml_db.rb:151:in  
> > `load_table'
> > /home/userapps_plugins/preload/yaml_db/lib/yaml_db.rb:135:in `load'
> > /home/userapps_plugins/preload/yaml_db/lib/yaml_db.rb:133:in `each'
> > /home/userapps_plugins/preload/yaml_db/lib/yaml_db.rb:133:in `load'
> > /usr/lib/ruby/1.8/yaml.rb:217:in `call'
> > /usr/lib/ruby/1.8/yaml.rb:217:in `load_documents'
> > /usr/lib/ruby/1.8/yaml.rb:217:in `each_document'
> > /usr/lib/ruby/1.8/yaml.rb:232:in `load_documents'
> > /home/userapps_plugins/preload/yaml_db/lib/yaml_db.rb:132:in `load'
> > /usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/
> > connection_adapters/abstract/database_statements.rb:66:in  
> > `transaction'
> > /home/userapps_plugins/preload/yaml_db/lib/yaml_db.rb:131:in `load'
> > /home/userapps_plugins/preload/yaml_db/lib/yaml_db.rb:15:in `load'
> > /home/userapps_plugins/preload/yaml_db/tasks/yaml_db_tasks.rake:20
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `call'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in  
> > `invoke_with_call_chain'
> > /usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in  
> > `invoke_with_call_chain'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in  
> > `invoke_task'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `each'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top_level'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in  
> > `standard_exception_handling'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top_level'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in  
> > `standard_exception_handling'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in `run'
> > /usr/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31
> > /usr/bin/rake:19:in `load'
> > /usr/bin/rake:19
>
> > Please help.
>
> > Thanks,
>
> > Dida
>
> > On Sun, Aug 17, 2008 at 7:31 PM, Adinda Praditya  
> > <[EMAIL PROTECTED]> wrote:
> > I don't know it has anything to do with this thread or not. I just  
> > installed the YamlDB plugin, and uploaded the db dump, and finally  
> > ran db:data:load from the rake console, then i got this error:
>
> > PGError: ERROR: current transaction is aborted, commands ignored  
> > until end of transaction block
> > : DELETE FROM schema_info
>
> > Has anyone solved this problem? Please help
>
> > Thanks,
>
> > Dida
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to