Custom Query (1173 matches)
Results (142 - 144 of 1173)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#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 |
|||
#5331 | fixed | Print statements not python3 compatible | ||
Description |
File "mediagoblin/media_types/video/transcoders.py", line 436
SyntaxError: invalid syntax |
|||
#5332 | fixed | Storage test fails on python3 | ||
Description |
This happens running the test suite on python3 with MG v0.8 (The same error occurs in a few more tests). I don't have an easy guess as to how to fix this. _ test_basic_storage_copy_locally _ Traceback (most recent call last):
TypeError: 'str' does not support the buffer interface |