nikcub / cexbot

bot for the cex cryptocurrency mining marketplace
MIT License
10 stars 8 forks source link

parser module has no attribute 'get_parser' #3

Open bilthon opened 10 years ago

bilthon commented 10 years ago

This is what I get when I try to run the cexbot-cli with python 2.7.6

Nelsons-MacBook-Pro:cexbot nelson$ python cexbot-cli -h
Traceback (most recent call last):
  File "cexbot-cli", line 6, in <module>
    cexbot.command_utils.run_cl(sys.argv)
  File "/Users/nelson/Development/Python/cexbot/cexbot/command_utils.py", line 108, in run_cl
    raise SystemExit(main(sys.argv))
  File "/Users/nelson/Development/Python/cexbot/cexbot/command_utils.py", line 12, in main
    args = parser.get_parser()
AttributeError: 'module' object has no attribute 'get_parser'

If I try to run it with python3 I get stuck (I think ) before:

Nelsons-MacBook-Pro:cexbot nelson$ python3 cexbot-cli -h
Traceback (most recent call last):
  File "cexbot-cli", line 4, in <module>
    import cexbot.command_utils
  File "/Users/nelson/Development/Python/cexbot/cexbot/__init__.py", line 56
    print file_path
craigatron commented 10 years ago

It looks like some code got moved into a parser module, but that module was never added to the repo.

pincy commented 10 years ago

I can verify this. Any updates on this? I really would like to try this piece of software

theag3nt commented 10 years ago

I think the last commit was in the middle of some reorganizations and some code never made it to the repo.

I forked it and fixed a couple of errors and tried to replace missing code, but I didn't test all functions. Give it a try if you want: theag3nt/cexbot@2c5c0821c2

I might write a bot myself, but not in the near future. If you have some suggestions feel free to contact me.