-
Notifications
You must be signed in to change notification settings - Fork 7.6k
[extension-upload] - unable to upload a brackets extension to the registry #7387
Comments
I was able to upload the file on localhost. @ingorichter is there something in the log on the server perhaps? |
@ingorichter any news? |
Doesn't seem to impact many people, hence marking it low priority to investigate @ingorichter. |
Note: @timoweiss mentioned in the forum that removing "font-awesome" from his set of NPM modules fixes this. I wonder if there's anything unusual inside that folder structure that we're choking on? (Or does it just reduce the number of files / depth of nesting dramatically?) |
i was just about to write here :) here's the file-tree of font-awesomes node_modules dir: -node_modules |
@timoweiss @dangoor I'm sorry, but there was nothing in the logfiles that provides more information to resolve this issue. |
@ingorichter Now that we know the "font-awesome" NPM package was the culprit, should we try reproducing it ourselves using a fake extension that includes that package? |
@peterflynn Yes, I'm going to do this. |
@ingorichter sorry, i couldn't wait, i tried it. And the upload was successful. But i had to remove some files from the node_module |
@timoweiss You should be able to remove it yourself now -- we've just updated the registry, and you should now see a Delete button next to any extensions you own. |
@peterflynn perfect, it worked! Thanks! |
@ingorichter @peterflynn i just ran again in this issue. I can't figure it out. The biggest change i made to the previous version was adding socket.io to the extension. First i thought that it was the huge amount of files/folders. Do you guys have any new knowledge to this issue? |
@timoweiss I was working on the registry recently. I can have a look at it to figure out what happened. Where can I find the latest version of your extension? |
I just ran into the same issue trying to update less-autocompile. The weird thing is, I haven't really changed anything in terms of files since my last update on April 5th. You can download the pack here: https://dl.dropboxusercontent.com/u/1213482/less-autocompile.zip |
I experience this too with my extension: https://github.com/equiet/recognizer It's about 1.7 MB and was failing to upload. In the end, I had to remove all "larger" files from node_modules/ directory, usually some tests and a quite big icons/ folder. |
@ingorichter this is my new version of the extension: |
Given the multiple recent reports, I think we should raise this to medium priority. There are still new extensions showing up, so it's not some sort of total breakage, but it's something to be aware of. I did update some libraries when I added the admin features to the registry, but I don't think I updated the file upload handler. Something to watch for, though. |
Quick update: I was unable to reproduce this with any of the failing extensions. :-( |
I also stumbled upon this problem when i tried to upload a locally made zip of my extension. |
@ingorichter @jdiehl @WebsiteDeveloper @equiet |
@timoweiss That is an interesting observation (IMHO). Unfortunately I had to restart the registry app and I don't have any evidence for previous problems that might have caused the misbehavior of the app this morning. |
I can confirm, upload now works as expected. Thanks a lot. |
When you zip up your repo locally, it includes the |
less-autocompile also worked now! |
Hi @ingorichter , after a lot of failure intents uploading brackets-bower extension to the registry, I was able to reproduce the same error in my local environment. Below the steps I follow:
After digging a little and doing some debugging, I found the error code of it: EMFILE from the decompress-zip module/node. Related to bower/decompress-zip#26 Then, I updated the decompress-zip module to latest stable version, from We are using an outdated version of decompress-zip module, maybe it is time to update it. |
Good job @albertinad 👍 |
Great job @albertinad. I suspected that decompress-zip might be the issue. I did some investigation some time ago but never finished the work (#7387). Sometimes the error disappeared after restarting the registry (I have not really an idea why). |
@ingorichter You can download it here: https://drive.google.com/file/d/0BxNY66eFHRb5YXI5UmlteVo2N0U/view?usp=sharing This is the github repository: https://github.com/smiclea/brackets-http-server |
So it still doesn't work for me |
It works now. Thank you! |
does not work now, that was possible up until now. |
sorry I can't want, I have been required npm 's lodash and moment. thx. |
Dear friends, I have several extensions I can upload, including previous version of the one I'm facing this same problem. I don't now what happened, I just change the project version and a string in my project and now I can't upload :( It falls wit message: acb-tartan-background-master.zip |
@acbarbosa1964 if you have the source code for your extension uploaded to github, use 'download zip' utility from github project page and upload the same to registry. One more thing to validate is the package.json structure. Make sure it's not broken after the last update and still a valid json. |
Dear Mitra, Thank you, but I have done that several time and I'm very sure JSON is Attached you have the zip file if you want to take a look. Best Regards, Thank you. Atenciosamente, Antonio Carlos Barbosa *Fone: *+55 15 2102-6500http://www.alphatour.com.br http://www.alphatour.com.br Um pensamento na madrugada... "Muitas vezes, as melhores coisas que temos a dizer para quem amamos, Antonio Carlos Barbosa "Often, the best things we have to say to those we love, we have as friend
2015-10-19 15:22 GMT-02:00 Swagatam Mitra notifications@github.com:
|
I am running into this issue with my new extension https://github.com/petetnt/brackets-sass-lint I am getting |
@petetnt I have faced the same problem while updating my extension last year. Although I am not sure about the actual cause but the following steps got rid of the problem.
|
I've also started using the brackets-npm-registry. It did take a full day for it to show up but publish to npm with Would be great to migrate to this instead of the builtin one that I've had issues with it going down (has been a while for that tho). |
@swmitra Good idea, but sadly those steps wouldn't work for me. 😿 |
Confirmed that it was the I tried to pack the modules with The thing is that I can't even lower my amount of files: I only have one external dependency, |
The extensions registry upload is not working again, and I see it is nearly a full year that this topic was opened - I need to upload v0.0.5 |
I'm unable to upload an new version also. None of the work around suggestions worked for me. |
Maybe this issue is related to file size? I couldn't upload anything larger than 2mb but never had problem with small packages. So added auto install of node dependencies on the extension so the package would be small and only then was able to upload and update the version on registry. |
@alemonteiro I cannot upload 99kb extension right now so it's not related to size, I think. |
I always had the impression that it was related to the program that created the zip file. I don't have 100% proof for it, but it seems that the zip library used to decompress the uploaded zip chokes on some of the files. |
@dnbard , i don't think it's only size related, but it may play a role... @ingorichter , i had this impression also, but it got mixed up with the size thing... Using wirar over windows I never had a problem with upload, did various uploads until 1.5mb. I could only get it to be accepted again after removing the dependecies from the package, so it would be like 200kb, and with that size any zipper that i tried worked. I think this won't help much because it feels inconsistent. I'll try to run a version locally to debug it once I get some free time. |
Closing this issue now. Registry server has been upgraded. Please reopen this issue if you still have problem in uploading extension. |
Hey, tried to upload an extension to the registry but i always get the following error:
"The extension package is invalid: The uploaded content is not a valid zip file."
My zip file has a size of about 3.1Mb.
It has a main.js and a valid package.json.
I have the suspicion that the large amount of files cause the error. Is it possible that there is any limit?
I created the zip via terminal 'zip requireRelease.zip . -r'
See also: https://groups.google.com/forum/#!topic/brackets-dev/srV4w5O0r94
The text was updated successfully, but these errors were encountered: