dugway
dugway copied to clipboard
Access live data from a store in maintenance mode
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?
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
@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.