Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spurious error messages under ubuntu 20.04 #17406

Closed
hannaybuchan opened this issue May 13, 2020 · 3 comments
Closed

Spurious error messages under ubuntu 20.04 #17406

hannaybuchan opened this issue May 13, 2020 · 3 comments

Comments

@hannaybuchan
Copy link

hannaybuchan commented May 13, 2020

Bug report

Bug summary

Code for reproduction

import matplotlib.pyplot as plt
x=[1,2]
plt.plot(x)
#

#

Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/8x8/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/16x16/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/22x22/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/24x24/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/32x32/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/48x48/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/256x256/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/512x512/legacy/"
Invalid Context= "Legacy" line for icon theme: "/usr/share/icons/Adwaita/scalable/legacy/"
Invalid Context= "UI" line for icon theme: "/usr/share/icons/Adwaita/scalable/ui/"

# If applicable, paste the console output here
#
#

Expected outcome

Matplotlib version 3.2.1

  • Operating system: lubuntu 20.04
  • Matplotlib version:
  • Matplotlib backend (print(matplotlib.get_backend())):
  • Python version:3,8
  • Jupyter version (if applicable):
  • Other libraries:
@tacaswell
Copy link
Member

Which backend are you using?

I suspect that this is an issue with an icon set that is being auto-discovered by the GUI framework on your system, I am not sure we can do thing about this on our side. It looks like Adwatia is a gnome theme and these files are owned by adwaita-icon-theme https://packages.ubuntu.com/focal/all/adwaita-icon-theme/filelist. Try removing that package or reporting this upstream.

@QuLogic
Copy link
Member

QuLogic commented May 14, 2020

Yea, this is a bug in the icon theme, there's nothing we can do about it, but you can try a different backend.

@hannaybuchan
Copy link
Author

hannaybuchan commented May 14, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants