Skip to content
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

Access live data from a store in maintenance mode #92

Open
randomgs opened this issue Sep 13, 2013 · 2 comments
Open

Access live data from a store in maintenance mode #92

randomgs opened this issue Sep 13, 2013 · 2 comments

Comments

@randomgs
Copy link

Error thrown on dugway server startup while using data from a store in maintenance mode:

/Users/user/.rvm/gems/ruby-2.0.0-p247/gems/dugway/0.8.2/lib/dugway/store.rb:124:in `locale': undefined method `[]' for nil:NilClass (NoMethodError)

Could the terminal ask for a password instead?

@iwednesday
Copy link

i just came across the same error - works fine as long as the store isn't in maintenance mode before you start it. It can be in maintenance mode after and will work fine

@mattwigham
Copy link
Contributor

@iwednesday since Dugway uses the public Big Cartel API it won't work for stores under maintenance. Many stores go under maintenance to launch new products, and exposing them in the API/Dugway wouldn't be what they want. The reason it works to put the store in maintenance after is because Dugway caches the data each time the server starts, but it wouldn't work the next time you restarted the Dugway server.

Anyway, we discussed this more in @randomgs previous issue, which is why he made this new feature request to access a store in maintenance mode by passing a password.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants