Tried calling: readEventsEnabled=false
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 1.1k
- Forks
- 242
- Avg merge
- 4d 21h
- Merged PRs (30d)
- 15
Description
Looks great! Are you ready to upload your package (y/n)? y
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%3A58496&scope=openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email
Then click "Allow access".
Waiting for your authorization...
^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[C^[[CAuthorization received, processing...
The setter 'readEventsEnabled=' was called on null.
Receiver: null
Tried calling: readEventsEnabled=false
package:http/src/io_client.dart 33:23 IOClient.send
===== asynchronous gap ===========================
package:pub/src/http.dart 68:39 _PubHttpClient.send
===== asynchronous gap ===========================
package:http_retry/http_retry.dart 97:33 RetryClient.send
===== asynchronous gap ===========================
package:pub/src/http.dart 194:43 _ThrowingClient.send
===== asynchronous gap ===========================
package:http_throttle/http_throttle.dart 33:31 ThrottleClient.send
===== asynchronous gap ===========================
package:http/src/base_client.dart 169:38 BaseClient._sendUnstreamed
===== asynchronous gap ===========================
package:http/src/base_client.dart 54:7 BaseClient.post
package:oauth2/src/authorization_code_grant.dart 282:38 AuthorizationCodeGrant._handleAuthorizationCode
===== asynchronous gap ===========================
package:oauth2/src/authorization_code_grant.dart 231:18 AuthorizationCodeGrant.handleAuthorizationResponse
===== asynchronous gap ===========================
package:pub/src/oauth2.dart 208:17 _authorize..
package:shelf/shelf_io.dart 88:29 handleRequest
===== asynchronous gap ===========================
package:shelf/shelf_io.dart 64:34 serveRequests..
This is an unexpected error. Please run
pub --trace publish
and include the logs in an issue on https://github.com/dart-lang/pub/issues/new
pub finished with exit code 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the failing locations named in the trace: package:http/src/io_client.dart:33 and pub/src/oauth2.dart:208, then reproduce the OAuth upload flow with `pub --trace publish`. Done means authorization completes without the `readEventsEnabled=` null error and the package upload can proceed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100