Bug#918716: python3: weakref spewing exceptions during interp finalization
On Tue, 08 Jan 2019 17:36:47 +0100 Lee Garrett wrote: > The actual traceback is repeated about 20 times. The upstream ansible bug is > https://github.com/ansible/ansible/issues/21982, which points to this two line > patch in python to fix the issue: > https://github.com/python/cpython/commit/6c961c5a5396ef125dbbc47c0602 72a5d12c1646 > > This bug is fixed in python 3.5.4, but still present in 3.5.3 which is shipped > stretch. It would be great to cherry-pick this patch, otherwise > future backports of ansible will become very noisy for stretch users. The bug on the Python bug tracker : https://bugs.python.org/issue29519 This issue also affects python applications not packaged in Debian. Thanks in advance! -- Étienne Loks
Bug#841181: debootstrap: Debootstrap fails to create new Ubuntu environment (Xenial, Yakety)
Le 18/10/2016 à 23:04, Ansgar Burchardt a écrit : Etienne Loks writes: * What led up to the situation? Installing an Ubuntu container fails with: What is the command you run? As you mention lxc below, is it debootstrap or some lxc command? My bad, it is clearly an lxc issue - the error is in the lxc template. This bug could be close here. Aucune version du paquet lxcguest n'est disponible, mais il existe dans la base de données. Cela signifie en général que le paquet est manquant, qu'il est devenu obsolète ou qu'il n'est disponible que sur une autre source E: Le paquet « lxcguest » n'a pas de version susceptible d'être installée lxc_container: container creation template for osm failed lxc_container: Error creating container osm Please use `export LC_ALL=C.UTF-8` when reporting bugs so error messages are in English. And a wrong paste... Sorry, I shouldn't have open this bug in a hurry. -- Étienne Loks
Bug#657611: Possible fix for egg-info
Hi, Michael Prokop wrote: > This problem is still present, any news from the maintainer? > Would be great if there's a working py2dsc for wheezy. I totally agree. Diane Trout wrote: > I had the same problem and used your extend-diff-ignore suggestion > to try and fix this bug. > I passed the fix to the maintainer via the github pull request at: > https://github.com/astraw/stdeb/pull/57 To make this fix works I have to change "extended-diff-ignore" by "extend-diff-ignore": --- util.py.origin 2013-03-06 10:35:19.012007756 +0100 +++ util.py 2013-03-06 00:34:34.993918727 +0100 @@ -1129,6 +1129,10 @@ fd.write('3.0 (quilt)\n') fd.close() +fd = open( os.path.join(debian_dir,'source','options'), mode='w') +fd.write('extend-diff-ignore="\.egg-info"') +fd.close() + if debian_dir_only: return -- Étienne Loks -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#699579: ITP: python-django-chimere -- collaborative and thematic maps application for Django
Package: wnpp Severity: wishlist Owner: "Étienne Loks" * Package name: python-django-chimere Version : 2.0.0 Upstream Author : Étienne Loks * URL : http://pypi.python.org/pypi/chimere * License : GPL Programming Lang: Python Description : collaborative and thematic maps application for Django Chimère is a cartographic mashup using OpenStreetMap as a default map layer. This software aims to create online collaborative and thematic maps. Content (multimedia, text) are associated to basic geographic items (Point Of Interest, routes). Adds on the map are open to everybody with no authentification but are moderated by a team in charge of the map. . Import and export of data are available from/to various formats: ShapeFile, KML, GeoRSS (import only), CSV and OpenStreetMap. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#555803: mysql-server install does not contain root mysql user
Package: mysql-server Version: 5.1.49-3 Severity: normal I have the same issue. First permissions were first badly set for /tmp. But after fix of the permissions, purge and reinstall the package, the root mysql user is not created. lysithea:/# ls -l total 84 drwxr-xr-x 2 root root 4096 30 mars 23:44 bin drwxr-xr-x 3 root root 4096 27 juin 12:06 boot drwxr-xr-x 14 root root 2700 11 déc. 2010 dev drwxr-xr-x 82 root root 4096 25 août 10:26 etc drwxr-xr-x 6 root root 4096 22 août 12:39 home lrwxrwxrwx 1 root root30 11 déc. 2010 initrd.img -> boot/initrd.img-2.6.32-5-amd64 drwxr-xr-x 10 root root 12288 24 août 19:53 lib lrwxrwxrwx 1 root root 4 11 déc. 2010 lib64 -> /lib drwx-- 2 root root 16384 11 déc. 2010 lost+found drwxr-xr-x 3 root root 4096 9 févr. 2009 media drwxr-xr-x 2 root root 4096 4 déc. 2008 mnt drwxr-xr-x 2 root root 4096 9 févr. 2009 opt dr-xr-xr-x 116 root root 0 11 déc. 2010 proc drwx-- 7 root root 4096 25 août 10:27 root drwxr-xr-x 2 root root 4096 27 juin 12:05 sbin drwxr-xr-x 2 root root 4096 16 sept. 2008 selinux drwxr-xr-x 4 root root 4096 24 août 19:56 srv drwxr-xr-x 13 root root 0 11 déc. 2010 sys drwxrwxrwt 7 root root 4096 25 août 10:35 tmp drwxr-xr-x 10 root root 4096 9 févr. 2009 usr drwxr-xr-x 14 root root 4096 11 déc. 2010 var lrwxrwxrwx 1 root root27 11 déc. 2010 vmlinuz -> boot/vmlinuz-2.6.32-5-amd64 lysithea:/# /etc/init.d/mysql stop Stopping MySQL database server: mysqld. lysithea:/# /usr/bin/mysqld_safe --skip-grant-tables & [1] 31724 lysithea:/# 110825 10:49:51 mysqld_safe Logging to syslog. 110825 10:49:51 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql lysithea:/# mysql --user=root mysql Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1 Server version: 5.1.49-3 (Debian) Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL v2 license Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> select Host, User from user; +---+--+ | Host | User | +---+--+ | localhost | debian-sys-maint | +---+--+ 1 row in set (0.00 sec) -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mysql-server depends on: ii mysql-server-5.1 5.1.49-3 MySQL database server binaries and mysql-server recommends no packages. mysql-server suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#634880: Patch using debdiff
Here a patch generated using debdiff. I'm pretty new to Debian debug. Hope this is more usefull. -- Étienne Loks diff -u gajim-0.13.4/debian/changelog gajim-0.13.4/debian/changelog --- gajim-0.13.4/debian/changelog +++ gajim-0.13.4/debian/changelog @@ -1,3 +1,10 @@ +gajim (0.13.4-3.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix CPU high load when connecting first. Closes: #634880 + + -- Ãtienne Loks Wed, 20 Jul 2011 16:27:51 +0200 + gajim (0.13.4-3) unstable; urgency=low * Fix a problem when canceling password keyring creation. only in patch2: unchanged: --- gajim-0.13.4.orig/patches/fix-first_connection_cpu_load.patch +++ gajim-0.13.4/patches/fix-first_connection_cpu_load.patch @@ -0,0 +1,33 @@ +Index: gajim-0.13.4/src/common/xmpp/idlequeue.py +=== +--- gajim-0.13.4.orig/src/common/xmpp/idlequeue.py 2011-07-21 12:32:20.404426189 +0200 gajim-0.13.4/src/common/xmpp/idlequeue.py 2011-07-20 16:32:59.747657971 +0200 +@@ -362,20 +362,21 @@ + self.unplug_idle(fd) + return False + ++ if flags & IS_CLOSED: ++ # io error, don't expect more events ++ self.remove_timeout(obj.fd) ++ self.unplug_idle(obj.fd) ++ obj.pollend() ++ return False ++ + if flags & PENDING_READ: + #print 'waiting read on %d, flags are %d' % (fd, flags) + obj.pollin() + return True + +- elif flags & PENDING_WRITE: ++ if flags & PENDING_WRITE: + obj.pollout() + return True +- +- elif flags & IS_CLOSED: +- # io error, don't expect more events +- self.remove_timeout(obj.fd) +- self.unplug_idle(obj.fd) +- obj.pollend() + return False + + def process(self): only in patch2: unchanged: --- gajim-0.13.4.orig/patches/series +++ gajim-0.13.4/patches/series @@ -0,0 +1 @@ +fix-first_connection_cpu_load.patch only in patch2: unchanged: --- gajim-0.13.4.orig/src/common/xmpp/idlequeue.py +++ gajim-0.13.4/src/common/xmpp/idlequeue.py @@ -362,20 +362,21 @@ self.unplug_idle(fd) return False + if flags & IS_CLOSED: + # io error, don't expect more events + self.remove_timeout(obj.fd) + self.unplug_idle(obj.fd) + obj.pollend() + return False + if flags & PENDING_READ: #print 'waiting read on %d, flags are %d' % (fd, flags) obj.pollin() return True - elif flags & PENDING_WRITE: + if flags & PENDING_WRITE: obj.pollout() return True - - elif flags & IS_CLOSED: - # io error, don't expect more events - self.remove_timeout(obj.fd) - self.unplug_idle(obj.fd) - obj.pollend() return False def process(self): only in patch2: unchanged: --- gajim-0.13.4.orig/.pc/.quilt_series +++ gajim-0.13.4/.pc/.quilt_series @@ -0,0 +1 @@ +series only in patch2: unchanged: --- gajim-0.13.4.orig/.pc/.version +++ gajim-0.13.4/.pc/.version @@ -0,0 +1 @@ +2 only in patch2: unchanged: --- gajim-0.13.4.orig/.pc/.quilt_patches +++ gajim-0.13.4/.pc/.quilt_patches @@ -0,0 +1 @@ +patches only in patch2: unchanged: --- gajim-0.13.4.orig/.pc/applied-patches +++ gajim-0.13.4/.pc/applied-patches @@ -0,0 +1 @@ +fix-first_connection_cpu_load.patch only in patch2: unchanged: --- gajim-0.13.4.orig/.pc/fix-first_connection_cpu_load.patch/src/common/xmpp/idlequeue.py +++ gajim-0.13.4/.pc/fix-first_connection_cpu_load.patch/src/common/xmpp/idlequeue.py @@ -0,0 +1,516 @@ +## idlequeue.py +## +## Copyright (C) 2006 Dimitur Kirov +## +## This program is free software; you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation; either version 2, or (at your option) +## any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. + +''' +Idlequeues are Gajim's network heartbeat. Transports can be plugged as +idle objects and be informed about possible IO. +''' +import os +import select +
Bug#634880: Patch
Patch for squeeze. It's only a backport of : http://trac.gajim.org/changeset/ba5c2eb1f1e7 -- Étienne Loks --- src/common/xmpp/idlequeue.py.origin 2011-07-20 16:31:21.891622194 +0200 +++ src/common/xmpp/idlequeue.py 2011-07-20 16:32:59.747657971 +0200 @@ -362,20 +362,21 @@ self.unplug_idle(fd) return False + if flags & IS_CLOSED: + # io error, don't expect more events + self.remove_timeout(obj.fd) + self.unplug_idle(obj.fd) + obj.pollend() + return False + if flags & PENDING_READ: #print 'waiting read on %d, flags are %d' % (fd, flags) obj.pollin() return True - elif flags & PENDING_WRITE: + if flags & PENDING_WRITE: obj.pollout() return True - - elif flags & IS_CLOSED: - # io error, don't expect more events - self.remove_timeout(obj.fd) - self.unplug_idle(obj.fd) - obj.pollend() return False def process(self): signature.asc Description: OpenPGP digital signature
Bug#634880: gajim: CPU high load on first connection
Package: gajim Version: 0.13.4-3 Severity: normal Tags: patch When trying first to connect to some servers, Gajim takes 100% of a CPU. Deconnecting and reconnecting fixes the problem. -- System Information: Debian Release: 6.0.2 APT prefers stable APT policy: (979, 'stable'), (100, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages gajim depends on: ii dnsutils 1:9.7.3.dfsg-1~squeeze2 Clients provided with BIND ii libatk1.0-0 1.30.0-1The ATK accessibility toolkit ii libc62.11.2-10 Embedded GNU C Library: Shared lib ii libcairo21.8.10-6The Cairo 2D vector graphics libra ii libfontconfig1 2.8.0-2.1 generic font configuration library ii libfreetype6 2.4.2-2.1 FreeType 2 font engine, shared lib ii libglib2.0-0 2.28.6-1The GLib library of C routines ii libgtk2.0-0 2.24.4-3The GTK+ graphical user interface ii libpango1.0-01.28.3-1+squeeze2 Layout and rendering of internatio ii python 2.6.6-3+squeeze6interactive high-level object-orie ii python-glade22.17.0-4GTK+ bindings: Glade support ii python-gtk2 2.17.0-4Python bindings for the GTK+ widge ii python-support 1.0.10 automated rebuilding support for P Versions of packages gajim recommends: ii dbus 1.2.24-4+squeeze1 simple interprocess messaging syst ii notification-daemon0.5.0-2 daemon to displays passive pop-up ii python-crypto 2.1.0-2 cryptographic algorithms and proto ii python-dbus0.83.1-1 simple interprocess messaging syst ii python-gnupginterface 0.3.2-9.1 Python interface to GnuPG (GPG) ii python-openssl 0.10-1Python wrapper around the OpenSSL Versions of packages gajim suggests: pn aspell-en (no description available) ii avahi-daemon 0.6.27-2+squeeze1 Avahi mDNS/DNS-SD daemon pn dvipng (no description available) ii gnome-keyring 2.30.3-5 GNOME keyring services (daemon and ii libgtkspell0 2.0.16-1 a spell-checking addon for GTK's T pn nautilus-sendto(no description available) ii network-manager0.8.1-6+squeeze1 network management framework daemo pn python-avahi (no description available) ii python-gconf 2.28.1-1 Python bindings for the GConf conf ii python-gnome2 2.28.1-1 Python bindings for the GNOME desk pn python-gnomekeyring(no description available) pn python-kerberos(no description available) pn python-sexy(no description available) ii texlive-latex-base 2009-11 TeX Live: Basic LaTeX packages -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#579723: hamster-applet: Crashes at start-up
As the colordepth is not used in these Pixmap objects. The author is going to simply set it to 1. For the current version. -- Étienne Loks --- facttree.py.origin 2010-07-20 17:23:41.161856511 +0200 +++ facttree.py 2010-07-20 17:22:39.490354401 +0200 @@ -89,7 +101,7 @@ self.box = None -pixmap = gtk.gdk.Pixmap(None, 10, 10, 24) +pixmap = gtk.gdk.Pixmap(None, 10, 10, 1) _test_context = pixmap.cairo_create() self._test_layout = _test_context.create_layout() font = pango.FontDescription(gtk.Style().font_desc.to_string()) @@ -454,7 +466,7 @@ return None fact = self.data -pixmap = gtk.gdk.Pixmap(None, 10, 10, 24) +pixmap = gtk.gdk.Pixmap(None, 10, 10, 1) context = pixmap.cairo_create() layout = context.create_layout() -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#579723: hamster-applet: Crashes at start-up
The previous patch is OK for the git version. In the current debian version, the Pixmap constructor is appealed twice with the bad colordepth. New patch for the debian version. -- Étienne Loks --- facttree.py.origin 2010-07-20 17:23:41.161856511 +0200 +++ facttree.py 2010-07-20 17:22:39.490354401 +0200 @@ -45,6 +45,18 @@ else: cell.set_property("stock_id", "gtk-edit") +def get_colordepth(): +depth = 24 +screen = gtk.gdk.screen_get_default() +if not screen: +return depth +visual = screen.get_system_visual() +if not visual: +return depth +return visual.depth + +COLOR_DEPTH = get_colordepth() + class FactTree(gtk.TreeView): __gsignals__ = { "edit-clicked": (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_PYOBJECT, )), @@ -89,7 +101,7 @@ self.box = None -pixmap = gtk.gdk.Pixmap(None, 10, 10, 24) +pixmap = gtk.gdk.Pixmap(None, 10, 10, COLOR_DEPTH) _test_context = pixmap.cairo_create() self._test_layout = _test_context.create_layout() font = pango.FontDescription(gtk.Style().font_desc.to_string()) @@ -454,7 +466,7 @@ return None fact = self.data -pixmap = gtk.gdk.Pixmap(None, 10, 10, 24) +pixmap = gtk.gdk.Pixmap(None, 10, 10, COLOR_DEPTH) context = pixmap.cairo_create() layout = context.create_layout()
Bug#579723: hamster-applet: Crashes at start-up
The error is for screen with colordepth different of 24 bits. A patch is attached to correct this. The patch has been also submited upstream. -- Étienne Loks --- facttree.py.origin 2010-07-20 11:31:32.633604826 +0200 +++ facttree.py 2010-07-20 11:30:32.989652290 +0200 @@ -45,6 +45,16 @@ else: cell.set_property("stock_id", "gtk-edit") +def get_colordepth(): +depth = 24 +screen = gtk.gdk.screen_get_default() +if not screen: +return depth +visual = screen.get_system_visual() +if not visual: +return depth +return visual.depth + class FactTree(gtk.TreeView): __gsignals__ = { "edit-clicked": (gobject.SIGNAL_RUN_LAST, gobject.TYPE_NONE, (gobject.TYPE_PYOBJECT, )), @@ -89,7 +99,7 @@ self.box = None -pixmap = gtk.gdk.Pixmap(None, 10, 10, 24) +pixmap = gtk.gdk.Pixmap(None, 10, 10, get_colordepth()) _test_context = pixmap.cairo_create() self._test_layout = _test_context.create_layout() font = pango.FontDescription(gtk.Style().font_desc.to_string())