ginlong-scraper icon indicating copy to clipboard operation
ginlong-scraper copied to clipboard

ERROR TypeError : string indices must be integers, not 'str'

Open Stephen2615 opened this issue 3 years ago • 0 comments

I have a RPi and have tried unsuccessfully to get the scraper running. I wasn't able to run the dev supplied docker as it is not for the RPi architecture so I created a docker from scratch using the info in the Dockerfile. It all goes well but when I run it, it spits out this error.

ERROR TypeError : string indices must be integers, not 'str'

I tried another persons Docker but it also spits out a similar error:

docker run fredericvl/ginlong-solis-scraper 2022-12-01 03:37:45,804 INFO Started ginlong-solis-scraper 2022-12-01 03:37:45,806 INFO Running job Every 5 minutes at 00:00:00 do main() (last run: [never], next run: 2022-12-01 03:42:00) 2022-12-01 03:37:46,761 INFO Login successful for m.ginlong.com 2022-12-01 03:37:47,726 ERROR TypeError : string indices must be integers

It seems to be a problem with the date time for the schedule at about line 321 but I have no idea why.

Any assistance would be most welcome.

Stephen2615 avatar Dec 01 '22 03:12 Stephen2615