Custom Query (1173 matches)
Results (214 - 216 of 1173)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#5331 | fixed | Print statements not python3 compatible | ||
Description |
File "mediagoblin/media_types/video/transcoders.py", line 436
SyntaxError: invalid syntax |
|||
#5330 | fixed | Python 3.4.3 does not work with default values in SQLAlchemy <0.9 | ||
Description |
Trying to register on by mediagoblin (v0.8) with python3, I get the following error: sqlalchemy.exc.StatementError: utcnow() takes no arguments (1 given) (original cause: TypeError: utcnow() takes no arguments (1 given)) 'INSERT INTO coreusers (username, email, pw_hash, created, wants_comment_notification, wants_notifications, license_preference, url, bio, uploaded, upload_limit, location, activity) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' [{'license_preference': None, 'activity': None, 'location': None, 'upload_limit': None,'pw_hash': None, 'email': 'Sebastian@…', 'bio': None, 'url': None, 'username': 'spaetz'}] Other relevant reports: http://stackoverflow.com/questions/22481905/sqlalchemy-python-3-default-column-value and has apparently been fixed in SQLAlchemy 0.9. As our setup.py still constraints SQLAlchemy for some unknown reason to <0.9.0, we fail on python3 setups. Removing that constraint and upgrading SQLAlchemy to the current version let mediagoblin continue without errors. I ran the test suite with the new SQLAlchemy and no new error came up. Sebastian |
|||
#5329 | fixed | Python3 error, changing ones hometown | ||
Description |
This is in version 0.8 when changing ones hometown using python3: File "/srv/media.sspaeth.de/mediagoblin/mediagoblin/edit/views.py", line 222, in edit_profile user.get_location = Location(name=unicode(form.location.data)) NameError: name 'unicode' is not defined |