github-downloads-count icon indicating copy to clipboard operation
github-downloads-count copied to clipboard

getting TypeError after running it a few times

Open codeanticode opened this issue 10 years ago • 3 comments

After installing the latest release (1.2 beta), I can get download counts the first few times I run the gdc command, but shortly afterwards I start getting the following error:

Traceback (most recent call last):
  File "./gdc", line 48, in <module>
    full_names.insert(0, ensure_str(rep['full_name']))
TypeError: string indices must be integers

I'm on Mac OS X 10.10.5

codeanticode avatar Nov 04 '15 14:11 codeanticode

I'm seeing this too:

nathan@nathan-desktop:~$ gdc nitroshare
Traceback (most recent call last):
  File "gdc", line 48, in <module>
    full_names.insert(0, ensure_str(rep['full_name']))
TypeError: string indices must be integers

I'm running the script in Python 2.7.9 on Ubuntu 15.04.

nathan-osman avatar Dec 13 '15 00:12 nathan-osman

Me too. After running a few times ./gdc anselal i get:

Traceback (most recent call last):
  File "./gdc", line 53, in <module>
    full_names.insert(0, ensure_str(rep['full_name']))
TypeError: string indices must be integers

anselal avatar Jan 23 '17 11:01 anselal

I'm getting this error too..."TypeError: string indices must be integers"

fabiovix avatar May 29 '17 01:05 fabiovix