Edit report at https://bugs.php.net/bug.php?id=74525&edit=1

 ID:                 74525
 Updated by:         [email protected]
 Reported by:        stanleycheung at google dot com
 Summary:            Unable to upload new release for package
 Status:             Open
 Type:               Bug
 Package:            Website problem
 Operating System:   Linux or Mac
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

That is weird.

Using the .tgz you sent me, I can repro this.
Extracting the archive and re-creating does not help either.

Downloading the latest grpc release, and uploading that however works just fine.


I've got no real idea why that is.
I don't see anything immediately wrong in the package.xml either.

I also tried to recreate the package tgz from the extracted sources (moving the 
package.xml back into the directory), that file also reproduced the error.


Incidentally, the default php upload filesize is 2Mb.
This latest release is 2.2Mb...

Looks like the server is misconfigured.


Previous Comments:
------------------------------------------------------------------------
[2017-05-02 22:00:25] stanleycheung at google dot com

Yes I am aware that other extensions have uploaded newer release since this bug 
report so the issue could be isolated. But I am more worried to find out why? 
Why is this particular release not upload-able?

I have tried to upload the previous release (1.2.0) and that actually was 
successful too (at least the upload form gets to the next screen). So there 
must be something wrong with this particular grpc-1.3.0RC1.tgz file that the 
upload form doesn't like and I need to find out why.

I did add some files between the 1.2.0 and 1.3.0 release so the .tgz file size 
go from 2.1Mb to 2.2Mb. I am hoping that's not the reason why this slight 
increase in filesize is what causing the upload issue?

I have shared the grpc-1.3.0RC1.tgz file via Google Drive with bjori to take a 
look.

------------------------------------------------------------------------
[2017-05-02 21:42:28] [email protected]

Non-text attachments are stripped from the list.

Since there have 3 successful pecl releases since your email (see 
http://news.php.net/php.pecl.dev), I think there must have been a temporary 
error somewhere.

Could you please try again?

------------------------------------------------------------------------
[2017-05-02 17:38:06] stanleycheung at google dot com

Yes I verified that I am able to do "sudo pecl install <my .tgz package>" 
locally in both linux and mac. I actually sent an email with the subject 
"Trouble uploading new release" with the .tgz package attached. Will someone be 
able to look at what's wrong with that package?

------------------------------------------------------------------------
[2017-05-02 11:48:16] [email protected]

Hmm, did you verify the package with the pecl cmd? Sometimes there are errors, 
that might be revelant for the pecl site. Otherwise probably needs someone with 
the access to the actual host.

Thanks.

------------------------------------------------------------------------
[2017-05-02 01:59:02] stanleycheung at google dot com

Description:
------------
I was not able to upload the latest release 1.3.0 for the extension "grpc". 

After I choose the file grpc-1.3.0RC1.tgz (which I generated using the "pear 
package" command as usual), the Upload Release web form gave me an error 
"Error: No file has been uploaded.".

My .tgz file is 2.2Mb which should be well under the limit 16Mb.

Test script:
---------------
- Go to pecl.php.net
- Login
- Choose my .tgz file that I want to upload
- Click Upload
- Got error

Expected result:
----------------
Able to upload new release for package

Actual result:
--------------
Unable to upload new release for package. Got error

"No file has been uploaded"


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=74525&edit=1

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to