[Bug 1774843] Re: apport python exception for python versions which python-apt is not built on
Łukasz's remark on focal: +1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774843 Title: apport python exception for python versions which python-apt is not built on To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/1774843/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774843] Re: apport python exception for python versions which python-apt is not built on
Verified on Ubuntu 19.10 on 19.10 python3-apt is built for pyton3.7, the system python for 19.10 so i tested against python3.8 from universe. bart@DH170:~$ apt-cache policy python3-apport python3-apport: Geïnstalleerd: 2.20.11-0ubuntu8.9 Kandidaat: 2.20.11-0ubuntu8.9 Versietabel: *** 2.20.11-0ubuntu8.9 400 400 http://nl.archive.ubuntu.com/ubuntu eoan-proposed/main amd64 Packages 400 http://nl.archive.ubuntu.com/ubuntu eoan-proposed/main i386 Packages 100 /var/lib/dpkg/status 2.20.11-0ubuntu8.8 500 500 http://nl.archive.ubuntu.com/ubuntu eoan-updates/main amd64 Packages 500 http://nl.archive.ubuntu.com/ubuntu eoan-updates/main i386 Packages 500 http://nl.archive.ubuntu.com/ubuntu eoan-security/main amd64 Packages 500 http://nl.archive.ubuntu.com/ubuntu eoan-security/main i386 Packages 2.20.11-0ubuntu8 500 500 http://nl.archive.ubuntu.com/ubuntu eoan/main amd64 Packages 500 http://nl.archive.ubuntu.com/ubuntu eoan/main i386 Packages bart@DH170:~$ python3.7 -c 'import apt_pkg' bart@DH170:~$ python3.8 -c 'import apt_pkg' Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'apt_pkg' bart@DH170:~$ python3.8 -c 'print hello' File "", line 1 print hello ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(hello)? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774843 Title: apport python exception for python versions which python-apt is not built on To manage notifications about this bug go to: https://bugs.launchpad.net/apport/+bug/1774843/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1759584] Re: displayport MST on intel graphics: slave monitor does not wake up from suspend
** Changed in: xserver-xorg-video-intel (Ubuntu) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759584 Title: displayport MST on intel graphics: slave monitor does not wake up from suspend To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1759584/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1780056] [NEW] pdf print issue
Public bug reported: I have a several pdfs (all invoices from the same sender) that do not print correctly from evince. On screen it renders fine. It seems a whole background layer (not sure if the pdf uses layers) is missing. The print is wrong when I print to my printer (HP M426fdn, a laser multifunctional on the local network), but also when I print-to-file (pdf format) from evince When I print to my printer using other means (FoxitReader or directly with lpr) the output is correct. I will attach the original pdf and the output from print-to-file pdf format. E.g. the header at the top right is dropped by evince $ lsb_release -rd Description:Ubuntu 18.04 LTS Release:18.04 $ evince --version Gnome-documentenviewer 3.28.2 ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: evince 3.28.2-1 ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18 Uname: Linux 4.15.0-23-generic x86_64 NonfreeKernelModules: kpatch_livepatch_Ubuntu_4_15_0_23_25_generic_40 ApportVersion: 2.20.9-0ubuntu7.2 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Wed Jul 4 09:58:46 2018 InstallationDate: Installed on 2017-02-26 (493 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) SourcePackage: evince UpgradeStatus: Upgraded to bionic on 2018-05-11 (53 days ago) ** Affects: evince (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug bionic ** Attachment added: "orig.pdf" https://bugs.launchpad.net/bugs/1780056/+attachment/5159520/+files/orig.pdf ** Attachment removed: "orig.pdf" https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1780056/+attachment/5159520/+files/orig.pdf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780056 Title: pdf print issue To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1780056/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1780056] Re: pdf print issue
** Attachment added: "evince output" https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1780056/+attachment/5159527/+files/printed_to_file.pdf ** Description changed: I have a several pdfs (all invoices from the same sender) that do not print correctly from evince. On screen it renders fine. It seems a whole background layer (not sure if the pdf uses layers) is missing. - The print is wrong when I print to my printer ((HP M426fdn, a laser + The print is wrong when I print to my printer (HP M426fdn, a laser multifunctional on the local network), but also when I print-to-file (pdf format) from evince - When I print to my printer using other means (FoxiReader or directly + When I print to my printer using other means (FoxitReader or directly with lpr) the output is correct. I will attach the original pdf and the output from print-to-file pdf format. E.g. the header at the top right is dropped by evince $ lsb_release -rd Description: Ubuntu 18.04 LTS Release: 18.04 $ evince --version Gnome-documentenviewer 3.28.2 ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: evince 3.28.2-1 ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18 Uname: Linux 4.15.0-23-generic x86_64 NonfreeKernelModules: kpatch_livepatch_Ubuntu_4_15_0_23_25_generic_40 ApportVersion: 2.20.9-0ubuntu7.2 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Wed Jul 4 09:58:46 2018 InstallationDate: Installed on 2017-02-26 (493 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) SourcePackage: evince UpgradeStatus: Upgraded to bionic on 2018-05-11 (53 days ago) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780056 Title: pdf print issue To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1780056/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1780056] Re: pdf print issue
** Attachment added: "original pdf" https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1780056/+attachment/5159526/+files/orig.pdf -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1780056 Title: pdf print issue To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1780056/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774843] Re: apport python exception handler messes up python3.7
well my reasoning was slightly different from supported/unsupported i am not familiar with the exact scope of the apport project, but I assume the goal is to collect info on ubuntu packages, not any unrelated code, and since afaik all packages one one release all use the same (system) python version( i.e. 3.6 for bionic), -> code running under any other python is of no interest anyhow -> it only makes sense to install the apport exception hook for that python version, -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774843 Title: apport python exception handler messes up python3.7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1774843/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1774843] [NEW] apport python exception handler messes up python3.7
Public bug reported: it seems apport installs an exception hook whenever running python3. This hook is apparently installed for python3.7 too. This exception handler has a dependency on apt_pkg, which is a binary that is not compatible with python3.7 it seems (you can't import it, see below) As a result, whenever I run a python3.7 script and run into an exception (which happens often when writing code), I get an additional exception in the exception handler + a copy of the original exception, so three stacktraces in total. A solution would be to only install the exception hook for the system python i.e. python3.6 $ lsb_release -rd Description:Ubuntu 18.04 LTS Release:18.04 apport: 2.20.9-0ubuntu7 python-apt: 1.6.0 python3.7: 3.7.0~b3-1 Demo with a trivial error: $ python3 -c 'print hello' File "", line 1 print hello ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(hello)? $ python3.7 -c 'print hello' File "", line 1 print hello ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(hello)? Error in sys.excepthook: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 63, in apport_excepthook from apport.fileutils import likely_packaged, get_recent_crashes File "/usr/lib/python3/dist-packages/apport/__init__.py", line 5, in from apport.report import Report File "/usr/lib/python3/dist-packages/apport/report.py", line 30, in import apport.fileutils File "/usr/lib/python3/dist-packages/apport/fileutils.py", line 23, in from apport.packaging_impl import impl as packaging File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 24, in import apt File "/usr/lib/python3/dist-packages/apt/__init__.py", line 23, in import apt_pkg ModuleNotFoundError: No module named 'apt_pkg' Original exception was: File "", line 1 print hello ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print(hello)? Python 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.excepthook >>> import apt_pkg >>> apt_pkg.__file__ '/usr/lib/python3/dist-packages/apt_pkg.cpython-36m-x86_64-linux-gnu.so' >>> Python 3.7.0b3 (default, Mar 30 2018, 04:35:22) [GCC 7.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.excepthook >> import apt_pkg Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'apt_pkg' ** Affects: apport (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1774843 Title: apport python exception handler messes up python3.7 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1774843/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1762159] [NEW] apport-gtk crashes on reports without timestamp
Public bug reported: $ /usr/share/apport/apport-gtk Traceback (most recent call last): File "/usr/share/apport/apport-gtk", line 598, in app.run_argv() File "/usr/lib/python3/dist-packages/apport/ui.py", line 694, in run_argv return self.run_crashes() File "/usr/lib/python3/dist-packages/apport/ui.py", line 245, in run_crashes logind_session[1] > self.report.get_timestamp(): TypeError: '>' not supported between instances of 'float' and 'NoneType' /usr/lib/python3/dist-packages/apport/report.py: def get_timestamp(self): '''Get timestamp (seconds since epoch) from Date field Return None if it is not present. ''' so get_timestamp can return None, but run_crashes does not cover this $ dpkg -s python3-apport Package: python3-apport Status: install ok installed Priority: optional Section: python Installed-Size: 551 Maintainer: Martin Pitt Architecture: all Source: apport Version: 2.20.7-0ubuntu3.7 $ lsb_release -rd Description:Ubuntu 17.10 Release:17.10 ** Affects: apport (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1762159 Title: apport-gtk crashes on reports without timestamp To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1762159/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1759584] [NEW] displayport MST on intel graphics: slave monitor does not wake up from suspend
Public bug reported: configuration: - PC with Intel HD Graphics 630 (i5-7600) - DELL U2415 monitor connected to displayport port on PC (/sys/class/drm/card0/card0-DP-5) - DELL U2412M connected to DELL U2415 (/sys/class/drm/card0/card0-DP-6) After a suspend/wake up cycle, the first monitor wakes up but the slave (U2412M) does not. When I query /sys/class/drm/card0/card0-DP-5 and /sys/class/drm/card0/card0-DP-6 when DELLU2412M has failed to wake up, they both have enabled:enabled and status:connected i am not sure if this is an xserver issue or a kernel driver issue. On the one hand i have similar issues using Wayland instead of xserver. On the other hand, this workaround for a similar issue on nvida works: "xset dpms force off" which I found here: https://askubuntu.com/questions/854754/monitor-stays-in-sleep-when-daisy-chained-via-displayport If this works, it seems to be something under control of the xserver? Issuing "xset dpms force off" works, produces no logging in /var/log ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: xserver-xorg-video-intel 2:2.99.917+git20170309-0ubuntu1 ProcVersionSignature: Ubuntu 4.13.0-37.42-generic 4.13.13 Uname: Linux 4.13.0-37-generic x86_64 .tmp.unity_support_test.0: ApportVersion: 2.20.7-0ubuntu3.7 Architecture: amd64 CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins' CompositorRunning: None CurrentDesktop: ubuntu:GNOME Date: Wed Mar 28 15:28:24 2018 DistUpgraded: 2017-10-25 03:10:03,447 DEBUG Running PostInstallScript: './xorg_fix_proprietary.py' DistroCodename: artful DistroVariant: ubuntu ExtraDebuggingInterest: Yes GraphicsCard: Intel Corporation HD Graphics 630 [8086:5912] (rev 04) (prog-if 00 [VGA controller]) Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer HD Graphics 630 [1297:4038] InstallationDate: Installed on 2017-02-26 (395 days ago) InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2) MachineType: Shuttle Inc. DH170 ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-37-generic.efi.signed root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7 SourcePackage: xserver-xorg-video-intel UpgradeStatus: Upgraded to artful on 2017-10-25 (154 days ago) dmi.bios.date: 01/24/2017 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 2.06 dmi.board.asset.tag: Default string dmi.board.name: FH170 dmi.board.vendor: Shuttle Inc. dmi.board.version: 1.0 dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2.06:bd01/24/2017:svnShuttleInc.:pnDH170:pvr1.0:rvnShuttleInc.:rnFH170:rvr1.0:cvnDefaultstring:ct3:cvrDefaultstring: dmi.product.family: D dmi.product.name: DH170 dmi.product.version: 1.0 dmi.sys.vendor: Shuttle Inc. version.compiz: compiz 1:0.9.13.1+17.10.20170901-0ubuntu1 version.libdrm2: libdrm2 2.4.83-1 version.libgl1-mesa-dri: libgl1-mesa-dri 17.2.8-0ubuntu0~17.10.1 version.libgl1-mesa-glx: libgl1-mesa-glx 17.2.8-0ubuntu0~17.10.1 version.xserver-xorg-core: xserver-xorg-core 2:1.19.5-0ubuntu2 version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.10.5-1ubuntu1 version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.10.0-1 version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20170309-0ubuntu1 version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2 ** Affects: xserver-xorg-video-intel (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug artful ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1759584 Title: displayport MST on intel graphics: slave monitor does not wake up from suspend To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1759584/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs