Closed
Bug 569051
Opened 15 years ago
Closed 14 years ago
Cannot upload new version of my plugin
Categories
(addons.mozilla.org Graveyard :: Developer Pages, defect, P3)
addons.mozilla.org Graveyard
Developer Pages
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 553523
4.x (triaged)
People
(Reporter: mr.dovi, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)
Build Identifier:
On differents browsers I'm receiving a Javascript error just after uploading a new version of my plugin (thunderbayespp-1.0.1.10.xpi - 20Mb size)
The displayed error: JSON.parse in developers.js line 386
The verification hangs just after the download is complete and I don't see my new files
Reproducible: Always
Steps to Reproduce:
1. Click New Version
2. Choosing my file thunderbayespp-1.0.1.10.xpi
3. Upload starts but at the end a javascript error happens and it does not let me continue the validation
Actual Results:
The displayed error: JSON.parse in developers.js line 386
I think it has something to do with big file size but I'm not sure. My addon thunderbayes++ has versions of python and mysql in both 32 & 64-bit why this size.
I don't plan to reduce its size by this but I don't plan make it much bigger in the futur.
I think you must allow at least 50Mb
Expected Results:
Being able to upload teh new version of my plugin
The javascript must have expanded just after the upload finish so I can this the results of the validation and confirm this is ok as usual.
By the way I have tested with Firefox default profile & settings, IE8, Chrome, Opera, they all fails so it's not browser-side to me but server side
I see the var MAXFILESIZE is set to 33554432 so my files is allowed to be POST-ed right
I have made test with small 50Kb files which uploaded succesfully and comparing the results in Firebug:
The POST to https://addons.mozilla.org/en-US/developers/json/fileupload/update supposed to return 200 OK with something like
<script type="text/plain" id="json">{"file_id":-1,"file_name":"52381700 1275150721.xpi","addon_type":"1","uploadtype":"update"}</script>
with my 19Mb files it ALWAYS returns 400 Bad Request
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>There are errors in this form. Please correct them and resubmit.</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="Refresh" content="3;url=/en-US/firefox/"/>
<style><!--
P { text-align:center; font:bold 1.1em sans-serif }
A { color:#444; text-decoration:none }
A:HOVER { text-decoration: underline; color:#44E }
--></style>
</head>
<body>
<p><a href="/en-US/firefox/">There are errors in this form. Please correct them and resubmit.</a></p>
</body>
</html>
and so on the upload.* object is not filled with the required datas and so on I cannot update my mod
So now I'm sure there is a serv-side bug because you have set a max file size to 32Mb but it clearly fails with my 19Mb extensions.
Please fix
Updated•15 years ago
|
Severity: major → normal
Component: Admin/Editor Tools → Developer Pages
OS: Windows 7 → All
Priority: -- → P3
QA Contact: admin-tools → developers
Hardware: x86 → All
Target Milestone: --- → 5.12
Updated•15 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
I remember this happened too when my mod was ~9Mb size, but after 3-4 retries it worked, but now the size 19Mb it always fail, tried to upload ~400Mb without luck.
Comment 4•15 years ago
|
||
When I got this error it was because I had built the addon on Mac and we suspect it had some extra system files that were causing problems. Built it on Linux and it uploaded fine.
Thanks for commenting harthur, however I don't see what do you mean by built on MAC ? Mine is pakaged by 7zip on Windows, inluced a portable version of python built with py2exe on Windows, and the mod works for Mac/Linux/Windows
Comment 6•14 years ago
|
||
This is dependent on all kinds of bugs. Search the whiteboard field for [devtools] if you're interested in following them
Target Milestone: 5.12 → 4.x (triaged)
Comment 7•14 years ago
|
||
This will be fixed with the new dev tools. In the mean time, consolidating the bugs.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•