greendots icon indicating copy to clipboard operation
greendots copied to clipboard

Error when running on bash in windows

Open deepu105 opened this issue 9 years ago • 2 comments

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$
``

deepu105 avatar Nov 20 '16 14:11 deepu105

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

joewalnes avatar Dec 06 '16 17:12 joewalnes

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

deepu105 avatar Dec 06 '16 21:12 deepu105