FS#54325 - [python2-pandas] fails to get imported in ipython2 after matplotlib.pyplot

Attached to Project: Arch Linux
Opened by smradlev (smradlev) - Tuesday, 06 June 2017, 17:26 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 06 June 2017, 17:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I opened this earlier but the bug was removed without a note. I think it was assumed it is the same bug as  FS#54266 , which is itself a duplicate of  FS#54277 . However, this bug is different from  FS#54277  as it persists even after removing python2-pyqt4, and is only in python2, not in python3.

I get the errors after importing matplotlib.pyplot and then pandas. In python2, I get a warning. If I do it in ipython2, the console freezes (see below). In a longer script, this pair of imports gives me a segfault, but I think if this simpler example is fixed, then my script will work.

$ ipython2
Python 2.7.13 (default, Feb 11 2017, 12:22:40)
Type "copyright", "credits" or "license" for more information.

IPython 5.3.0 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.

In [1]: import matplotlib.pyplot
...:

In [2]: import pandas
/usr/lib/python2.7/site-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/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_set_qdata: assertion 'node != NULL' failed
from gtk import _gtk
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: cannot register existing type 'GtkWidget'
from gtk import _gtk
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
from gtk import _gtk
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: cannot register existing type 'GtkBuildable'
from gtk import _gtk
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_interface_add_prerequisite: assertion 'G_TYPE_IS_INTERFACE (interface_type)' failed
from gtk import _gtk
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_once_init_leave: assertion 'result != 0' failed
from gtk import _gtk
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40: Warning: g_type_register_static: assertion 'parent_type > 0' failed
from gtk import _gtk



Additional info:
* package version(s)
python2-pandas 0.20.1-1

* config and/or log files etc.


Steps to reproduce:
See above.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Tuesday, 06 June 2017, 17:36 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#54267  was NOT closed

Loading...