Comments (2)
The author has definitely abandoned this project. It's written for an old version of ruby, and I think the imdb data format may have changed a little.
One of the pull requests fixes this issue as well as some other issues. To use his fixes run
git clone https://github.com/andreykurenkov/data-movies -b update-2016
cd data-movies
bash run-all.sh
This will checkout the branch of his(update-2016
) from his repo and run the script he made which downloads everything, sets up the sqlite schema, and runs the ruby scripts.
For Ubuntu 16.04 I needed to install sqlite3
as well as the gem arrayfields
(gem install arrayfields
). You can use sqlitebrowser
to verify the output database at movies.sqlite3
.
It looks like all the data has been moved to the Movies
table. The Genre
table is not functional (missing foreign key)
from data-movies.
02-import.rb:36:in `match': invalid byte sequence in UTF-8 (ArgumentError)
from 02-import.rb:36:in `block (2 levels) in import_times'
from 02-import.rb:33:in `each_line'
from 02-import.rb:33:in `block in import_times'
from /usr/lib/ruby/vendor_ruby/sqlite3/database.rb:500:in `transaction'
from 02-import.rb:32:in `import_times'
from 02-import.rb:117:in `<main>'
yeah, same error
from data-movies.
Related Issues (4)
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 data-movies.