eval' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in
Closed enaeher closed 11 years ago
I tried uploading assets, templates, and snippets to my test shop and didn't encounter any problems. Does it fail for uploading any file, or just certain files? Could you provide your shop name, api key, or something to lookup the request in our logs.
Thank you for looking into this!
It fails with every file I've tried. My api key is f2ca7e599c5fd7e9c7e010c5095218c7 and my store is inlandsurplus.myshopify.com.
Can you also supply the output of gem list on your system so we can try to get the same environment?
John Duff Software Developer @ Shopify
Sent from my iPhone
On 2012-09-29, at 8:42 AM, enaeher notifications@github.com wrote:
Thank you for looking into this!
It fails with every file I've tried. My api key is f2ca7e599c5fd7e9c7e010c5095218c7 and my store is inlandsurplus.myshopify.com.
— Reply to this email directly or view it on GitHub.
[eli@ahab new-theme]$ gem list
*** LOCAL GEMS ***
addressable (2.2.6)
albino (1.3.3)
bigdecimal (1.1.0)
classifier (1.3.3)
crack (0.1.8)
directory_watcher (1.4.1)
domainatrix (0.0.10)
fast-stemmer (1.0.0)
fssm (0.2.9)
httparty (0.7.8)
io-console (0.3)
jekyll (0.11.2)
json (1.5.4)
kramdown (0.13.3)
liquid (2.3.0)
maruku (0.6.0)
minitest (2.5.1)
posix-spawn (0.3.6)
rake (0.9.2.2)
rdoc (3.9.4)
RedCloth (4.2.9)
sass (3.2.1)
shopify_theme (0.0.5)
syntax (1.0.0)
thor (0.15.2)
I've got exactly the same problem and exactly the same error.
This is my gem list: * LOCAL GEMS *
bundler (1.1.5) crack (0.1.8) ffi (1.1.5) fssm (0.2.9) httparty (0.7.8) json (1.7.4) kaft (0.2.7) listen (0.4.7) localtunnel (0.3) net-ssh (2.5.2) net-ssh-gateway (1.1.0) rake (0.9.2.2) rb-fchange (0.0.5) rb-fsevent (0.9.1) rb-inotify (0.8.8) ref (1.0.0) rubygems-bundler (1.0.6) rvm (1.11.3.5) shopify_theme (0.0.7) terminal-notifier (1.4.2) thor (0.15.4)
Some extra information, I'm on 10.8.2 (everything was working fine 2 days ago, did no system updates in the meantime)
This is the error I get:
/Users/hsl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych.rb:203:in parse': update - //Users/hsl/Shopify/live/templates/page.liquid: (<unknown>): found unexpected ':' while scanning a plain scalar at line 1 column 79 (FSSM::CallbackError) from /Users/hsl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych.rb:203:in
parse_stream'
from /Users/hsl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych.rb:151:in parse' from /Users/hsl/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych.rb:127:in
load'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/crack-0.1.8/lib/crack/json.rb:12:in parse' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.7.8/lib/httparty/parser.rb:116:in
json'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.7.8/lib/httparty/parser.rb:136:in parse_supported_format' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.7.8/lib/httparty/parser.rb:103:in
parse'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.7.8/lib/httparty/parser.rb:66:in call' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.7.8/lib/httparty/request.rb:217:in
parse_response'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.7.8/lib/httparty/request.rb:189:in handle_response' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.7.8/lib/httparty/request.rb:71:in
perform'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.7.8/lib/httparty.rb:390:in perform_request' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/httparty-0.7.8/lib/httparty.rb:363:in
put'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/shopify_theme-0.0.6/lib/shopify_theme.rb:23:in send_asset' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/shopify_theme-0.0.6/lib/shopify_theme/cli.rb:125:in
send_asset'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/shopify_theme-0.0.6/lib/shopify_theme/cli.rb:80:in block (2 levels) in watch' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/path.rb:73:in
call'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/path.rb:73:in run_callback' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/path.rb:55:in
callback_action'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/path.rb:35:in update' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/state/directory.rb:39:in
block in modified'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/state/directory.rb:37:in each' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/state/directory.rb:37:in
modified'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/state/directory.rb:18:in refresh' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/backends/rbfsevent.rb:30:in
block in temporary_multipath_handler'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/backends/rbfsevent.rb:27:in each' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/backends/rbfsevent.rb:27:in
temporary_multipath_handler'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/backends/rbfsevent.rb:17:in block (2 levels) in run' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/backends/rbfsevent.rb:16:in
each'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/backends/rbfsevent.rb:16:in block in run' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/rb-fsevent-0.9.1/lib/rb-fsevent/fsevent.rb:43:in
call'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/rb-fsevent-0.9.1/lib/rb-fsevent/fsevent.rb:43:in run' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/backends/rbfsevent.rb:20:in
run'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm/monitor.rb:26:in run' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/fssm-0.2.9/lib/fssm.rb:70:in
monitor'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/shopify_theme-0.0.6/lib/shopify_theme/cli.rb:78:in watch' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/thor-0.15.4/lib/thor/task.rb:27:in
run'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/thor-0.15.4/lib/thor/invocation.rb:120:in invoke_task' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/thor-0.15.4/lib/thor.rb:275:in
dispatch'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/thor-0.15.4/lib/thor/base.rb:425:in start' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/gems/shopify_theme-0.0.6/bin/theme:24:in
<top (required)>'
from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/bin/theme:19:in load' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/bin/theme:19:in
eval' from /Users/hsl/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in
Fixed it! HTTParty needs to be higher than 0.8,.. right now the shopify_theme gem wants 0.7.8 to be installed, I changed it in the gemspec to:
s.add_dependency("httparty", [">= 0.7.8"])
And now it works fine with httparty 0.9.0 :)
Basically same error for me, but updating gems not working for me:
/Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in parse': update - //Users/john/Sites/cardinalcotton/templates/product.liquid: (<unknown>): couldn't parse YAML at line 0 column 94 (FSSM::CallbackError) from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/psych.rb:154:in
parse_stream'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/psych.rb:125:in parse' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/1.9.1/psych.rb:112:in
load'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/crack-0.1.8/lib/crack/json.rb:12:in parse' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/parser.rb:116:in
json'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/parser.rb:136:in parse_supported_format' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/parser.rb:103:in
parse'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/parser.rb:66:in call' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/request.rb:217:in
parse_response'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/request.rb:189:in handle_response' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/httparty-0.7.8/lib/httparty/request.rb:71:in
perform'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/httparty-0.7.8/lib/httparty.rb:390:in perform_request' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/httparty-0.7.8/lib/httparty.rb:363:in
put'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/shopify_theme-0.0.6/lib/shopify_theme.rb:23:in send_asset' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/shopify_theme-0.0.6/lib/shopify_theme/cli.rb:125:in
send_asset'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/shopify_theme-0.0.6/lib/shopify_theme/cli.rb:80:in block (2 levels) in watch' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/path.rb:73:in
call'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/path.rb:73:in run_callback' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/path.rb:55:in
callback_action'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/path.rb:35:in update' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/state/directory.rb:39:in
block in modified'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/state/directory.rb:37:in each' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/state/directory.rb:37:in
modified'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/state/directory.rb:18:in refresh' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/backends/polling.rb:17:in
block (2 levels) in run'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/backends/polling.rb:17:in each' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/backends/polling.rb:17:in
block in run'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/backends/polling.rb:15:in loop' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/backends/polling.rb:15:in
run'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm/monitor.rb:26:in run' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/fssm-0.2.9/lib/fssm.rb:70:in
monitor'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/shopify_theme-0.0.6/lib/shopify_theme/cli.rb:78:in watch' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/thor-0.16.0/lib/thor/task.rb:27:in
run'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/thor-0.16.0/lib/thor/invocation.rb:120:in invoke_task' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/thor-0.16.0/lib/thor.rb:275:in
dispatch'
from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/thor-0.16.0/lib/thor/base.rb:425:in start' from /Users/john/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1/gems/shopify_theme-0.0.6/bin/theme:24:in
<top (required)>'
from /Users/john/.rbenv/versions/1.9.3-p0/bin/theme:19:in load' from /Users/john/.rbenv/versions/1.9.3-p0/bin/theme:19:in
And Gems list:
actionmailer (3.2.8, 3.2.5, 3.2.3, 3.2.1) actionmailer-with-request (0.3.0) actionpack (3.2.8, 3.2.5, 3.2.3, 3.2.1) activemodel (3.2.8, 3.2.5, 3.2.3, 3.2.1) activerecord (3.2.8, 3.2.5, 3.2.3, 3.2.1) activeresource (3.2.8, 3.2.5, 3.2.3, 3.2.1) activesupport (3.2.8, 3.2.5, 3.2.3, 3.2.1) addressable (2.3.2, 2.2.7) appconfig (0.1.1) arel (3.0.2) aws-s3 (0.6.3, 0.6.2) bcrypt-ruby (3.0.1) bigdecimal (1.1.0) blankslate (3.1.2, 2.1.2.4) bootstrap-sass (2.1.0.0, 2.0.2, 2.0.1) bson (1.7.0, 1.6.2, 1.6.1, 1.6.0, 1.5.2) bson_ext (1.7.0, 1.6.2, 1.6.1, 1.6.0, 1.5.2) builder (3.1.3, 3.0.3, 3.0.0) bundler (1.2.1, 1.1.2) cancan (1.6.8, 1.6.7) carrierwave (0.6.2) carrierwave-mongoid (0.2.1) cells (3.8.5) chunky_png (1.2.6) cocaine (0.3.2, 0.2.1) codemirror-rails (2.33) coffee-rails (3.2.2) coffee-script (2.2.0) coffee-script-source (1.3.3, 1.1.3) compass (0.12.2) compass-rails (1.0.3) configuration (1.3.2, 1.3.1) connection_pool (0.9.2, 0.9.1, 0.9.0, 0.1.0) crack (0.3.1, 0.1.8) custom_fields (2.0.0.rc13) daemons (1.1.9, 1.1.8) devise (2.1.2) devise-encryptable (0.1.1) dragonfly (0.9.12) ejs (1.1.1, 1.0.0) embedly (1.5.6, 1.5.2) erubis (2.7.0) escape (0.0.4) eventmachine (1.0.0, 0.12.10) excon (0.16.4, 0.13.4) execjs (1.4.0) faraday (0.8.4, 0.7.6) ffi (1.1.5) flash_cookie_session (1.1.3) fog (1.6.0, 1.3.1) foreman (0.60.0, 0.41.0) formatador (0.2.3) formtastic (2.2.1, 2.0.2) fssm (0.2.9) geokit (1.6.5) gmail_xoauth (0.4.1, 0.3.2, 0.3.0) god (0.13.1, 0.12.1) haml (3.1.7) handlebars_assets (0.6.6, 0.4.4, 0.4.1, 0.4.0) hashie (1.2.0) highline (1.6.15) hike (1.2.1) hiredis (0.4.5, 0.4.4) htmlentities (4.3.1, 4.2.0) httparty (0.9.0, 0.8.3, 0.8.2, 0.8.1, 0.7.8) i18n (0.6.1, 0.6.0) io-console (0.3) jbuilder (0.8.0, 0.3.2) journey (1.0.4, 1.0.3, 1.0.1) jquery-rails (2.1.3, 2.0.2, 2.0.1, 2.0.0, 1.0.19) jruby-pageant (1.1.1) json (1.7.5, 1.6.6, 1.6.5, 1.5.4) kaminari (0.14.1, 0.13.0) kgio (2.7.4) koala (1.5.0, 1.4.0) levenshtein (0.2.2) locomotive-aloha-rails (0.20.1.4) locomotive-mongoid-tree (0.6.2) locomotive-tinymce-rails (3.4.7.3, 3.4.7.2) locomotive_cms (2.0.0.rc11) locomotive_liquid (2.2.3) mail (2.4.4) mime-types (1.19, 1.18, 1.17.2) mimetype-fu (0.1.2) minitest (4.0.0, 2.5.1) mongo (1.7.0, 1.6.2, 1.6.1, 1.6.0, 1.5.2) mongo_mapper (0.12.0, 0.11.1, 0.11.0) mongoid (3.0.6, 2.4.12) moped (1.2.5) multi_json (1.3.6, 1.0.4) multi_xml (0.5.1, 0.4.4, 0.4.2, 0.4.1) multipart-post (1.1.5) net-scp (1.0.4) net-ssh (2.6.0, 2.5.2) nokogiri (1.5.5, 1.5.2) oauth (0.4.7, 0.4.6, 0.4.5) origin (1.0.9) orm_adapter (0.4.0) paperclip (3.2.0, 2.4.5) plucky (0.5.2, 0.4.4) polyglot (0.3.3) powify (0.8.5) pusher (0.10.0, 0.9.2) querystring (0.1.0) rack (1.4.1) rack-cache (1.2, 1.1) rack-mount (0.8.3) rack-openid (1.3.1) rack-protection (1.2.0) rack-ssl (1.3.2) rack-test (0.6.2, 0.6.1) rails (3.2.8, 3.2.5, 3.2.3, 3.2.1) rails-backbone (0.8.0, 0.6.1) rails_responds_to_parent (1.0.0) railties (3.2.8, 3.2.5, 3.2.3, 3.2.1) raindrops (0.10.0) rake (0.9.2.2) rdiscount (1.6.8) rdoc (3.12, 3.9.4) RedCloth (4.2.9) redis (3.0.1, 2.2.2) redis-namespace (1.2.1, 1.0.3) responders (0.9.3, 0.6.5) resque (1.23.0) resque-scheduler (2.0.0, 1.9.9) rmagick (2.13.1, 2.12.2) ruby-hmac (0.4.0) ruby-openid (2.2.1, 2.1.8) rufus-scheduler (2.0.17, 2.0.16) sanitize (2.0.3) sass (3.2.1, 3.1.15) sass-rails (3.2.5, 3.2.4) shopify_theme (0.0.6, 0.0.5) signature (0.1.4, 0.1.2) simple_oauth (0.1.9, 0.1.8, 0.1.6, 0.1.5) sinatra (1.3.3, 1.3.2) sprockets (2.6.0, 2.1.3, 2.1.2) thin (1.5.0, 1.3.1) thor (0.16.0, 0.14.6) tilt (1.3.3) treetop (1.4.10) twitter (4.0.0, 2.1.1) typhoeus (0.4.2, 0.3.3) tzinfo (0.3.33, 0.3.32, 0.3.31) uglifier (1.3.0, 1.2.7, 1.2.4, 1.2.3) unicorn (4.3.1) unidecoder (1.1.1) vegas (0.1.11) warden (1.2.1) xml-simple (1.1.1)
Updating the gems doesn't work because the current shopify_theme version automatically uses the bugged version of httparty, a fix is on the way!
I just got hit with this too... how does this happen? I go from a solid working dev environment to borkedville... anyone have some explanation as to how to ecosystem suddenly broke on this?
/Users/dlazar/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/psych.rb:203:in `parse': update - //Users/dlazar/Documents/workspace/Shopify-Sites/multitable/snippets/accessories.liquid: (
Should be fixed with latest release.
John Duff Software Developer @ Shopify
Sent from my iPhone
On 2012-10-04, at 12:48 PM, David Lazar notifications@github.com wrote:
I just got hit with this too...
— Reply to this email directly or view it on GitHub.
Thanks John! Nice work.
Starting in the last day or so, I am no longer able to upload theme changes (using either
theme upload
ortheme watch
). Before, it was working wonderfully. When I try, I get this backtace:I am lost without the ability to edit my theme in Emacs, any help would be very much appreciated.