Closed gleddy closed 13 years ago
hey. I haven't seen this before. If copying the file fixes it, I wonder if its a permission issue. What process are you using exactly? (using shortcut/hotkey to upload? or picking from the menu?)
also, is this something that started happening recently? (you new to the bundle?) or have you always seen this problem randomly?
holy fast!
yeah, just using the shortcut Command - Shift - U
It's definitely not syntax issues on the file, so trying to dig a bit deeper and figure it out. The problem isn't new - been happening a while (about 6 months, but sporadically enough I have tried to ignore). I just updated the bundle but it didn't fix.
hey,
I just tested Command + U and this works fine, I just haven't been using it as my hot key wasn't working. So the bug might be contained to 'Send Selected Assets to Shopify'
thanks for the bundle by the way, your work rocks
:)
Ok. I think I may know the problem: When you use CMD-SHT-U for upload, you need to make sure something is selected in the project drawer - thats what CMD-SHT-U looks for - this is how it allows you to upload multiple files.
As I see you just discovered, :D CMD-U will upload the file you are currently working on. See here: https://github.com/meeech/shopify.tmbundle/issues/3 for instructions to make it work with .css files - and you can do the same to make it work with .js files.
thanks :D
(leaving ticket open, as I should message people better when this scenario occurs - nothing selected in the drawer)
awesome, thanks for your help (and the link). I will test for a bit longer and report back if any dramas.
message:
Warning: file_get_contents(): Filename cannot be empty in /private/tmp/temp_textmate.8BIHlV on line 52 Sending asset: ... *Error: Could not upload to default. 400 Done.
I can usually fix by creating a version_2 of a file and then uploading that one, so don't think it's an actual error in my HTML / CSS / JavaScript file. Happens on .css, .js, .liquid, etc.
Anyone seen this before?
thanks.