Comments (3)
@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.
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:
- Is the CSV_DATEIMTE_FORMAT specified in the config.py and does it match the format in your csv?
- 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.
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)
- no tmdbv3api? HOT 2
- Error HOT 1
- can't import into trakt HOT 1
- [New feature] Partial sync
- Fantastic! HOT 1
- Error message when trying to import HOT 8
- Error after processing through many HOT 11
- [IMPROVEMENT] Netflix2trakt.py
- Check if entry has already been logged in Trakt HOT 1
- Error HOT 3
- time data error from ViewingActivity HOT 15
- ValueError: time data '01/07/2023 20:15' does not match format '%d/%m/%y %H:%M' HOT 4
- datetime error HOT 3
- Titles that caused errors
- Program runs without errors, Trakt not updated HOT 6
- TMDB SSL Error HOT 6
- time data '12.04.2022 20:15' does not match format HOT 1
- Not syncing to trakt? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netflix-to-trakt-import.