** Information type changed from Public Security to Public
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation fault when asking help() for the list of modules
To manage notifi
Hi @stephane-guillou,
I also do have ubuntu 18.04 and I can't see this issue there.
helio@xps13ubuntu:~$ python3
Python 3.6.7 (default, Oct 22 2018, 11:32:17)
[GCC 8.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> help('modules')
Please wait a moment whi
Still present in Ubuntu 18.04, using the python3.6 prompt in the shell:
```
>>> help('modules')
Please wait a moment while I gather a list of all available modules...
[ecc] warning: libsecp256k1 library not available, falling back to python-ecdsa
WARNING:root:can not import unity GI Namespace Db
I just applied that change from #24 to
usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py
Line 40:
- import gtk
+from gi.repository import Gtk
and it fixes (at least) the taskcoach issue. I've seen no side effects
to other programs so far, but I did not much testing. But I hope, it'll
help s
Same here as in Post #25 (Xubuntu 18.04 but no beta).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation fault when asking help() for the list of modules
To manage notificatio
I started taskcoach in Ubuntu 18.04 beta and I got these errors:
usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning:
g_boxed_type_register_static: assertion 'g_type_from_name (name) == 0' failed
from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: W
I had to change
import gtk
to
from gi.repository import Gtk
sorry for previous comment
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation fault when asking help() for the lis
I had to change
import gtk
to
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation fault when asking help() for the list of modules
To manage notifications about this bug go to
I came across the same error when running "quickly run", after I added
import pygtk
pygtk.require('2.0')
import gtk
to my FirstWindow.py (main window)
the output:
$ quickly run
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning:
g_boxed_type_register_static: assertion 'g_type_fro
Ubuntu 12.10
am facing following traceback while using command for displaying list
of modules of python.
~$ python
Python 2.7.3 (default, Sep 26 2013, 20:08:41)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> help('modules')
Please wait a momen
I can confirm that first importing gtk in "/usr/bin/pydoc" works around
`pydoc -k .` crashing.
** Also affects: pygtk (Ubuntu)
Importance: Undecided
Status: New
** Changed in: pygtk (Ubuntu)
Status: New => Triaged
** Changed in: pygtk (Ubuntu)
Importance: Undecided => Medium
** Changed in: python2.7 (Ubuntu)
Status: Confirmed => Triaged
** Changed in: python2.7 (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
** Information type changed from Public to Public Security
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation fault when asking help() for the list of modules
To manage notifi
In case nobody has noticed it, in ubuntu 12.04.3 LTS, when I first
import gtk and then list the modules using help, the segmentation fault
does not occur. I suspect it has to do with the static/dynamic nature
of the module being visible. See the terminal capture below as evidence:
$ python
Python
Ubuntu 12.04.3 LTS
python
Python 2.7.3 (default, Sep 26 2013, 20:08:41)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> help()
Welcome to Python 2.7! This is the online help utility.
If this is your first time using Python, you should definitely
Ubuntu 12.04.2 LTS
python
Python 2.7.3 (default, Apr 10 2013, 06:20:15)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> help('modules')
Please wait a moment while I gather a list of all available modules...
/usr/lib/python2.7/dist-packages/gobjec
I am also affected by this same problem. My Ubuntu One has stopped
working when I upgraded from 11.10 to 12.04. Let me know if there are
any work arounds.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.2 LTS"
$
--
You
** Also affects: python
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/896836
Title:
Segmentation fault when asking help() for the list of modules
To mana
12.04.01 the same problem
>>> help('modules')
Please wait a moment while I gather a list of all available modules...
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning:
g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
import gobject._gobject
/usr/li
On precise we hit this with gtk and osk (part of Onboard.)
Manually importing gtk causes the segfault to go away, but nothing
happens.
The segfault can also be reproduced by:
$ python
Python 2.7.3 (default, Aug 1 2012, 05:14:39)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "lice
@12, that's not a valid fix, it breaks other things (in my case, causes
systemd.py to crash with a SyntaxError)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation fault when as
As someone in a prior bug-report discovered that uncommenting line 27 in
dist-packages/gobject/constants.py cures the crash.
Actually that line makes no sense as a python statement, but just listing the
variable name TYPE_INVALID, without assigning any value in constants.py (which
the comment th
I can confirm this bug on 12.10
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation fault when asking help() for the list of modules
To manage notifications about this bug go t
The simplest combination of modules I can find that causes the segfault
(presumably due to the mixture of static and dynamic bindings for the
gtk module described above) is:
python -c 'import Onboard; import gtk '
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:42: Warning:
g_boxed_type
** Project changed: python => obsolete-junk
** No longer affects: obsolete-junk
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation fault when asking help() for the list of mod
** Tags added: oneiric precise
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation fault when asking help() for the list of modules
To manage notifications about this bug go to
It seems like ack's comment points the finger at the help() function
within ipython. Has anyone tried to modify it so it doesn't
simultaneously load modules with static and dynamic links to _gtk? Or
is the problem in _gtk that it can't handle the simultaneous static and
dynamic linking? Anyone wor
The following blog post clearly describes the problem
http://blog.rabbitvcs.org/archives/312
To verify that you can simply logout, alt+f1 to drop to text console,
login and repeat the pydoc command.
This time it will work with the following warning message.
(python2.7:13084): Gdk-WARNING **: c
I have encountered this same bug in precise as well. Same error message
ending with segmentation fault.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation fault when asking he
This is regarding bug #896836: "Using Python 2.7.2 on Oneiric (package
version is 2.7.2-7ubuntu2), I'm getting a consistent segmentation fault
when I open the interactive help in a Python shell (i.e. typing "help()"
in the shell) and then ask for the list of modules (by typing
"modules")."
A som
There's an apport report and stack trace in LP #921383
To repeat my comment from there: according to the trace, the crash seems
to be happening under this debug print:
#0 __find_specmb (format=0x7f39f1f40732 "%s: assertion `%s' failed") at
printf-parse.h:99
which is triggering unbounded recursio
I get exactly the same segmentation fault described above on Ubuntu
11.10 using python 2.7. Does anyone have a solution?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/896836
Title:
Segmentation faul
After installing matplotlib from the default oneiric repos, I was also
getting the exact error in Bug Description above while executing help()
modules. Also I was unable to 'import gtk'. Installing gtk2-engines-
pixbuf changed the above error to this:
python2.7.2
import gtk
help()
modules
>
/us
>From Googling around, this looks to me quite similar to the problem
described here: http://blog.rabbitvcs.org/archives/312
The author points to the cause of a mixture of modules with both static
and dynamic gtk bindings being active at the same time.
Because `help()` (and pydoc for that matter)
I get the same error on Ubuntu 11.10. Listing "topics" or "keywords"
works without problems though.
** Changed in: python2.7 (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchp
35 matches
Mail list logo