Closed DartBot closed 9 years ago
This comment was originally written by @unicomp21
I give permission from the browser window, but I don't think it's caching the creds locally.
MSG : Publishing "rad_textures" 1.0.0: | |-- .gitignore | |-- LICENSE | |-- README.md | |-- lib | | |-- rad_textures.dart | | '-- src | | |-- musgrave.dart | | |-- simplex_noise.dart | | |-- util.dart | | '-- vector3.dart | |-- log.txt | |-- pubspec.yaml | '-- web | |-- RadTextures.css | |-- RadTextures.dart | '-- RadTextures.html | Looks great! Are you ready to upload your package (y/n)? MSG : Pub needs your authorization to upload packages on your behalf. | In a web browser, go to https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force&response_type=code&client_id=818368855108-8grd2eg9tj9f38os6f1urbcvsq399u8n.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A37091&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email | Then click "Allow access". | | Waiting for your authorization... MSG : Authorization received, processing...
This comment was originally written by @unicomp21
BTW, I'm running ubuntu 12.10
We can't reproduce this, but I'd like to understand what's going on here. Do you know if there's anything unusual about your networking setup? The way this works is:
Do you have any ideas why that may fail on your machine?
Added NeedsInfo label.
This comment was originally written by @tomyeh
I got a similar issue and the verbose log is as follows. It worked fine before I upgraded to 0.4.0.0_r18915.
IO : Begin delete directory C:\usr\cygwin\tmp\tempdir-5c704cc5-7fd1-11e2-8fbf-002643faf5b6. IO : End delete directory C:\usr\cygwin\tmp\tempdir-5c704cc5-7fd1-11e2-8fbf-002643faf5b6. y FINE: Loading OAuth2 credentials. FINE: Saving OAuth2 credentials. FINE: Ensuring directory C:\Users\tomyeh\AppData\Roaming\Pub\Cache exists. IO : Writing 284 characters to text file C:\Users\tomyeh\AppData\Roaming\Pub\Cache\credentials.json. FINE: Got response 400 Bad Request. FINE: Saving OAuth2 credentials. FINE: Ensuring directory C:\Users\tomyeh\AppData\Roaming\Pub\Cache exists. IO : Writing 284 characters to text file C:\Users\tomyeh\AppData\Roaming\Pub\Cache\credentials.json. FINE: Clean up system cache temp directory C:\Users\tomyeh\AppData\Roaming\Pub\Cache_temp.
This comment was originally written by @tomyeh
It works after I delete credentials.json (and redo authorization). Hope the information helps.
This comment was originally written by ross.dart.lan...@gmail.com
I'm seeing the same issue on Windows 64 with 0.4.1_r19425 but unfortunately deleting the credentials.json doesn't work for me. It sends me to the auth link, I accept, it says everything is ok (Authorization received, processing...) and that's it. No new credentials.json and no publish :/ I have a pretty shaky internet connection at present so i'll try again later when I've got more bandwidth.
This comment was originally written by ross.dart.lang...@gmail.com
FWIW I got it working once my internet connection was more reliable (with the delete credentials workaround). thanks!
This issue has been moved to dart-lang/pub#418.
This issue was originally filed by @unicomp21
What steps will reproduce the problem?
What is the expected output? What do you see instead? pub.dartlang.org should show the RadTextures package. It is not displayed.
What version of the product are you using? On what operating system? latest, windows, linux
Please provide any additional information below.