Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

ValueError: invalid literal for int() with base 10: '' #15

Open
pymander opened this issue Jun 21, 2016 · 0 comments
Open

ValueError: invalid literal for int() with base 10: '' #15

pymander opened this issue Jun 21, 2016 · 0 comments

Comments

@pymander
Copy link

I set up my API key as per the directions in ~/.chube and then ran chuber. I am getting an error that I can't figure out.

$ chuber 
Python 2.7.11+ (default, Apr 17 2016, 14:00:29) 
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> for node in Linode.search():
...     print node.label
... 
Traceback (most recent call last):
  File "<console>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/chube/util.py", line 29, in f_new
    return f(*f_args, **f_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/chube/linode_obj.py", line 121, in search
    a = [cls.from_api_dict(d) for d in api_handler.linode_list()]
  File "/usr/local/lib/python2.7/dist-packages/chube/model.py", line 63, in from_api_dict
    setattr(inst, attr.local_name, attr.local_type(api_value))
ValueError: invalid literal for int() with base 10: ''
>>> 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant