TurnKey Linux Virtual Appliance Library

hub-launch error

Hi, I am trying to launch a new VM from a backup with the following command:

hub-launch 39 --region=us-west-1 --size=c1.medium --type=s3 --label=weatherization-nwtp.nterlearning.org --root-pass=password --db-pass=password --app-pass=password --app-email=admin@nterlearning.org --fqdn=weatherization-nwtp.nterlearning.org

and I am getting the following error: NameError: global name 'account' is not defined

Traceback (most recent call last):
  File "/volatile/hub/apps/amazon/api/handlers.py", line 54, in _inner
    return func(self, request, **kwargs)

  File "/volatile/hub/apps/amazon/api/handlers.py", line 41, in wrapper
    return func(self, request, **kwargs)

  File "/volatile/hub/apps/amazon/api/handlers.py", line 233, in create
    subscribed = account.is_subscribed_s3()

NameError: global name 'account' is not defined
I have run this same command successfully a number of times before, but maybe I am missing something this time around??
Any help would be appreciated.
Alon Swartz's picture


Thanks for reporting the issue. I just released a fix, if you could confirm that would be great.



Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)