Your message dated Tue, 24 Dec 2019 15:23:11 +0000
with message-id <[email protected]>
and subject line Bug#911753: fixed in yapps2 2.2.1-3.1
has caused the Debian Bug report #911753,
regarding python3-yapps: error reporting completely broken in Python 3 port
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
911753: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911753
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-yapps
Version: 2.2.1-1
Severity: important
While trying to port keymapper to the current version of yapps2, and
after attempting to work around https://bugs.debian.org/911730 by moving
the pre-parser code to the post-parser position, I got this:
yapps2 x11.g
x11.g:90:1: Trying to find one of "parser"
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/yapps/runtime.py", line 438, in
wrap_error_reporter
return getattr(parser, rule)(*args,**kw)
File "/usr/lib/python3/dist-packages/yapps/grammar.py", line 80, in Parser
self._scan('"parser"', context=_context)
File "/usr/lib/python3/dist-packages/yapps/runtime.py", line 376, in _scan
return self._scanner.scan(type, **kw)
File "/usr/lib/python3/dist-packages/yapps/runtime.py", line 344, in scan
tok = self.token([type],context)
File "/usr/lib/python3/dist-packages/yapps/runtime.py", line 297, in token
raise SyntaxError(self.get_pos(), msg, context=context)
yapps.runtime.SyntaxError: SyntaxError@('x11.g', 90, 1)(Trying to find one of
"parser")
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/yapps2", line 11, in <module>
load_entry_point('Yapps2==2.2.1', 'console_scripts', 'yapps2')()
File "/usr/lib/python3/dist-packages/yapps/cli_tool.py", line 111, in main
sys.exit(generate(optz.grammar_path, outputfile, **parser_flags))
File "/usr/lib/python3/dist-packages/yapps/cli_tool.py", line 64, in
generate
t = runtime.wrap_error_reporter(parser, 'Parser')
File "/usr/lib/python3/dist-packages/yapps/runtime.py", line 440, in
wrap_error_reporter
print_error(e, parser._scanner)
File "/usr/lib/python3/dist-packages/yapps/runtime.py", line 420, in
print_error
scanner.print_line_with_pointer(pos)
File "/usr/lib/python3/dist-packages/yapps/runtime.py", line 230, in
print_line_with_pointer
print >>out, '> ',text
TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method'
and '_io.TextIOWrapper'. Did you mean "print(<message>, file=<output_stream>)"?
The first exception is probably my fault somehow; I'm doing this in
spare moments so haven't worked out the details. However, the second
exception is because there is code in a Python 3 module that's using the
Python 2 print syntax.
Please could you fix the port by converting
Scanner.print_line_with_pointer to Python 3 print syntax?
Thanks,
--
Colin Watson [[email protected]]
--- End Message ---
--- Begin Message ---
Source: yapps2
Source-Version: 2.2.1-3.1
We believe that the bug you reported is fixed in the latest version of
yapps2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated yapps2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 23 Dec 2019 22:05:40 +0000
Source: yapps2
Architecture: source
Version: 2.2.1-3.1
Distribution: unstable
Urgency: medium
Maintainer: Matthias Urlichs <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 911730 911752 911753 938864
Changes:
yapps2 (2.2.1-3.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Drop Python 2 support (closes: #938864).
* Write __future__ import before preparser (closes: #911730).
* Convert Scanner.print_line_with_pointer to Python 3 print syntax
(closes: #911753).
* Port documentation and examples to Python 3 (closes: #911752).
Checksums-Sha1:
77406f76605477f548eea44d73a9e940de9df3c6 1874 yapps2_2.2.1-3.1.dsc
313e50cde0130e208ac23ece88bc1ce7907efea5 28477 yapps2_2.2.1-3.1.diff.gz
Checksums-Sha256:
c8cac3ea6c16d3854b221ea637a7ed47e3af66669d75315963f07196db374f31 1874
yapps2_2.2.1-3.1.dsc
b41f6ec42dadb3ce55d45bc9e068f5713e69b453e9098313c4fac73d626fea68 28477
yapps2_2.2.1-3.1.diff.gz
Files:
4edea926922e2d5776e8b469d1f32cd2 1874 python optional yapps2_2.2.1-3.1.dsc
ece1dc2d8252c4e4d4b37dfccd8e49d8 28477 python optional yapps2_2.2.1-3.1.diff.gz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEErApP8SYRtvzPAcEROTWH2X2GUAsFAl4BOxEACgkQOTWH2X2G
UAsksRAAnhmTIy8hEF3hSqsNOKsSOO0BS+aUoG8ep6SeGvY14sA7aLCsVRIQ9Ti2
NKOesIYW+V6GCbjNyrGkPOnjaHY25oEroQlxQ8s+vcUZ0U4KJrph1d6Sm3iJQHQt
/q9Dmx0p7Xo6vytQd5OK3gvNyAmGCYdv2gMVRp+NCrTODfKhl8b9FgwgqNPscv4J
YEmrNhAh8Hb2BBcebwwQx0c1LzKnwGulVKJJiSgNGzBRC8YjR3GWfUDYN3OEE5jO
zuc9yEFBQJ3CopO3d2TLGdW84B/B7PlSd9ZXm2Obt9QzNrwgL1MVUMrnqsFFqCkN
Gbxx1rKPU8pAxcSwj99kslOTFNFPrf9wc3XtW7EW9O3TzVZWiUPoY03fb7vXWPLe
7oVFXWKRlZKHAe4KXhoFNSPUcK2Wx4pHQgLuVLBYLwDUJ18TcB5tWcTC/WVOD3pJ
ssvGzBJoKsiOGoGMxfugKAo/ch1xnhFMtpoAo9I1JWqE6Gm4Vskd7oFTU7JBlMEP
ABAZyIsHAQLWXqGAPPYzZa+0SaVWsZc3gbD20z/hRrhJUfUWHvOzd/oMY5QDdHBi
oYD1oBFZkwywd8P2Y7jB86kF/PTK9YcRjDz14GZghMRjO0YN5UJAJzpOpqLRhncS
M86dpgjE/JfmWLOy9l0HXUJC1u2lYfPTdAAWT1VNhQVbNDs9Cf8=
=uTrA
-----END PGP SIGNATURE-----
--- End Message ---