GaretJax / lancet

Command line utility to streamline various development activities.
MIT License
9 stars 5 forks source link

lancet init fails #12

Closed vxsx closed 9 years ago

vxsx commented 9 years ago

not sure what's happening here

± % lancet init                                                                                                                                                                                                                                                 !12369 11:09:14
Project key on the issue tracker: PRJ
Integration branch [master]:
Path to virtual environment [env]:
Project ID on Harvest: 6523662
Task id on Harvest: 3692194
Traceback (most recent call last):
  File "/Users/divio/.local/bin/lancet", line 11, in <module>
    sys.exit(main())
  File "/Users/divio/.local/venvs/lancet/lib/python3.4/site-packages/click/core.py", line 610, in __call__
    return self.main(*args, **kwargs)
  File "/Users/divio/.local/venvs/lancet/lib/python3.4/site-packages/click/core.py", line 590, in main
    rv = self.invoke(ctx)
  File "/Users/divio/.local/venvs/lancet/lib/python3.4/site-packages/click/core.py", line 936, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/divio/.local/venvs/lancet/lib/python3.4/site-packages/click/core.py", line 782, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/divio/.local/venvs/lancet/lib/python3.4/site-packages/click/core.py", line 416, in invoke
    return callback(*args, **kwargs)
  File "/Users/divio/.local/venvs/lancet/lib/python3.4/site-packages/lancet/cli.py", line 532, in init
    config.set('harvest', 'project_id', project_id)
  File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/configparser.py", line 1166, in set
    self._validate_value_types(option=option, value=value)
  File "/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/configparser.py", line 1155, in _validate_value_types
    raise TypeError("option values must be strings")
TypeError: option values must be strings
GaretJax commented 9 years ago

Thanks for the bug report. It's fixed in 0.5.1.

Please see http://lancet.readthedocs.org/en/latest/installation/#upgrading-from-a-previous-version for upgrading.