[Bug 1924573] Re: ImportError: cannot import name 'locale' from 'gettext'

2021-06-09 Thread Launchpad Bug Tracker
This bug was fixed in the package nautilus-admin - 1.1.9-3ubuntu1 --- nautilus-admin (1.1.9-3ubuntu1) impish; urgency=medium * debian/patches/new-python-compat.patch: - fix the locale import to be compatible with python 3.9, thanks Kesantielu (lp: #1924573) -- Sebastien

[Bug 1924573] Re: ImportError: cannot import name 'locale' from 'gettext'

2021-06-08 Thread Sebastien Bacher
Thank you for the bug report and the patch ** Changed in: nautilus-admin (Ubuntu) Status: New => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1924573 Title: ImportError:

[Bug 1924573] Re: ImportError: cannot import name 'locale' from 'gettext'

2021-05-24 Thread Mathew Hodson
** Changed in: nautilus-admin (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1924573 Title: ImportError: cannot import name 'locale' from 'gettext' To

[Bug 1924573] Re: ImportError: cannot import name 'locale' from 'gettext'

2021-05-08 Thread Hans Joachim Desserud
Thanks for taking your time to report this issue and help making Ubuntu better. I get the same error message when running the same command with nautilus-admin 1.1.9-3 installed on Ubuntu 21.04. I haven't tested the patch. For the next time, please attach as files, that will automatically add the

[Bug 1924573] Re: ImportError: cannot import name 'locale' from 'gettext'

2021-04-15 Thread Kesantielu
-from gettext import gettext, locale, bindtextdomain, textdomain +from gettext import gettext, bindtextdomain, textdomain +try: + # python 3.8 + from gettext import locale +except ImportError: + # python 3.9 + import locale -- You received this bug notification because