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

Attack of the Error Uploading Message #30

Open
alanhill opened this issue Nov 4, 2015 · 5 comments
Open

Attack of the Error Uploading Message #30

alanhill opened this issue Nov 4, 2015 · 5 comments
Labels

Comments

@alanhill
Copy link

alanhill commented Nov 4, 2015

I was trying to help troubleshoot a separate issue today, where someone was mentioning that when they change the background of an unpublished theme, it's also changing the live theme on their store. I haven't substantiated that yet. I do see another issue about not being able to upload themes which I have heard as well (will create separate issue once I have more details).

While looking into the first issue I mentioned though, I attempted to test changing a file, then using force deploy and I got this which attacked my screen until I was able to close out of the app (fresh install):

@meeech is there anywhere else those log files would be located(other then where you mention in the Readme?) I'm not able to find them at all.

Personally, I'm using Version 1.0.6 (1.0.6) with OS X El Capitan 10.11.1 - I'm wondering if maybe there's an issue with the latest OS release. I'll update once I know the OS of others who are facing issues.

@meeech
Copy link
Owner

meeech commented Nov 5, 2015

hey @alanhill definitely not a good thing. It looks like as access issue. topped with the fact I am expecting an array of errors, but am instead getting a string, which is then sent out one at a time. Look closely at those last letters - they seem to be complaning about bad password or whatnot - so I will def add a fix to that.
NO idea where else on el capitaine the logs would be. I'm still on 10.10
let me know when you have some more info

@meeech meeech added the bug label Nov 5, 2015
@aud
Copy link

aud commented Mar 19, 2016

Hey @meeech was able to replicate this in OS X 10.11.3 El Capitan - found some log files for these errors as well. Looks like it's hitting an Unauthorized error on the PUT. Could you take a look?

[15:34:33:426] [Ti.Host] [Information] Loaded module = app
[15:34:33:427] [Ti.Host] [Information] Loaded module = codec
[15:34:33:428] [Ti.Host] [Information] Loaded module = database
[15:34:33:429] [Ti.Host] [Information] Loaded module = filesystem
[15:34:33:430] [Ti.Host] [Information] Loaded module = media
[15:34:33:431] [Ti.Host] [Information] Loaded module = monkey
[15:34:33:435] [Ti.Host] [Information] Loaded module = network
[15:34:33:437] [Ti.Host] [Information] Loaded module = platform
[15:34:33:439] [Ti.Host] [Information] Loaded module = process
[15:34:33:442] [Ti.Host] [Information] Loaded module = ui
[15:34:33:444] [Ti.Host] [Information] Loaded module = worker
[15:34:33:485] [Ti.Host] [Information] Loaded module = php
[15:34:33:486] [Ti.JavaScript] [Information] Loading JS path=/Users/Test/Downloads/Shopify Theme.app/Contents/modules/filesystem/1.3.1-beta/tifilesystemmodule.js
[15:34:33:488] [Ti.Host] [Information] Loaded module = tifilesystem
[15:34:33:488] [Ti.JavaScript] [Information] Loading JS path=/Users/Test/Downloads/Shopify Theme.app/Contents/modules/network/1.3.1-beta/tinetworkmodule.js
[15:34:33:491] [Ti.Host] [Information] Loaded module = tinetwork
[15:34:33:491] [Ti.JavaScript] [Information] Loading JS path=/Users/Test/Downloads/Shopify Theme.app/Contents/modules/process/1.3.1-beta/tiprocessmodule.js
[15:34:33:492] [Ti.Host] [Information] Loaded module = tiprocess
[15:34:33:663] [Ti.API] [Information] Fixing perms on: /Users/Test/Downloads/Shopify Theme.app/Contents/Resources/lib/watch_server.rb
[15:34:33:666] [Ti.API] [Information] No upgrade required
[15:34:34:096] [Ti.API] [Information] appView: Initializer
[15:34:34:102] [Ti.API] [Information] appView: render
[15:34:34:102] [Ti.API] [Information] render shop id:shopify-dev
[15:34:34:103] [Ti.API] [Information] ShopView: initializer
[15:34:34:104] [Ti.API] [Information] Render Shopview
[15:34:34:360] [Ti.API] [Information] Port Available. Starting Watcher...
[15:34:34:360] [Ti.API] [Information] Watch Theme: 66102920 on port: 49052
[15:34:34:365] [Ti.API] [Information] Watch process launched: 873
[15:34:34:365] [Ti.API] [Information] Watch process running: true
[15:34:35:369] [Ti.API] [Information] Connecting socket theme: 66102920 on port 49052
[15:34:35:371] [Ti.API] [Information] {"event":"connect"}

[15:35:04:930] [Ti.API] [Information] {"event":"update","base":"/Users/Test/Documents/Sites/shopify-dev/shopify-dev","relative":"assets/theme.scss"}
[15:35:04:930] [Ti.API] [Information] asset:send listener
[15:35:04:931] [Ti.API] [Information] IO:sendAsset: assets/theme.scss
[15:35:04:945] [Ti.API] [Information] 

[15:35:06:743] [Ti.API] [Information] PUT: Failure
[15:35:06:744] [Ti.API] [Error] 401d
[15:35:06:744] [Ti.API] [Error] Unauthorized
[15:35:21:872] [Ti.API] [Information] {"event":"update","base":"/Users/Test/Documents/Sites/shopify-dev/shopify-dev","relative":"assets/theme.scss"}
[15:35:21:872] [Ti.API] [Information] asset:send listener
[15:35:21:872] [Ti.API] [Information] IO:sendAsset: assets/theme.scss
[15:35:21:885] [Ti.API] [Information] 

[15:35:22:950] [Ti.API] [Information] PUT: Failure
[15:35:22:950] [Ti.API] [Error] 401d
[15:35:22:950] [Ti.API] [Error] Unauthorized
[15:40:56:295] [Ti.API] [Information] {"event":"update","base":"/Users/Test/Documents/Sites/shopify-dev/shopify-dev","relative":"assets/gift-card.scss"}

[15:40:56:295] [Ti.API] [Information] asset:send listener
[15:40:56:295] [Ti.API] [Information] IO:sendAsset: assets/gift-card.scss
[15:41:06:875] [Ti.API] [Information] {"event":"update","base":"/Users/Test/Documents/Sites/shopify-dev/shopify-dev","relative":"assets/gift-card.scss"}
[15:41:06:875] [Ti.API] [Information] asset:send listener
[15:41:06:876] [Ti.API] [Information] IO:sendAsset: assets/gift-card.scss
[15:41:06:885] [Ti.API] [Information] 

[15:41:17:105] [Ti.API] [Information] PUT: Failure
[15:41:17:105] [Ti.API] [Error] 401d
[15:41:17:105] [Ti.API] [Error] Unauthorized
[15:41:17:970] [Ti.API] [Information] PUT: Failure
[15:41:17:971] [Ti.API] [Error] 401d
[15:41:17:971] [Ti.API] [Error] Unauthorized
[15:41:28:798] [Ti.Host] [Notice] Received exit signal (0)
[15:41:28:799] [Ti.API] [Warning] Killing Watchers...
[15:41:28:799] [Ti.API] [Warning] Killing 873
[15:41:28:887] [Ti.Host] [Notice] Unregistering: app
[15:41:28:887] [Ti.Host] [Notice] Unregistering: codec
[15:41:28:887] [Ti.Host] [Notice] Unregistering: database
[15:41:28:887] [Ti.Host] [Notice] Unregistering: filesystem
[15:41:28:887] [Ti.Host] [Notice] Unregistering: media
[15:41:28:887] [Ti.Host] [Notice] Unregistering: monkey
[15:41:28:887] [Ti.Host] [Notice] Unregistering: network
[15:41:28:887] [Ti.Host] [Notice] Unregistering: platform
[15:41:28:887] [Ti.Host] [Notice] Unregistering: process
[15:41:28:887] [Ti.Host] [Notice] Unregistering: ui
[15:41:28:887] [Ti.Host] [Notice] Unregistering: worker
[15:41:28:887] [Ti.Host] [Notice] Unregistering: php
[15:41:28:887] [Ti.Host] [Notice] Unregistering: tifilesystem
[15:41:28:887] [Ti.Host] [Notice] Unregistering: tinetwork
[15:41:28:887] [Ti.Host] [Notice] Unregistering: tiprocess
[15:41:28:887] [Ti.Host] [Notice] Exiting with exit code: 0

@meeech
Copy link
Owner

meeech commented Mar 19, 2016

401 error, says you are unauthorized - maybe you dont have the permissions anymore for that theme/shop?

@aud
Copy link

aud commented Mar 19, 2016

Permissions seem to be good. App is installed on shop, and full access user. Anything else that could cause this?

@meeech
Copy link
Owner

meeech commented Mar 23, 2016

@audition still happening? Canyou upload scss directly? or do they need to be .scss.liquid?

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

No branches or pull requests

3 participants