Hello,
I tried to solve this myself but i've lost a day on it, so i thought i
would ask the masters!!
I have Spree installed ( 2.0.3 ) and configured on my CentOS server. I
loaded sample data and it works great.
But now i'm trying to get it working on my Desktop. I tried both Windows (
XP ) and my Ubuntu machine ( 12.04 ) and i'm getting the exact same error
when i try to load to sample data into sqllite3. It sounds to me like
Orders are getting loaded but there is no inventory. Any workarounds?

Thanks alot!
-matt

$ bundle exec rake spree_sample:load
Loaded Payment Methods samples
Loaded Shipping Categories samples
Loaded Shipping Methods samples
Loaded Tax Categories samples
Loaded Tax Rates samples
Loaded Products samples
Loaded Taxonomies samples
Loaded Taxons samples
Loaded Option Types samples
Loaded Option Values samples
Loaded Product Option Types samples
Loaded Product Properties samples
Loaded Prototypes samples
Loaded Variants samples
Loaded Stock samples
Loaded Assets samples
Loaded Addresses samples
Loaded Orders samples
rake aborted!
Validation failed: Quantity translation missing:
en.validation.exceeds_available_stock

Search Discussions

  • Washington Luiz at Aug 21, 2013 at 7:21 pm
    Hey Matthew could you try that on latest version which is 2.0.4?

    On Wed, Aug 21, 2013 at 4:13 PM, Matthew Dundas wrote:

    Hello,
    I tried to solve this myself but i've lost a day on it, so i thought i
    would ask the masters!!
    I have Spree installed ( 2.0.3 ) and configured on my CentOS server. I
    loaded sample data and it works great.
    But now i'm trying to get it working on my Desktop. I tried both Windows
    ( XP ) and my Ubuntu machine ( 12.04 ) and i'm getting the exact same error
    when i try to load to sample data into sqllite3. It sounds to me like
    Orders are getting loaded but there is no inventory. Any workarounds?

    Thanks alot!
    -matt

    $ bundle exec rake spree_sample:load
    Loaded Payment Methods samples
    Loaded Shipping Categories samples
    Loaded Shipping Methods samples
    Loaded Tax Categories samples
    Loaded Tax Rates samples
    Loaded Products samples
    Loaded Taxonomies samples
    Loaded Taxons samples
    Loaded Option Types samples
    Loaded Option Values samples
    Loaded Product Option Types samples
    Loaded Product Properties samples
    Loaded Prototypes samples
    Loaded Variants samples
    Loaded Stock samples
    Loaded Assets samples
    Loaded Addresses samples
    Loaded Orders samples
    rake aborted!
    Validation failed: Quantity translation missing:
    en.validation.exceeds_available_stock



    --
    Washington L Braga Jr

    Developer
    Spree Commerce, Inc.
  • Matthew Dundas at Aug 21, 2013 at 7:35 pm
    Washingon -
    I upgraded to 2.0.4 on my Ubuntu desktop.
    I got so excited, it looked like it was going to work but it failed later
    on when if was loading Addresses.
    I ran db:reset first, and then loaded the sample data:

    $ bundle exec rake spree_sample:load
    Loaded Payment Methods samples
    Loaded Shipping Categories samples
    Loaded Shipping Methods samples
    Loaded Tax Categories samples
    Loaded Tax Rates samples
    Loaded Products samples
    Loaded Taxonomies samples
    Loaded Taxons samples
    Loaded Option Types samples
    Loaded Option Values samples
    Loaded Product Option Types samples
    Loaded Product Properties samples
    Loaded Prototypes samples
    Loaded Variants samples
    Loaded Stock samples
    Loading images for Ruby on Rails Tote
    Loading images for Ruby on Rails Bag
    Loading images for Ruby on Rails Baseball Jersey
    Loading images for Ruby on Rails Jr. Spaghetti
    Loading images for Ruby on Rails Mug
    Loading images for Ruby on Rails Ringer T-Shirt
    Loading images for Ruby on Rails Stein
    Loading images for Apache Baseball Jersey
    Loading images for Ruby Baseball Jersey
    Loading images for Spree Bag
    Loading images for Spree Tote
    Loading images for Spree Ringer T-Shirt
    Loading images for Spree Jr. Spaghetti
    Loading images for Spree Baseball Jersey
    Loading images for Spree Stein
    Loading images for Spree Mug
    Loaded Assets samples
    Loaded Addresses samples
    rake aborted!
    Validation failed: Quantity translation missing:
    en.validation.exceeds_available_stock

    Here's my output from bundle list:

    ....
       * spree (2.0.4)
       * spree_api (2.0.4)
       * spree_auth_devise (2.0.0 c385371)
       * spree_backend (2.0.4)
       * spree_cmd (2.0.4)
       * spree_core (2.0.4)
       * spree_fancy (1.3.0 addb377)
       * spree_frontend (2.0.4)
       * spree_gateway (1.2.0.rc2 8d33c3b)
       * spree_sample (2.0.4)
    ...

    Any ideas?
    -md
  • Washington Luiz at Aug 21, 2013 at 7:59 pm
    Loading sample data works fine for me in 2.0.4 with spree and
    spree_auth_devise. I'd recommend you remove each one of the extension you
    use and check if it works.

    On Wed, Aug 21, 2013 at 4:34 PM, Matthew Dundas wrote:

    Washingon -
    I upgraded to 2.0.4 on my Ubuntu desktop.
    I got so excited, it looked like it was going to work but it failed later
    on when if was loading Addresses.
    I ran db:reset first, and then loaded the sample data:

    $ bundle exec rake spree_sample:load
    Loaded Payment Methods samples
    Loaded Shipping Categories samples
    Loaded Shipping Methods samples
    Loaded Tax Categories samples
    Loaded Tax Rates samples
    Loaded Products samples
    Loaded Taxonomies samples
    Loaded Taxons samples
    Loaded Option Types samples
    Loaded Option Values samples
    Loaded Product Option Types samples
    Loaded Product Properties samples
    Loaded Prototypes samples
    Loaded Variants samples
    Loaded Stock samples
    Loading images for Ruby on Rails Tote
    Loading images for Ruby on Rails Bag
    Loading images for Ruby on Rails Baseball Jersey
    Loading images for Ruby on Rails Jr. Spaghetti
    Loading images for Ruby on Rails Mug
    Loading images for Ruby on Rails Ringer T-Shirt
    Loading images for Ruby on Rails Stein
    Loading images for Apache Baseball Jersey
    Loading images for Ruby Baseball Jersey
    Loading images for Spree Bag
    Loading images for Spree Tote
    Loading images for Spree Ringer T-Shirt
    Loading images for Spree Jr. Spaghetti
    Loading images for Spree Baseball Jersey
    Loading images for Spree Stein
    Loading images for Spree Mug

    Loaded Assets samples
    Loaded Addresses samples
    rake aborted!
    Validation failed: Quantity translation missing:
    en.validation.exceeds_available_stock

    Here's my output from bundle list:

    ....
    * spree (2.0.4)
    * spree_api (2.0.4)
    * spree_auth_devise (2.0.0 c385371)
    * spree_backend (2.0.4)
    * spree_cmd (2.0.4)
    * spree_core (2.0.4)
    * spree_fancy (1.3.0 addb377)
    * spree_frontend (2.0.4)
    * spree_gateway (1.2.0.rc2 8d33c3b)
    * spree_sample (2.0.4)
    ...

    Any ideas?
    -md


    --
    Washington L Braga Jr

    Developer
    Spree Commerce, Inc.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedAug 21, '13 at 7:13p
activeAug 21, '13 at 7:59p
posts4
users2
websitespreecommerce.com
irc#RubyOnRails

2 users in discussion

Washington Luiz: 2 posts Matthew Dundas: 2 posts

People

Translate

site design / logo © 2022 Grokbase