Custom Query (1174 matches)
Results (106 - 108 of 1174)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #5471 | invalid | Difficulty with fastcgi section from deployment guide. | ||
| Description |
I have followed the deployment guide, changing just mediagoblin.example.org to mediagoblin.tng.com. When I get to the end and run the command "./lazyserver.sh --server-name=fcgi fcgi_host=127.0.0.1 fcgi_port=26543" I am unable to get the website to load. It works fine when I ran "./lazy-server.sh --server-name=broadcast" |
|||
| #5470 | cant-reproduce | Fix "setup.py develop --upgrade" on Ubuntu 14.04 | ||
| Description |
This is a patch that makes "setup.py develop --upgrade" work on my Ubuntu 14.04 laptop. Without it I get several depenency misses. diff --git a/setup.py b/setup.py
index 608a01d..3c81e66 100644
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,9 @@ if PY2:
pyversion_install_requires.append('ExifRead')
install_requires = [
+ 'docutils',
+ 'imagesize',
+ 'markupsafe',
'waitress',
'alembic>=0.7.5',
'python-dateutil',
@@ -67,7 +70,7 @@ install_requires = [
'itsdangerous',
'pytz',
'sphinx',
- 'six',
+ 'six>=1.7.0',
'oauthlib',
'unidecode',
'jsonschema',
Note that this is after running
|
|||
| #5469 | fixed | InvalidRequestError on displaying an empty collection | ||
| Description |
When I create a collection but do not add any items to it, and then attempt to view said collection, an unhandled InvalidRequestError is raised: 2016-08-15 12:30:05,583 ERROR [waitress] Exception when serving /u/jscn/collection/empty-collection/
Traceback (most recent call last):
File "/home/jscn/work/code/mediagoblin/local/lib/python2.7/site-packages/waitress-1.0a2-py2.7.egg/waitress/channel.py", line 338, in service
task.service()
File "/home/jscn/work/code/mediagoblin/local/lib/python2.7/site-packages/waitress-1.0a2-py2.7.egg/waitress/task.py", line 169, in service
self.execute()
File "/home/jscn/work/code/mediagoblin/local/lib/python2.7/site-packages/waitress-1.0a2-py2.7.egg/waitress/task.py", line 399, in execute
app_iter = self.channel.server.application(env, start_response)
File "/home/jscn/work/code/mediagoblin/mediagoblin/app.py", line 342, in __call__
return self.call_backend(environ, start_response)
File "/home/jscn/work/code/mediagoblin/local/lib/python2.7/site-packages/Werkzeug-0.11.10-py2.7.egg/werkzeug/wsgi.py", line 599, in __call__
return self.app(environ, start_response)
File "/home/jscn/work/code/mediagoblin/mediagoblin/app.py", line 276, in call_backend
return self._finish_call_backend(request, environ, start_response)
File "/home/jscn/work/code/mediagoblin/mediagoblin/app.py", line 318, in _finish_call_backend
response = controller(request)
File "/home/jscn/work/code/mediagoblin/mediagoblin/decorators.py", line 47, in wrapper
return controller(request, *args, **kwargs)
File "/home/jscn/work/code/mediagoblin/mediagoblin/decorators.py", line 119, in wrapper
return controller(request, *args, url_user=user, **kwargs)
File "/home/jscn/work/code/mediagoblin/mediagoblin/decorators.py", line 170, in wrapper
return controller(request, page=page, *args, **kwargs)
File "/home/jscn/work/code/mediagoblin/mediagoblin/user_pages/views.py", line 395, in user_collection
cursor = collection.get_collection_items()
File "/home/jscn/work/code/mediagoblin/mediagoblin/db/models.py", line 1168, in get_collection_items
return CollectionItem.query.join(MediaEntry).filter(
File "/home/jscn/work/code/mediagoblin/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 1946, in join
from_joinpoint=from_joinpoint)
File "<string>", line 2, in _join
File "/home/jscn/work/code/mediagoblin/local/lib/python2.7/site-packages/sqlalchemy/orm/base.py", line 201, in generate
fn(self, *args[1:], **kw)
File "/home/jscn/work/code/mediagoblin/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2089, in _join
outerjoin, create_aliases, prop)
File "/home/jscn/work/code/mediagoblin/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2157, in _join_left_to_right
self._join_to_left(l_info, left, right, onclause, outerjoin)
File "/home/jscn/work/code/mediagoblin/local/lib/python2.7/site-packages/sqlalchemy/orm/query.py", line 2285, in _join_to_left
"Tried joining to %s, but got: %s" % (right, ae))
InvalidRequestError: Could not find a FROM clause to join from. Tried joining to <class 'mediagoblin.db.models.MediaEntry'>, but got: Can't find any foreign key relationships between 'core__collection_items' and 'core__media_entries'.
|
|||
