treasure-data / luigi-td

Luigi Workflow Engine integration for Treasure Data
http://docs.treasuredata.com/articles/luigi
Apache License 2.0
16 stars 15 forks source link

luigi-td on Luigi 2.0 doesn't work #1

Closed toru-takahashi closed 8 years ago

toru-takahashi commented 8 years ago

I try to the following installation. But, it show the followoing error. http://luigi-td.readthedocs.org/en/latest/gettingstarted.html#installation

Do you know the cause?

$ python tasks.py MyQuery --local-scheduler
Traceback (most recent call last):
  File "tasks.py", line 4, in <module>
    import luigi_td
  File "/Users/takahashi/.pyenv/versions/2.7.9/lib/python2.7/site-packages/luigi_td/__init__.py", line 2, in <module>
    from luigi_td.task import *
  File "/Users/takahashi/.pyenv/versions/2.7.9/lib/python2.7/site-packages/luigi_td/task.py", line 32, in <module>
    class TableTask(luigi.Task):
  File "/Users/takahashi/.pyenv/versions/2.7.9/lib/python2.7/site-packages/luigi_td/task.py", line 37, in TableTask
    schema = luigi.Parameter(is_list=True, default=[], significant=False)
TypeError: __init__() got an unexpected keyword argument 'is_list'
$ pip list | grep luigi
luigi (2.0.0)
luigi-td (0.6.1)
k24d commented 8 years ago

Released 0.6.6.