Your message dated Tue, 25 Feb 2020 13:08:59 +0000 with message-id <[email protected]> and subject line Bug#942394: fixed in python-icalendar 4.0.3-4 has caused the Debian Bug report #942394, regarding python3-icalendar: python3 cli.py view not working due to an str/byte issue 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.) -- 942394: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942394 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: python3-icalendar Version: 4.0.3-2 Severity: normal Tags: patch Dear Maintainer, $ python3 -m icalendar.cli view /tmp/test.ics Traceback (most recent call last): File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/lib/python3/dist-packages/icalendar/cli.py", line 111, in <module> main() File "/usr/lib/python3/dist-packages/icalendar/cli.py", line 104, in main args.func(**{k: v for k, v in vars(args).items() File "/usr/lib/python3/dist-packages/icalendar/cli.py", line 74, in view description=event.get('description', '')).encode('utf-8')) TypeError: write() argument must be str, not bytes removing the encode(...) part makes it working, patch is appended. Additionally: $ python3 -m icalendar.cli Traceback (most recent call last): File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/usr/lib/python3/dist-packages/icalendar/cli.py", line 111, in <module> main() File "/usr/lib/python3/dist-packages/icalendar/cli.py", line 104, in main args.func(**{k: v for k, v in vars(args).items() AttributeError: 'Namespace' object has no attribute 'func' Expected is a meaningfull error/help message, but my python3 argsparse skills are not good enough to propose a good solution. Thanks, greetings Hermann -- System Information: Debian Release: 10.1 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/6 CPU cores) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-icalendar depends on: ii python3 3.7.3-1 ii python3-dateutil 2.7.3-3 ii python3-tz 2019.1-1 python3-icalendar recommends no packages. python3-icalendar suggests no packages. -- no debconf information--- /usr/lib/python3/dist-packages/icalendar/cli.py 2018-10-10 09:41:19.000000000 +0200 +++ /tmp/cli.py 2019-10-15 17:15:15.805478145 +0200 @@ -71,7 +71,7 @@ time_to=datetime.strftime(event.get('dtend').dt, '%H:%M'), location=event.get('location', ''), comment=event.get('comment', ''), - description=event.get('description', '')).encode('utf-8')) + description=event.get('description', ''))) def main():
--- End Message ---
--- Begin Message ---Source: python-icalendar Source-Version: 4.0.3-4 Done: Christoph Berg <[email protected]> We believe that the bug you reported is fixed in the latest version of python-icalendar, 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. Christoph Berg <[email protected]> (supplier of updated python-icalendar 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: Tue, 25 Feb 2020 13:41:42 +0100 Source: python-icalendar Architecture: source Version: 4.0.3-4 Distribution: unstable Urgency: medium Maintainer: Debian Python Modules Team <[email protected]> Changed-By: Christoph Berg <[email protected]> Closes: 942394 Changes: python-icalendar (4.0.3-4) unstable; urgency=medium . * Team upload. . [ Debian Janitor ] * Add missing colon in closes line. * Remove obsolete fields Name from debian/upstream/metadata. * Set debhelper-compat version in Build-Depends. * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository. * Use dh $@ sequencer. . [ Ondřej Nový ] * Bump Standards-Version to 4.4.1. . [ Christoph Berg ] * Fix cli.py view, patch by Hermann Lauer. (Closes: #942394) Checksums-Sha1: 9f8e16e762da7e21cb8f53449c1edcc704ed70a4 2296 python-icalendar_4.0.3-4.dsc f05270db501768a9380acd85ab6a9dd474f51a1a 4636 python-icalendar_4.0.3-4.debian.tar.xz Checksums-Sha256: d0c05496ecc70779debf90c55800236d078b47f871cd7ee40e6bbfeee1503585 2296 python-icalendar_4.0.3-4.dsc 380e865458e6712b4d07f5ced8929f0fcb61688f2673695279e54d5da51c4664 4636 python-icalendar_4.0.3-4.debian.tar.xz Files: 4aa42c144af059936aa9bb38809a2025 2296 python optional python-icalendar_4.0.3-4.dsc 65fe994e84452d8600f8cfcd0146444a 4636 python optional python-icalendar_4.0.3-4.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAl5VFukACgkQTFprqxLS p66CWQ/+P2OkwoZ9gnseZLN5Stcd0YbG03ASWPWxukDFfE08rX6TP/XVgpQtQ/Lr z8RX6yQEsOiI8bEtKDtbtq/FGr8d8uxIG6qz54VkOVmb90stUqAKWaFiielxMHJh Wt+5I4cxl+9zwIufbIvcRZeR6lSj8Qn4nNWSwwoXKNQW4lR0wlkm1gAPMPk01K6R JaftKCFnNxz/EzROPqsXQcO9oRDASHm7qMTU4kdFjaXcDYx4bKOCZ9KLFRDVW557 MELxV+n9MLIpGL2m/0+sc59ru3gGLI8bVluHqnNvGuepxDm83eEXOq+N6hu6JSUr QPSnf3ODP0CwKAl/jj81LoVfrhdXXqUvExkpCJwGYPSE8UrvG8nIhcXIqPMdVWog bgn+pfIpkhsaxfZDIFGaF+dGKPPQ59pVI1pCwwL6BbsYjYCspLVM63nmiKKaVzbS +xixukhN+mDAv+mHhZfNb08HHxNUg+JSJ2goPK5VfWsMfZVeNOWSHo+9QEDeENxb n/TrnsmCFaPXNPvXjR5pdGErlxLqhF9dVQPd37qHl1X6FQ9GxAQpM+Sme0HP4pHk 1zNznLyfM/MulgbdheP0CxSAcL9gQgsKRDBZ3SrD+y+LEuWmdn7SPHKRc6GQfx/g ldy6FYYq0LEA9qM4NzgRDY/cLNpegFu8zfvXgUbtkgR95j5kXWs= =VQCx -----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________ Python-modules-team mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team
