Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Error while downloading file #37

Closed
bohrasankalp opened this issue Jan 5, 2021 · 5 comments
Closed

[Bug] Error while downloading file #37

bohrasankalp opened this issue Jan 5, 2021 · 5 comments

Comments

@bohrasankalp
Copy link

bohrasankalp commented Jan 5, 2021

I am facing 2 issues while downloading files. Though Scaffold is successful with the starting message of 'download started...' I get this error log,

======== Exception caught by widgets library =======================================================
The following StateError was thrown building DefaultTextStyle(debugLabel: whiteMountainView subtitle1, inherit: true, color: Color(0xffffffff), family: Roboto, decoration: TextDecoration.none, softWrap: wrapping at box width, overflow: clip):
Bad state: Stream has already been listened to.


The relevant error-causing widget was: 
  Scaffold-[String <'this'>] .../screens/home.dart:23:12
When the exception was thrown, this was the stack: 
#4      _StreamBuilderBaseState._subscribe (package:flutter/src/widgets/async.dart:138:38)
#5      _StreamBuilderBaseState.initState (package:flutter/src/widgets/async.dart:112:5)
#6      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4845:57)
#7      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4682:5)
#8      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3660:14)
...
====================================================================================================

======== Exception caught by widgets library =======================================================
Bad state: Stream has already been listened to.
The relevant error-causing widget was: 
  Scaffold-[LabeledGlobalKey<ScaffoldState>#de07a] .../lib.dart:151:14
====================================================================================================


======== Exception caught by widgets library =======================================================
Bad state: Stream has already been listened to.
The relevant error-causing widget was: 
  Scaffold-[String <'this'>] .../screens/home.dart:23:12
====================================================================================================

Though this stack makes file moves to downloadable queue, it never gets completed. It always stuck at Clearing Existing Metadata...

@Clashkid155
Copy link
Contributor

Clashkid155 commented Jan 6, 2021

Never had this issue, did you add something or i probably haven't seen it before.

@bohrasankalp
Copy link
Author

@Artx-II any idea for this issue?

@Artx-II
Copy link
Member

Artx-II commented Jan 10, 2021

I couldn't reproduce this issue, can you share your Android version and more details of what you tried to download? Does this issue prevents you from downloading?

@bohrasankalp
Copy link
Author

Yes, my downloading never gets complete. It always stuck with message ``.

Flutter 1.22.5 • channel origin/stable • remotes
Engine • revision ae90085a84
Tools • Dart 2.10.4
Android version: 10QKQ1
MI Phones.

@Artx-II
Copy link
Member

Artx-II commented Mar 12, 2021

This shouldn't happen anymore, if the problem persist then feel free to re-open this issue.

@Artx-II Artx-II closed this as completed Mar 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants