-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
undefined method `get_spree_class' #4
Comments
Hi Tom, Thanks for update, all most working at this point! I am cloning from github: Using datashift (0.10.2) from git://github.com/autotelik/datashift.git (at master) I am now using ruby 1.9.3-p194 and Spree 1.1.2 "get_spree_class" error is fixed. I am getting the following output from:
Below is output:Using sku for lookup Nothing is imported, all files copied to MissingAttachmentRecords is delimiter [ ] actually supposed to show current delimiter used? Tried passing in
Seems this used to run perfect in version I was using in July. Thanks! Jet |
Hi yeah sorry it's all a bit broken .. think it's nearly back together basically what I've done is from the spree image loader, There have also been issues caused by Spree core moving stuff around. in versions > 1.1 images are now on Variantrather than Product it means that the spree image stuff has been rewritten to use this new paperclip loader there are many more options now, to set the delimiter it's --split_file_name_on _ -s is to lookup based on sku Cheers p.s should work with Excel now in all Rubies, no reliance on jruby any more From: Jerrold Thompson notifications@github.com Hi Tom, |
Hi Tom, wow, that's really cool about not having to use jruby to use excel stuff! Pulled in from github after receiving this email/posting and
...and this error for '--split_file_name_on _' :
(lower(name) = 'soft-acc-2zip-coinpurse-keychain-main') LIMIT 1> Seems to be inconsistency in the 2 error examples above, which is curious. Could you let me know when you have pushed up the revision? Thanks! Looking forward to using the new version. Cheers,
On 10/23/2012 03:06 AM, tom statter wrote:
|
hey, man .. sorry about the timing, just as you need it I break everything ! I wrote a wrapper over Apache POI and the standard Ruby spreadsheet gem ok, so this time I'm hopeful it's all good new specs and everything passing and just tested the thor product and images clis and worked ok for me there is a constraint now that image lookup is only available via sku not name yet since they have moved Images to Variant thats the class I'm doing the lookup for, thats next on the list, imprivign the querying interface really hope the latest gems work ok for you Cheers From: Jerrold Thompson notifications@github.com Hi Tom, wow, that's really cool about not having to use jruby to use excel stuff! Pulled in from github after receiving this email/posting and try to find record where sku == LH62_organizer-whidbey-main ...and this error for '--split_file_name_on _' : : SELECT "spree_variants".* FROM "spree_variants" WHERE Seems to be inconsistency in the 2 error examples above, which is curious. Could you let me know when you have pushed up the revision? Thanks! Looking forward to using the new version. Cheers, Jet On 10/23/2012 03:06 AM, tom statter wrote:
|
Thanks for update! I am now using that.
The below
bundle exec thor datashift:spree:images -i /home/jet/AceLeatherGoods/Ace_Primary_Web_Photos/ -s
...is now generating this error:
datashift_spree-d5ba969c8c64/lib/thor/spree/products_images.thor:128:in
images': undefined method
get_spree_class' for DataShift::SpreeHelper:Module (NoMethodError)The text was updated successfully, but these errors were encountered: