Re: [orca-list] problem with messages.py
- From: John Covici <covici ccs covici com>
- To: Didier Spaier <didier slint fr>
- Cc: orca-list gnome org
- Subject: Re: [orca-list] problem with messages.py
- Date: Thu, 12 Jul 2018 09:16:04 -0400
But it makes orca quit, so no orca when I get that message.
On Thu, 12 Jul 2018 08:09:44 -0400,
Didier Spaier wrote:
Hi,
In:
https://docs.python.org/3.5/library/faulthandler.html
I read:
Only ASCII is supported. The backslashreplace error handler is used on encoding.
I don't know is this is part of the explanation but still...
Anyway I don't think athat one should worry about all such messages,
as long as orca works...
So if that doesn't hurt I'd just leave alone messages.py.
Sorry I still have to learn Python, so wait for a more sound answer.
Didier
Le 12/07/2018 à 12:46, John Covici a écrit :
Hi. I am not sure why this came up, but here goes.
After my latest update of all my gentoo packages, and after pulling
orca master and using python3.5 as the python3 version, I get the
following message when trying to run orca:
(this may be a bit approximate as I don't have the actual traceback
anymore)
non ascii character \xe2 in
/usr/lib/python3.5/site-packages/orca/messages.py line 240.
Now, I did some research and what it seems to say that unless you
specify the encoding, the file is considered ascii -- and sure enough
on that line what displays as a " character is actually the unicode
string 0xe280. There are several other places like this in that file.
What I did was to put the following line as the second line of the
file
#encoding: UTF-8
and that got rid of that message, but now I get the following
traceback:
Traceback (most recent call last):
File "/usr/bin/orca", line 44, in <module>
from orca import orca
File "/usr/lib64/python3.5/site-packages/orca/orca.py", line 32, in <module>
import faulthandler
ImportError: No module named faulthandler
The only faulthandler I can see in my repository is only targeted for
python2.7, so how do I either fix, or what else can I do about this
strange one?
Thanks in advance for any suggestions.
_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html
Log bugs and feature requests at http://bugzilla.gnome.org
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici wb2una
covici ccs covici com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]