Custom Query (1173 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (175 - 177 of 1173)

Ticket Resolution Summary Owner Reporter
#5384 duplicate Compiling error involving babel an localedata anongoblin
Description

Probably related to #890 and not sure if to #1070

When compiling the last stable, Babel exits with this error message:

babel.core.UnknownLocaleError: unknown locale 'ia'

Workaround from http://pastebin.com/Cc37uigc (this links expires in 30 days):

This part of the instalation process of mediagoblin on debian jessie: http://mediagoblin.readthedocs.org/en/stable/siteadmin/deploying.html#install-mediagoblin-and-virtualenv Fails for me at "make" with the following error message:

babel.core.UnknownLocaleError: unknown locale 'ia'

So I had to:

sudo apt-get install python-babel-localedata

# And then:

DIR_ORIGIN="/usr/share/python-babel-localedata/localedata/"
DIR_DESTINATION="/srv/mediagoblin.example.org/mediagoblin/lib/python2.7/site-packages/Babel-2.2.0-py2.7.egg/babel/locale-data/"
sudo ln ${DIR_ORIGIN}ia.dat ${DIR_DESTINATION}/
sudo chown mediagoblin:www-data ${DIR_DESTINATION}/ia.dat

Now it has compiled sucessfully.

#5383 invalid Translations compilation is run without pybabel Boris Bobrov
Description

Make among other steps does the following things:

  1. compile translations

n+1. run setup.py.develop

To compile translations, babel needs to be installed. But it is installed only after setup.py develop.

One has to either manually install babel or not use the makefile (which is the recommended way).

#5382 fixed Graveyard media in collection give server error ayleph
Description

I'm seeing server errors in my logs when someone tries to access a collection which has Graveyarded media.

Error - <class 'jinja2.exceptions.UndefinedError'>: 'mediagoblin.db.models.Graveyard object' has no attribute 'url_for_self'
File '/path/to/mediagoblin/lib/python2.7/site-packages/paste/exceptions/errormiddleware.py', line 144 in __call__
  app_iter = self.application(environ, sr_checker)
File '/path/to/mediagoblin/mediagoblin/app.py', line 342 in __call__
  return self.call_backend(environ, start_response)
File '/path/to/mediagoblin/lib/python2.7/site-packages/Werkzeug-0.10.1-py2.7.egg/werkzeug/wsgi.py', line 591 in __call__
  return self.app(environ, start_response)
File '/path/to/mediagoblin/mediagoblin/app.py', line 276 in call_backend
  return self._finish_call_backend(request, environ, start_response)
File '/path/to/mediagoblin/mediagoblin/app.py', line 318 in _finish_call_backend
  response = controller(request)
File '/path/to/mediagoblin/mediagoblin/decorators.py', line 47 in wrapper
  return controller(request, *args, **kwargs)
File '/path/to/mediagoblin/mediagoblin/decorators.py', line 119 in wrapper
  return controller(request, *args, url_user=user, **kwargs)
File '/path/to/mediagoblin/mediagoblin/decorators.py', line 170 in wrapper
  return controller(request, page=page, *args, **kwargs)
File '/path/to/mediagoblin/mediagoblin/user_pages/views.py', line 396 in user_collection
  'pagination': pagination})
File '/path/to/mediagoblin/mediagoblin/tools/response.py', line 36 in render_to_response
  render_template(request, template, context),
File '/path/to/mediagoblin/mediagoblin/tools/template.py', line 144 in render_template
  rendered = template.render(context)
File '/path/to/mediagoblin/lib/python2.7/site-packages/Jinja2-2.7.3-py2.7.egg/jinja2/environment.py', line 969 in render
  return self.environment.handle_exception(exc_info, True)
File '/path/to/mediagoblin/lib/python2.7/site-packages/Jinja2-2.7.3-py2.7.egg/jinja2/environment.py', line 742 in handle_exception
  reraise(exc_type, exc_value, tb)
File '/path/to/mediagoblin/mediagoblin/templates/mediagoblin/user_pages/collection.html', line 20 in top-level template code
  {% from "mediagoblin/utils/collection_gallery.html" import collection_gallery %}
File '/var/lib/mediagoblin/templates/mediagoblin/base.html', line 64 in top-level template code
  {% block mediagoblin_body %}
File '/var/lib/mediagoblin/templates/mediagoblin/base.html', line 203 in block "mediagoblin_body"
  {% block mediagoblin_content %}
File '/path/to/mediagoblin/mediagoblin/templates/mediagoblin/user_pages/collection.html', line 65 in block "mediagoblin_content"
  {{ collection_gallery(request, collection_items, pagination) }}
File '/path/to/mediagoblin/mediagoblin/templates/mediagoblin/utils/collection_gallery.html', line 73 in template
  {{ media_grid(request, collection_items, col_number=col_number) }}
File '/path/to/mediagoblin/mediagoblin/templates/mediagoblin/utils/collection_gallery.html', line 29 in template
  {% set obj_url = obj.url_for_self(request.urlgen) %}
UndefinedError: 'mediagoblin.db.models.Graveyard object' has no attribute 'url_for_self'
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.