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

exception when changing font #27

Open
GoogleCodeExporter opened this issue Aug 11, 2015 · 2 comments
Open

exception when changing font #27

GoogleCodeExporter opened this issue Aug 11, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Chaning font leads to exception

For more details, please see Debian Bug: 751401
http://bugs.debian.org/751401

Original issue reported on code.google.com by [email protected] on 7 Jan 2015 at 4:37

@rickysarraf
Copy link
Collaborator

For the record, the exception is:

PythonArgs: ['Seascope.py']
SourcePackage: seascope
Title: Seascope.py crashed with AttributeError in set_font(): 'NoneType' object has no attribute 'setFont'
Traceback:
 Traceback (most recent call last):
   File "Seascope.py", line 42, in file_preferences_cb
     self.code_ctx_view.change_ev_font(ev_font.toString())
   File "/usr/share/pyshared/seascope/view/CodeContextView.py", line 150, in change_ev_font
     cvp.cv.set_font(self.cv_font)
   File "/usr/share/pyshared/seascope/view/EdView.py", line 76, in set_font
     self.lexer.setFont(self.font,-1)
 AttributeError: 'NoneType' object has no attribute 'setFont'
Uname: Linux 4.8.12+ x86_64
UserGroups: adm audio cdrom dip floppy input netdev plugdev staff sudo systemd-journal uml-net video weston-launch

@rickysarraf
Copy link
Collaborator

Here's a patch to fix the issue.

bug-751401-save-editor-font-in-config.patch.txt

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

2 participants