Your message dated Fri, 14 Oct 2022 14:45:35 +0200
with message-id <78a3aa9e-f321-251b-41d6-78781908b...@debian.org>
and subject line This was fixed
has caused the Debian Bug report #1015125,
regarding trove-dashboard: FTBFS: ImportError: cannot import name 
'ugettext_lazy' from 'django.utils.translation' 
(/usr/lib/python3/dist-packages/django/utils/translation/__init__.py)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1015125: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1015125
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: trove-dashboard
Version: 18.0.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220716 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> make[1]: pyversions: No such file or directory
> py3versions: no X-Python3-Version in control file, using supported versions
> set -e ; for i in 3.9 3.10 ; do \
>       NOSE_WITH_OPENSTACK=1 \
>               NOSE_OPENSTACK_COLOR=1 \
>               NOSE_OPENSTACK_RED=0.05 \
>               NOSE_OPENSTACK_YELLOW=0.025 \
>               NOSE_OPENSTACK_SHOW_ELAPSED=1 \
>               DJANGO_SETTINGS_MODULE=trove_dashboard.test.settings \
>               python3 -m coverage run \
>               /<<PKGBUILDDIR>>/manage.py test -v 2 trove_dashboard 
> --settings=trove_dashboard.test.settings ; \
> done
> Creating test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> Found 17 test(s).
> Operations to perform:
>   Synchronize unmigrated apps: admin, compressor, database_backups, 
> database_clusters, database_configurations, databases, horizon, humanize, 
> identity, messages, openstack_auth, openstack_dashboard, project, settings, 
> staticfiles
>   Apply all migrations: auth, contenttypes, sessions
> Synchronizing apps without migrations:
>   Creating tables...
>     Creating table openstack_auth_user
>     Running deferred SQL...
> Running migrations:
>   Applying contenttypes.0001_initial... OK
>   Applying contenttypes.0002_remove_content_type_name... OK
>   Applying auth.0001_initial... OK
>   Applying auth.0002_alter_permission_name_max_length... OK
>   Applying auth.0003_alter_user_email_max_length... OK
>   Applying auth.0004_alter_user_username_opts... OK
>   Applying auth.0005_alter_user_last_login_null... OK
>   Applying auth.0006_require_contenttypes_0002... OK
>   Applying auth.0007_alter_validators_add_error_messages... OK
>   Applying auth.0008_alter_user_username_max_length... OK
>   Applying auth.0009_alter_user_last_name_max_length... OK
>   Applying auth.0010_alter_group_name_max_length... OK
>   Applying auth.0011_update_proxy_permissions... OK
>   Applying auth.0012_alter_user_first_name_max_length... OK
>   Applying sessions.0001_initial... OK
> Destroying test database for alias 'default' 
> ('file:memorydb_default?mode=memory&cache=shared')...
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/manage.py", line 23, in <module>
>     execute_from_command_line(sys.argv)
>   File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
> line 446, in execute_from_command_line
>     utility.execute()
>   File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
> line 440, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File 
> "/usr/lib/python3/dist-packages/django/core/management/commands/test.py", 
> line 24, in run_from_argv
>     super().run_from_argv(argv)
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 414, in run_from_argv
>     self.execute(*args, **cmd_options)
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 460, in execute
>     output = self.handle(*args, **options)
>   File 
> "/usr/lib/python3/dist-packages/django/core/management/commands/test.py", 
> line 68, in handle
>     failures = test_runner.run_tests(test_labels)
>   File "/usr/lib/python3/dist-packages/django/test/runner.py", line 1006, in 
> run_tests
>     self.run_checks(databases)
>   File "/usr/lib/python3/dist-packages/django/test/runner.py", line 925, in 
> run_checks
>     call_command("check", verbosity=self.verbosity, databases=databases)
>   File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", 
> line 198, in call_command
>     return command.execute(*args, **defaults)
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 460, in execute
>     output = self.handle(*args, **options)
>   File 
> "/usr/lib/python3/dist-packages/django/core/management/commands/check.py", 
> line 76, in handle
>     self.check(
>   File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 
> 487, in check
>     all_issues = checks.run_checks(
>   File "/usr/lib/python3/dist-packages/django/core/checks/registry.py", line 
> 88, in run_checks
>     new_errors = check(app_configs=app_configs, databases=databases)
>   File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 14, 
> in check_url_config
>     return check_resolver(resolver)
>   File "/usr/lib/python3/dist-packages/django/core/checks/urls.py", line 24, 
> in check_resolver
>     return check_method()
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 480, 
> in check
>     for pattern in self.url_patterns:
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 49, 
> in __get__
>     res = instance.__dict__[self.name] = self.func(instance)
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 696, 
> in url_patterns
>     patterns = getattr(self.urlconf_module, "urlpatterns", 
> self.urlconf_module)
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 49, 
> in __get__
>     res = instance.__dict__[self.name] = self.func(instance)
>   File "/usr/lib/python3/dist-packages/django/urls/resolvers.py", line 689, 
> in urlconf_module
>     return import_module(self.urlconf_name)
>   File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 883, in exec_module
>   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
>   File "/usr/lib/python3/dist-packages/openstack_dashboard/test/urls.py", 
> line 41, in <module>
>     re_path(r'', horizon.base._wrapped_include(horizon.urls)),
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 101, in 
> _wrapped_include
>     return include((pattern_list, app_namespace), 
> namespace=instance_namespace)
>   File "/usr/lib/python3/dist-packages/django/urls/conf.py", line 37, in 
> include
>     if isinstance(urlconf_module, str):
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 258, 
> in inner
>     self._setup()
>   File "/usr/lib/python3/dist-packages/django/utils/functional.py", line 398, 
> in _setup
>     self._wrapped = self._setupfunc()
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 842, in 
> url_patterns
>     return self._urls()[0]
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 849, in _urls
>     self._autodiscover()
>   File "/usr/lib/python3/dist-packages/horizon/base.py", line 898, in 
> _autodiscover
>     import_module('%s.%s' % (app, mod_name))
>   File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 883, in exec_module
>   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
>   File "/<<PKGBUILDDIR>>/trove_dashboard/content/database_backups/panel.py", 
> line 15, in <module>
>     from django.utils.translation import ugettext_lazy as _
> ImportError: cannot import name 'ugettext_lazy' from 
> 'django.utils.translation' 
> (/usr/lib/python3/dist-packages/django/utils/translation/__init__.py)
> make[1]: *** [debian/rules:35: override_dh_auto_test] Error 1


The full build log is available from:
http://qa-logs.debian.net/2022/07/16/trove-dashboard_18.0.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220716;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220716&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
1/ This was fixed
2/ django 4 isn't in Unstable anymore.

--- End Message ---

Reply via email to