TraktRater icon indicating copy to clipboard operation
TraktRater copied to clipboard

IMDb Import problem [Turkish Regional Settings]

Open surlyzero opened this issue 4 years ago • 12 comments

Hello. I get the following error when importing from imdb. Likewise, the web scrape method does not work. List Settings Privacy: Public

IMDB CSV Error:

2020-05-14 10:49:23.110 [INFO] [][01]: Starting import from IMDb
2020-05-14 10:49:23.129 [INFO] [][01]: Reading IMDb ratings export...
2020-05-14 10:49:23.184 [ERR ] [][04]: Error reading row 'Row: '2' (1 based)
Type: 'TraktRater.Sites.API.IMDb.IMDbRateItem'
Field Index: '-1' (0 based)
'
2020-05-14 10:49:23.185 [ERR ] [][04]: Error reading row 'Row: '3' (1 based)
Type: 'TraktRater.Sites.API.IMDb.IMDbRateItem'
Field Index: '-1' (0 based)
'
2020-05-14 10:49:23.185 [ERR ] [][04]: Error reading row 'Row: '4' (1 based)
Type: 'TraktRater.Sites.API.IMDb.IMDbRateItem'
Field Index: '-1' (0 based)

Web Scrape Error:

2020-05-14 10:56:53.236 [INFO] [][01]: Starting import from IMDbWeb
2020-05-14 10:56:53.237 [INFO] [][01]: Requesting ratings from IMDb.com...
2020-05-14 10:56:53.238 [INFO] [][01]: Requesting ratings 1 - 250, Total Results: 0
2020-05-14 10:56:53.238 [DEBG] [][08]: Address: http://www.imdb.com/user/urxxxx/ratings?start=1&view=compact
2020-05-14 10:56:59.152 [INFO] [][01]: Reading IMDb watchlist from web...
2020-05-14 10:56:59.153 [INFO] [][01]: Requesting watchlist items 1 - 100, Total Results: 0
2020-05-14 10:56:59.153 [DEBG] [][08]: Address: http://www.imdb.com/user/urxxxx/watchlist?start=1&view=compact
2020-05-14 10:57:03.051 [INFO] [][01]: Finished import from IMDbWeb
2020-05-14 10:57:03.079 [INFO] [][01]: Import Complete!

surlyzero avatar May 14 '20 08:05 surlyzero

Please use the CSV import as the WEB scrape is broken and will be removed in future build.

damienhaynes avatar May 14 '20 08:05 damienhaynes

Can you attach your CSV file please?

damienhaynes avatar May 14 '20 08:05 damienhaynes

ratings.zip

surlyzero avatar May 14 '20 08:05 surlyzero

Hey @surlyzero, I tested with your CSV and seems fine. Can you confirm you are using the latest version v2.3.9?

image

damienhaynes avatar May 14 '20 09:05 damienhaynes

resim

surlyzero avatar May 14 '20 12:05 surlyzero

@damienhaynes I found the source of the problem. The date and time are set to USA. Import was successful.

surlyzero avatar May 14 '20 12:05 surlyzero

So what did you do to fix your issue? I'm keen to reproduce the error you saw.

damienhaynes avatar May 14 '20 23:05 damienhaynes

Windows system default date format was Turkey. I changed the date format to USA and the problem has been solved.

surlyzero avatar May 15 '20 05:05 surlyzero

Thanks, I will look into issue with Turkish regional settings.

damienhaynes avatar May 18 '20 13:05 damienhaynes

@damienhaynes I found the source of the problem. The date and time are set to USA. Import was successful.

Thank you. I had the same problem.

borayeris avatar Jun 15 '20 17:06 borayeris

Hi @damienhaynes, pull request #116 should resolve any issues with IMDb web scrapper provider.

krishnamuppaneni avatar Jun 16 '20 01:06 krishnamuppaneni

Thanks @krishnamuppaneni, I will reopen this issue to address issue with CSV data provider.

damienhaynes avatar Jun 16 '20 01:06 damienhaynes