'babel' has no attribute 'Locale'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Rapid Photo Downloader |
Undecided
|
Damon Lynch |
Bug Description
v0.9.24 on Linux Mint 19.3 Tricia
When opening preferences, the following error is produced and preferences will not open.
ERROR An unhandled exception occurred
ERROR Traceback (most recent call last):
File "/home/
dialog = PreferencesDial
File "/home/
self.
File "/home/
for code, language in available_
File "/home/
babel_sample = babel.Locale.
AttributeError: module 'babel' has no attribute 'Locale'
kylehase (kyle-hasegawa) wrote : | #1 |
Changed in rapid: | |
status: | New → Triaged |
milestone: | none → 0.9.25 |
assignee: | nobody → Damon Lynch (dlynch3) |
Damon Lynch (dlynch3) wrote : | #2 |
kylehase (kyle-hasegawa) wrote : | #3 |
Hi Damon,
Here's the output.
$ python3 -m pip show babel
Name: Babel
Version: 2.8.0
Summary: None
Home-page: None
Author: None
Author-email: None
License: None
Location: /home/kylehase/
Requires:
Required-by: rapid-photo-
Damon Lynch (dlynch3) wrote : | #4 |
Please see the attached screenshot of me running pip show from the command line, as well as importing babel from in Python 3 on Mint 19.3.
I would guess that something has gone wrong with your install of Babel, for reasons I do not know.
Try this command, and then repeat once more to clear out any remnants (do not prefix with sudo):
python3 -m pip uninstall babel
then install again:
python3 -m pip install --user babel
kylehase (kyle-hasegawa) wrote : | #5 |
Hi Damon. I ran those commands without sudo and it now works without errors. Thank you.
Here's the output of the commands for the record.
$ python3 -m pip uninstall babel
Found existing installation: Babel 2.8.0
Uninstalling Babel-2.8.0:
Would remove:
/home/
/home/
/home/
Proceed (y/n)? y
Successfully uninstalled Babel-2.8.0
$ python3 -m pip install --user babel
Requirement already satisfied: babel in /usr/lib/
WARNING: You are using pip version 20.2; however, version 20.2.1 is available.
You should consider upgrading via the '/usr/bin/python3 -m pip install --upgrade pip' command.
$ python3 -m pip show babel
Name: Babel
Version: 2.4.0
Summary: Internationaliz
Home-page: http://
Author: Armin Ronacher
Author-email: <email address hidden>
License: BSD
Location: /usr/lib/
Requires:
Required-by: rapid-photo-
Changed in rapid: | |
status: | Triaged → Invalid |
Thanks for your bug report. Can you please run the following command from a terminal and copy and paste the results here in this bug report:
python3 -m pip show babel
Thanks.