Tribler / cloudomate

Unpermissioned Open Computer API
GNU Lesser General Public License v3.0
15 stars 16 forks source link

Error when purchasing UndergroundPrivate #67

Closed MattSkala closed 5 years ago

MattSkala commented 5 years ago
cloudomate vps purchase UndergroundPrivate 0
Selected configuration:
Name           CPU            RAM            Storage        Bandwidth      Price (USD)
VPS Plan IV    3              4.0            120            Unlimited      30.0
Purchase this option? (y/N) y
[ecc] info: libsecp256k1 library not available, falling back to python-ecdsa. This means signing operations will be slower.
[ecc] info: libsecp256k1 library not available, falling back to python-ecdsa. This means signing operations will be slower.
Password:
true
Traceback (most recent call last):
  File "/usr/local/bin/cloudomate", line 11, in <module>
    sys.exit(execute())
  File "/usr/local/lib/python2.7/site-packages/cloudomate/cmdline.py", line 81, in execute
    args.func(args)
  File "/usr/local/lib/python2.7/site-packages/cloudomate/cmdline.py", line 301, in purchase
    _purchase_vps(provider, user_settings, args)
  File "/usr/local/lib/python2.7/site-packages/cloudomate/cmdline.py", line 365, in _purchase_vps
    _register(provider, vps_option, user_settings)
  File "/usr/local/lib/python2.7/site-packages/cloudomate/cmdline.py", line 503, in _register
    provider_instance.purchase(wallet, vps_option)
  File "/usr/local/lib/python2.7/site-packages/cloudomate/hoster/vps/undergroundprivate.py", line 77, in purchase
    self._submit_user_form()
  File "/usr/local/lib/python2.7/site-packages/cloudomate/hoster/vps/undergroundprivate.py", line 131, in _submit_user_form
    form = self._browser.select_form('form#frmCheckout')
  File "/usr/local/lib/python2.7/site-packages/mechanicalsoup/stateful_browser.py", line 207, in select_form
    raise LinkNotFoundError()
mechanicalsoup.utils.LinkNotFoundError
Jaapp- commented 5 years ago

It does work for me, but I can reproduce the error when I try again with the same email or hostname. Some error handling would be nice.