You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixespandas-dev#14372
A Qt application cannot instantiate multiple `QApplication` instances,
so we create a new `QApplication` only when the global
`QApplication.instance()` is None.
Failing sample:
```
from PyQt4.QtGui import QApplication
myapp = QApplication([])
from pandas.util.clipboard import clipboard_get # <--- ERROR
File "prefix/lib/python2.7/site-packages/pandas/util/clipboard.py", line 164, in <module>
app = qt4.QtGui.QApplication([])
RuntimeError: A QApplication instance already exists.
```
closespandas-dev#14372
A Qt application cannot instantiate multiple
`QApplication` instances, so we create a new `QApplication` only when
the global `QApplication.instance()` is None.
Author: Pankaj Pandey <[email protected]>
Closespandas-dev#14815 from pankajp/patch-2 and squashes the following commits:
40d70f9 [Pankaj Pandey] BUG: Fix linux clipboard QApplication() creation
mattip
pushed a commit
to mattip/pandas
that referenced
this issue
Apr 3, 2017
closespandas-dev#14372
A Qt application cannot instantiate multiple
`QApplication` instances, so we create a new `QApplication` only when
the global `QApplication.instance()` is None.
Author: Pankaj Pandey <[email protected]>
Closespandas-dev#14815 from pankajp/patch-2 and squashes the following commits:
40d70f9 [Pankaj Pandey] BUG: Fix linux clipboard QApplication() creation
reading data from clipboard fails on Linux because pandas doesn't check if there's already a
QApplication
running - https://github.com/pydata/pandas/blob/master/pandas/util/clipboard.py#L247Output of
pd.show_versions()
commit: None
python: 2.7.11.final.0
python-bits: 64
OS: Linux
OS-release: 4.4.0-31-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_IN
pandas: 0.18.0
nose: 1.3.7
pip: 8.1.2
setuptools: 23.1.0
Cython: 0.24
numpy: 1.10.4
scipy: 0.17.1
statsmodels: 0.6.1
xarray: None
IPython: 4.1.2
sphinx: 1.4.1
patsy: 0.4.1
dateutil: 2.5.2
pytz: 2016.3
blosc: None
bottleneck: None
tables: 3.2.2
numexpr: 2.6.0
matplotlib: 1.5.1
openpyxl: 2.3.4
xlrd: None
xlwt: None
xlsxwriter: None
lxml: 3.6.0
bs4: 4.4.1
html5lib: 0.999
httplib2: None
apiclient: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.8
boto: None
The text was updated successfully, but these errors were encountered: