Hello Yanic, I believe the issue might actually be in the way the cms tries to display the apphook name when is not found.
Can you run the following in django shell (and paste the output): from cms.models import Page print(Page.objects.distinct().values_list('application_urls', flat=True)) On Tuesday, July 11, 2017 at 5:25:54 PM UTC-4, Yanic Olivier wrote: > > Hello all ! > > I'm working on an upgrade and when I run my server, I get this : > > python manage.py runserver 0.0.0.0:8000 > > lib/picklefield/fields.py:53: RemovedInDjango110Warning: SubfieldBase has > been deprecated. Use Field.from_db_value instead. > class PickledObjectField(models.Field): > > lib/picklefield/fields.py:53: RemovedInDjango110Warning: SubfieldBase has > been deprecated. Use Field.from_db_value instead. > class PickledObjectField(models.Field): > > Performing system checks... > > /home/vagrant/workspace/centraidenew/project/intranet/urls.py:63: > RemovedInDjango110Warning: Support for string view arguments to url() is > deprecated and will be removed in Django 1.10 (got > django.views.i18n.javascript_catalog). Pass the callable instead. > }, name='intranet_admin_jsi18n'), > > Unhandled exception in thread started by <function wrapper at 0x571e140> > Traceback (most recent call last): > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/utils/autoreload.py", > > line 226, in wrapper > fn(*args, **kwargs) > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/core/management/commands/runserver.py", > > line 116, in inner_run > self.check(display_num_errors=True) > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/core/management/base.py", > > line 426, in check > include_deployment_checks=include_deployment_checks, > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/core/checks/registry.py", > > line 75, in run_checks > new_errors = check(app_configs=app_configs) > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/core/checks/urls.py", > > line 13, in check_url_config > return check_resolver(resolver) > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/core/checks/urls.py", > > line 23, in check_resolver > for pattern in resolver.url_patterns: > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/utils/functional.py", > > line 33, in __get__ > res = instance.__dict__[self.name] = self.func(instance) > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/core/urlresolvers.py", > > line 417, in url_patterns > patterns = getattr(self.urlconf_module, "urlpatterns", > self.urlconf_module) > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/utils/functional.py", > > line 33, in __get__ > res = instance.__dict__[self.name] = self.func(instance) > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/core/urlresolvers.py", > > line 410, in urlconf_module > return import_module(self.urlconf_name) > File > "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/importlib/__init__.py", > line 37, in import_module > __import__(name) > File "/home/vagrant/workspace/centraidenew/project/urls.py", line 38, in > <module> > url(r'^', include('cms.urls')), > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/django/conf/urls/__init__.py", > > line 52, in include > urlconf_module = import_module(urlconf_module) > File > "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/importlib/__init__.py", > line 37, in import_module > __import__(name) > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/cms/urls.py", > > line 19, in <module> > urlpatterns = get_app_patterns() > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/cms/appresolver.py", > > line 189, in get_app_patterns > return _get_app_patterns() > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/cms/appresolver.py", > > line 245, in _get_app_patterns > app = apphook_pool.get_apphook(title.page.application_urls) > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/site-packages/cms/apphook_pool.py", > > line 97, in get_apphook > warnings.warn(_('No registered apphook "%r" found') % app_name) > File > "/home/vagrant/.pyenv/versions/2.7.6/lib/python2.7/logging/__init__.py", > line 1707, in _showwarning > s = warnings.formatwarning(message, category, filename, lineno, line) > File > "/home/vagrant/.pyenv/versions/2.7.6/envs/centraidenew/lib/python2.7/warnings.py", > > line 38, in formatwarning > s = "%s:%s: %s: %s\n" % (filename, lineno, category.__name__, message) > UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in > position 25: ordinal not in range(128) > > is it linked to this : > http://support.divio.com/project-types/django-cms/unicode-characters-in-url-slugs > > And if it's the case is there a way around ? > > Thank in advance ! > > Yanic > -- Message URL: https://groups.google.com/d/msg/django-cms-developers/topic-id/message-id Unsubscribe: send a message to django-cms-developers+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups "django CMS developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-cms-developers+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/django-cms-developers/4b7609cf-5225-456b-bea5-1b3b26ac448d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.