Giter Site home page Giter Site logo

Type Error about netflix-to-trakt-import HOT 3 CLOSED

jensb89 avatar jensb89 commented on May 30, 2024
Type Error

from netflix-to-trakt-import.

Comments (3)

jensb89 avatar jensb89 commented on May 30, 2024 1

@kev-conway Thanks, that was super helpful. The error is actually that the delimiter in the csv file is different and that way the entry and date is not parsed correctly. Super strange that the netflix export is so different in different countries :D

Anyway, the "csvReader" module doesn't seem to automatically detect the ";". My export history and the ones of most other users used "," as a delimiter. I will add it as an option to the config

from netflix-to-trakt-import.

jensb89 avatar jensb89 commented on May 30, 2024

Hi,
sorry for the late reply, I don't have so much time for Github lately.
Have you already solved this error?
The error suggests that either "watcheddate" or "config.CSV_DATETIME_FORMAT" is not defined, both of which should not happen.

It's hard to help from just the error, so 2 questions if it is not solved yet:

  1. Is the CSV_DATEIMTE_FORMAT specified in the config.py and does it match the format in your csv?
  2. Can you see from the print outputs or the log at which episode/movie the error occurs? That might help to reproduce it and narrow it down. Or if you could upload a part of your csv that would be helpful as well.

from netflix-to-trakt-import.

 avatar commented on May 30, 2024

Hey @jensb89 - I'm having the same problem. I get the same "unsupported operand type(s) for +: 'NoneType' and 'str'" also on line 215.

I even tried running it with just one entry to see if it was maybe a bad entry causing the error.
This is the file I used for testing - NetflixViewingHistory.csv

In my config.py file: CSV_DATETIME_FORMAT = "%d.%m.%Y"
(the date is correct because I had it wrong at first and I was getting a "date format is wrong" error but saw where I went wrong and fixed that).

When I run it and get the error, the Netflix2TraktImportLog.log file is empty.

from netflix-to-trakt-import.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.