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

Insufficient Funds Error When Publishing #27

Closed
guytp opened this issue Mar 29, 2017 · 1 comment
Closed

Insufficient Funds Error When Publishing #27

guytp opened this issue Mar 29, 2017 · 1 comment

Comments

@guytp
Copy link

guytp commented Mar 29, 2017

When trying to post a video with insufficient credits for bid the below error appears. There are three issues with this error:

  1. It is not user friendly
  2. The check doesn't come back until a long time after hitting publish (I'm guessing the whole upload happens first which for a multi-GB file is a big waste of time)
  3. Popup error window cannot be closed whole process must be killed (see Error when publishing with a bid of 0 #23)

Daemon: 0.9.1
lbryum: 2.7.13
Interface 0.9.2rc2
Platform: Win10-10.0.14393 x64

The following error occurred when attempting to publish your file: Traceback (most recent call last): File "site-packages\twisted\internet\defer.py", line 1445, in unwindGenerator File "site-packages\twisted\internet\defer.py", line 1299, in _inlineCallbacks File "site-packages\lbrynet\lbrynet_daemon\Publisher.py", line 56, in make_claim File "site-packages\twisted\internet\defer.py", line 1445, in unwindGenerator --- --- File "site-packages\twisted\internet\defer.py", line 1299, in _inlineCallbacks File "site-packages\lbrynet\core\Wallet.py", line 648, in claim_name lbrynet.core.Error.InsufficientFundsError:

image

@alexliebowitz
Copy link
Contributor

alexliebowitz commented May 4, 2017

@kauffj: Presumably the right way to handle this is to subscribe to the balance and check if the user has enough credits when validating the form. Then if the publish call fails because of insufficient funds (because of a last minute balance change or whatever), we show some kind of modal or notice. I can handle this but it should be done on the redux branch, of course.

Error #3 is fixed already (error dialogs don't get stuck open anymore).

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