Comments (2)
I've hardcoded 'latin1' encoding into the setConnection() function like this:
def setConnection(uri, tables, encoding='latin1', debug=False):
"""Set connection for every table."""
params = {'encoding': encoding}
# FIXME: why on earth MySQL requires an additional parameter,
# is well beyond my understanding...
if uri.startswith('mysql'):
if '?' in uri:
uri += '&'
else:
uri += '?'
uri += 'charset=%s' % encoding
I also had to downgrade SQLAlchemy to version 1.4 as suggested in this issue.
from cinemagoer.
Unless I'm mistaken, some versions of SQAlchemy use an SQL library that has been removed from use by the owner.
from cinemagoer.
Related Issues (20)
- Searches for Movies aren't returning Year in the results at all times HOT 3
- s32cinemagoer.py issues HOT 9
- 'release dates" not working HOT 3
- Getting watchlist of a specific user
- Movie akas only partial list returned. HOT 2
- akas error
- Does Cinemagoer use secure HTTPS or HTTP HOT 1
- DTD errors in xml, single quote errors in json HOT 1
- Person biography not working (please urgent i need it for my bachelor thesis) HOT 3
- install question
- Cannot get Awards HOT 2
- Trivia Infoset Not Returning Since May Update
- Date Retrieval Not Working HOT 4
- Mailing list references don't work HOT 1
- Date Retrevals appear Broken HOT 1
- in series episodes doesn't work anymore. HOT 39
- get_top250_movies doesn't work HOT 3
- captcha error 405 Not Allowed HOT 3
- Can't fetch seasons having more than 50 episodes HOT 3
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 cinemagoer.