Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gajim
gajim
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 210
    • Issues 210
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 22
    • Merge Requests 22
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gajim
  • gajimgajim
  • Issues
  • #9739

Closed
Open
Opened Jun 18, 2019 by Daniel Brötzmann@wurstsalatDeveloper

Themes: Type Error in remove_font

Versions

  • OS: Manjaro Linux
  • GTK+ Version: 3.24.8
  • PyGObject Version: 3.32.1
  • GLib Version : 2.60.0
  • python-nbxmpp Version: 0.9.91
  • Gajim Version: 1.1.92

Traceback

Traceback (most recent call last):
  File "/usr/lib/python3.7/site-packages/gajim/gtk/themes.py", line 392, in _on_remove
    self._option.selector, self._option.attr, pre=True)
  File "/usr/lib/python3.7/site-packages/gajim/gtk/css_config.py", line 408, in remove_value
    return self.remove_font(selector, pre)
  File "/usr/lib/python3.7/site-packages/gajim/gtk/css_config.py", line 430, in remove_font
    for rule in css:
TypeError: 'NoneType' object is not iterable

Steps to reproduce the problem

Add a new theme, add Incoming or Outgoing Message Font, delete one or both font setting.

I was not able to reproduce this a second time.

Edited Jul 06, 2019 by Daniel Brötzmann
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gajim/gajim#9739