meeech / shopify.tmbundle

A bundle for interacting with Shopify Theme Assets.
http://meeech.github.com/shopify.tmbundle/
136 stars 31 forks source link

no such xattr: id #75

Open katherinev opened 11 years ago

katherinev commented 11 years ago

i have just installed both the shopify and liquid bundles.

i downloaded my shopify theme taking the following steps: -created new directory with new project -created and saved a blank file to this project -with that file open, selected the "download full theme" option from the bundle -added the newly downloaded files to my project

when i try to upload my theme.liquid file, i get the following error: no such xattr: id.

i get this error for all page / theme files, but NOT for uploading assets. assets work just fine.

i searched for this error, and tried the following fixes: -made sure the file is saved as an HTML liquid file. -made sure the file is the original theme file downloaded from shopify (i also re-downloaded the theme, and tried to upload an unedited file. no such luck.) -checked that atomic saves is unchecked in my textmate preferences. -tried a new API key.

any thoughts on what i am missing?

thanks!

meeech commented 11 years ago

hi @katherinev

Are you sure the file you are working on is set to liquid and not just html (in the language picker) ? because usually the error you are seeing is when trying to upload a file as a page instead of a theme asset.

To confirm whether or not its actually working. you can try selecting Send Asset to Shopify from the bundle menu.

Also, you mention "-with that file open, selected the "download full theme" option from the bundle -added the newly downloaded files to my project"

You shouldnt have to add the downloaded files - if you've added the folder to the project, the files should appear.

katherinev commented 11 years ago

Hi! Thanks for the fast reply.

The file type is "HTML Liquid."

When I select "Send Asset" from within the theme file, the updated theme file is uploaded successfully.

Is there a reason that I would need to use the "Upload File" option versus the "Send Asset" option? If not, everything seems to be workable.

When I downloaded the theme, it placed all of the shopify file directories (assets, snippets, layout, etc.) into my project folder but did not add the directories or files to my project. I had to add the directories to the project manually. Am I missing something? As long as the file originated from shopify, am I able to move it around and then reupload?

Thanks again.

meeech commented 11 years ago

@katherinev if you drag a folder onto TM to make a project, once the files download, just unfocus then refocus TM and you should see all the files in the folder. IIRC upload was for pages, vs send asset.