Closed Ionut-Milas closed 7 years ago
same issue, any updates?
No updates ... :(
Hey all! Sorry I missed this. @artempankov and @Ionut-Milas do you all mind running this with list_id and the list id over the list name? Sorry again for missing the issue.
@braidn can't really follow ... I should put the list_id as well ?
@Ionut-Milas the list name is really a vestige of the older way we were looking up people's lists. Can you remove the list name entirely and add the list_id?
I tried with the List id .. but no luck ...
@Ionut-Milas Will look into it. Thanks!
@Ionut-Milas what version of spree are you using? Assuming 3.x but just checking.
Yep 3.0
On Dec 23, 2015, 10:31 PM, at 10:31 PM, Braden Douglass notifications@github.com wrote:
@Ionut-Milas what version of spree are you using? Assuming 3.x but just checking.
Reply to this email directly or view it on GitHub: https://github.com/DynamoMTL/spree_chimpy/issues/65#issuecomment-166985130
Also the website is on https don't know if it changes anything....
On Dec 23, 2015, 10:31 PM, at 10:31 PM, Braden Douglass notifications@github.com wrote:
@Ionut-Milas what version of spree are you using? Assuming 3.x but just checking.
Reply to this email directly or view it on GitHub: https://github.com/DynamoMTL/spree_chimpy/issues/65#issuecomment-166985130
It does not. Have not forgotten about this all. Hopefull get to it soon.
I remember seeing this before, try bundle exec rake ...
, that might fix it
@GraphicDesk did running bundle exec
here help out the situation? Still having a lot of issues trying to recreate the issue originally described.
RAILS_ENV=production bundle exec rake spree_chimpy:merge_vars:sync
rake aborted!
NameError: uninitialized constant Spree::Chimpy::Config
/usr/local/rvm/gems/ruby-2.2.0/bundler/gems/mailchimp-bac6563673e8/lib/spree_chimpy.rb:25:in configured?' /usr/local/rvm/gems/ruby-2.2.0/bundler/gems/mailchimp-bac6563673e8/lib/spree_chimpy.rb:41:in
list'
/usr/local/rvm/gems/ruby-2.2.0/bundler/gems/mailchimp-bac6563673e8/lib/spree_chimpy.rb:61:in sync_merge_vars' /usr/local/rvm/gems/ruby-2.2.0/bundler/gems/mailchimp-bac6563673e8/lib/tasks/spree_chimpy.rake:5:in
block (3 levels) in <top (required)>'
Tasks: TOP => spree_chimpy:merge_vars:sync
(See full trace by running task with --trace)
I am on Centos... don't know if that affects ...
seems to be working now....
I am also getting the error while executing the below command, can any body help me on this.
bundle exec rake spree_chimpy:merge_vars:sync
/Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/bundler/gems/spree_chimpy-af8a138e4678/lib/spree_chimpy.rb:25:in configured?': Use RbConfig instead of obsolete and deprecated Config. /Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/bundler/gems/spree_chimpy-af8a138e4678/lib/spree_chimpy.rb:25:in
configured?': Use RbConfig instead of obsolete and deprecated Config.
rake aborted!
NoMethodError: undefined method key' for RbConfig:Module /Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/bundler/gems/spree_chimpy-af8a138e4678/lib/spree_chimpy.rb:25:in
configured?'
/Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/bundler/gems/spree_chimpy-af8a138e4678/lib/spree_chimpy.rb:41:in list' /Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/bundler/gems/spree_chimpy-af8a138e4678/lib/spree_chimpy.rb:61:in
sync_merge_vars'
/Users/Topform/.rvm/gems/ruby-2.1.4@skinnymint/bundler/gems/spree_chimpy-af8a138e4678/lib/tasks/spree_chimpy.rake:5:in `block (3 levels) in <top (required)>'
Tasks: TOP => spree_chimpy:merge_vars:sync
(See full trace by running task with --trace)
Will look into it for yah!
Can you please suggest me what is the error and how to fix these errors.
Same error for me.
Will try and check this out for you all. Ultimately we need to go to the new Mailchimp API. @MOOn2k and @samar-mishra are you using Spree 3.0 and above or?
v2.3.10
Hey @MOOn2k and @samar-mishra what ruby manager are you using? Also are you using the path flag with bundler when installing or are you installing globally?
@MOOn2k and @samar-mishra if this is still an issue would it be ok to start a new, fresh issue? Thanks for being awesome.
When running the rake task : _rake spree_chimpy:mergevars:sync the following error is raised: /home/andreea/.rvm/gems/ruby-2.1.4/bundler/gems/mailchimp-bac6563673e8/lib/spree_chimpy.rb:25:in'
Tasks: TOP => spree_chimpy:merge_vars:sync
configured?': Use RbConfig instead of obsolete and deprecated Config. /home/andreea/.rvm/gems/ruby-2.1.4/bundler/gems/mailchimp-bac6563673e8/lib/spree_chimpy.rb:25:in
configured?': Use RbConfig instead of obsolete and deprecated Config. rake aborted! NoMethodError: undefined methodkey' for RbConfig:Module /home/andreea/.rvm/gems/ruby-2.1.4/bundler/gems/mailchimp-bac6563673e8/lib/spree_chimpy.rb:25:in
configured?' /home/andreea/.rvm/gems/ruby-2.1.4/bundler/gems/mailchimp-bac6563673e8/lib/spree_chimpy.rb:41:inlist' /home/andreea/.rvm/gems/ruby-2.1.4/bundler/gems/mailchimp-bac6563673e8/lib/spree_chimpy.rb:61:in
sync_merge_vars' /home/andreea/.rvm/gems/ruby-2.1.4/bundler/gems/mailchimp-bac6563673e8/lib/tasks/spree_chimpy.rake:5:inblock (3 levels) in <top (required)>' /home/andreea/.rvm/gems/ruby-2.1.4/bin/ruby_executable_hooks:15:in
eval' /home/andreea/.rvm/gems/ruby-2.1.4/bin/ruby_executable_hooks:15:in `This is the spree_chimpy.rb initializer:
Spree::Chimpy.config do |config|
your API key as provided by MailChimp
config.key = 'api-key'
extra api options for the Mailchimp gem
config.api_options = { throws_exceptions: false, timeout: 3600 }
name of your list, defaults to "Members"
config.list_name = 'Clienti'
define a list of merge vars:
- key: a unique name that mail chimp uses. 10 letters max
- value: the name of any method on the user class.
make sure to avoid any of these reserved field names:
http://kb.mailchimp.com/article/i-got-a-message-saying-that-my-list-field-name-is-reserved-and-cant-be-used
default is {'EMAIL' => :email}
config.merge_vars = { 'EMAIL' => :email, 'FIRSTNAME' => :first_name, 'LASTNAME' => :last_name } end
\ Spree-Chimpy version: 3-stable ** Could you provide some details on what might be missing?