Your message dated Mon, 23 Aug 2021 10:24:03 +0200
with message-id <bed4200debe245c973b4343894aee3b00ed613a6.ca...@debian.org>
and subject line Re: gir1.2-upowerglib-1.0: Segfault when using the 
gobject-introspection library from Python
has caused the Debian Bug report #696654,
regarding gir1.2-upowerglib-1.0: Segfault when using the gobject-introspection 
library from Python
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 ow...@bugs.debian.org
immediately.)


-- 
696654: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696654
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gir1.2-upowerglib-1.0
Version: 0.9.17-1
Severity: normal

Dear Maintainer,

when launching the following script from Python, which tries to list the
devices on the system, I got a segmentation fault (using either Python 2
or Python 3):

    $ python test-upower-get-devices.py
    zsh: segmentation fault  python test-upower-get-devices.py

I'm tring to get a core dumped, but so far, it doesn't dump anything...
:/

Thanks,

 Jon


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gir1.2-upowerglib-1.0 depends on:
ii  gir1.2-glib-2.0  1.34.2-1
ii  libupower-glib1  0.9.17-1

gir1.2-upowerglib-1.0 recommends no packages.

gir1.2-upowerglib-1.0 suggests no packages.

-- no debconf information
from gi.repository import Gio
from gi.repository import UPowerGlib

cancellable = Gio.Cancellable()
client = UPowerGlib.Client()

client.enumerate_devices_sync(cancellable)
print(client.get_devices())

--- End Message ---
--- Begin Message ---
On Tue, 25 Dec 2012 16:50:54 +0800 Jonathan Ballet <j...@multani.info> wrote:
> Package: gir1.2-upowerglib-1.0
> Version: 0.9.17-1
> Severity: normal
> 
> Dear Maintainer,
> 
> when launching the following script from Python, which tries to list the
> devices on the system, I got a segmentation fault (using either Python 2
> or Python 3):
> 
>     $ python test-upower-get-devices.py
>     zsh: segmentation fault  python test-upower-get-devices.py
> 


I'm getting

/home/michael/test-upower-get-devices.py:2: PyGIWarning: UPowerGlib was
imported without specifying a version first. Use
gi.require_version('UPowerGlib', '1.0') before import to ensure that the
right version gets loaded.
  from gi.repository import UPowerGlib
Traceback (most recent call last):
  File "/home/michael/test-upower-get-devices.py", line 7, in <module>
    client.enumerate_devices_sync(cancellable)
AttributeError: 'Client' object has no attribute 'enumerate_devices_sync'
Segmentation fault (core dumped)


Looks like a bug in the script to me.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to