joewalnes / greendots

Write with those green dots on your GitHub profile
186 stars 13 forks source link

Error when running on bash in windows #7

Open deepu105 opened 8 years ago

deepu105 commented 8 years ago

Super awesome (terrible) project :) I'm getting below issue


deepu@DEE-ASUS:~/greendots$ ./greendots.py "JHI" ../my-greendot-repo/make.sh
Traceback (most recent call last):
  File "./greendots.py", line 72, in <module>
    main()
  File "./greendots.py", line 38, in main
    canvas.apply(label, x=canvas.width - label.width)  # right align
  File "/home/deepu/greendots/bitmap.py", line 14, in apply
    old = self.data[y + py][x + px]
IndexError: list index out of range
deepu@DEE-ASUS:~/greendots$
``
joewalnes commented 7 years ago

Hmm. Which python do you have? I've only tested with 2.7

deepu105 commented 7 years ago

Ok seems like it works only when i pass all 6 chars atleast as empty space. I'm having 2.7 as well