Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orange crashing on startup #2614

Closed
borondics opened this issue Sep 22, 2017 · 5 comments
Closed

Orange crashing on startup #2614

borondics opened this issue Sep 22, 2017 · 5 comments

Comments

@borondics
Copy link
Member

borondics commented Sep 22, 2017

Orange crashes on startup if I simply start it from the command line.
If I use a style it works fine.
orange-canvas --style=cde is OK.

Orange version

3.6.0.dev0+425ff7a

Expected behavior

Start Orange Canvas

Actual behavior

RecursionError: maximum recursion depth exceeded

Steps to reproduce the behavior

Simply Start Orange

Additional info (worksheets, data, screenshots, ...)

This is the full terminal output:

> orange-canvas

libpng warning: iCCP: known incorrect sRGB profile
.../orange3-prototypes/orangecontrib/prototypes/widgets/owfreeviz.py:10: RuntimeWarning: Loaded module AnyQt._backport as a substitute for PyQt4
  from PyQt4 import QtGui, QtCore
.../orange3-prototypes/orangecontrib/prototypes/widgets/owfreeviz.py:11: RuntimeWarning: Loaded module AnyQt._backport.QtCore as a substitute for PyQt4.QtCore
  from PyQt4.QtCore import Qt, QObject, QEvent, QLineF, QRectF, QCoreApplication
couldn't create image from  "EC2EE3FB7160215B.jpg"
couldn't create image from  "EC2EE3FB7160215B.jpg"
Could not resolve property : gridpattern
Could not resolve property : gridpattern
.../miniconda3/lib/python3.6/site-packages/statsmodels/compat/pandas.py:56: FutureWarning: The pandas.core.datetools module is deprecated and will be removed in a future version. Please use the pandas.tseries module instead.
  from pandas.core import datetools
-------------------------- RecursionError Exception ---------------------------
RecursionError: maximum recursion depth exceeded
-------------------------------------------------------------------------------
QLayout: Attempting to add QLayout "" to ErrorReporting "", which already has a layout
QLayout: Attempting to add QLayout "" to ErrorReporting "", which already has a layout
Fatal Python error: Cannot recover from stack overflow.

Thread 0x000070000914a000 (most recent call first):
  File ".../miniconda3/lib/python3.6/socket.py", line 743 in getaddrinfo
  File ".../miniconda3/lib/python3.6/socket.py", line 704 in create_connection
  File ".../miniconda3/lib/python3.6/http/client.py", line 936 in connect
  File ".../miniconda3/lib/python3.6/http/client.py", line 1392 in connect
  File ".../miniconda3/lib/python3.6/http/client.py", line 964 in send
  File ".../miniconda3/lib/python3.6/http/client.py", line 1026 in _send_output
  File ".../miniconda3/lib/python3.6/http/client.py", line 1234 in endheaders
  File ".../miniconda3/lib/python3.6/http/client.py", line 1285 in _send_request
  File ".../miniconda3/lib/python3.6/http/client.py", line 1239 in request
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 1318 in do_open
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 1361 in https_open
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 504 in _call_chain
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 544 in _open
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 526 in open
  File ".../orange3/Orange/canvas/application/errorreporting.py", line 145 in _post_report
  File ".../miniconda3/lib/python3.6/threading.py", line 864 in run
  File ".../miniconda3/lib/python3.6/threading.py", line 916 in _bootstrap_inner
  File ".../miniconda3/lib/python3.6/threading.py", line 884 in _bootstrap

Thread 0x0000700008bc4000 (most recent call first):
  File ".../miniconda3/lib/python3.6/socket.py", line 713 in create_connection
  File ".../miniconda3/lib/python3.6/http/client.py", line 936 in connect
  File ".../miniconda3/lib/python3.6/http/client.py", line 1392 in connect
  File ".../miniconda3/lib/python3.6/http/client.py", line 964 in send
  File ".../miniconda3/lib/python3.6/http/client.py", line 1026 in _send_output
  File ".../miniconda3/lib/python3.6/http/client.py", line 1234 in endheaders
  File ".../miniconda3/lib/python3.6/http/client.py", line 1285 in _send_request
  File ".../miniconda3/lib/python3.6/http/client.py", line 1239 in request
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 1318 in do_open
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 1361 in https_open
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 504 in _call_chain
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 544 in _open
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 526 in open
  File ".../miniconda3/lib/python3.6/urllib/request.py", line 223 in urlopen
  File ".../orange3/Orange/canvas/__main__.py", line 146 in run

Current thread 0x00007fffbb8a53c0 (most recent call first):
  File ".../orange3/Orange/canvas/gui/toolbox.py", line 472 in <listcomp>
  File ".../orange3/Orange/canvas/gui/toolbox.py", line 472 in sizeHint
  File ".../orange3/Orange/canvas/gui/stackedwidget.py", line 89 in setGeometry
  File ".../orange3/Orange/canvas/gui/stackedwidget.py", line 98 in setGeometry .
.
.
.
.
.
.
  File ".../orange3/Orange/canvas/gui/stackedwidget.py", line 98 in setGeometry
  ...
Abort trap: 6


@ales-erjavec
Copy link
Contributor

Can you please post the output of conda list --export --explicit

@ales-erjavec
Copy link
Contributor

Also can you please run the following python script

from PyQt5.QtWidgets import QApplication
app = QApplication([])
print(app.style().metaObject().className())

and post its output.

@borondics
Copy link
Member Author

conda list --export --explicit
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: osx-64
@EXPLICIT
https://repo.continuum.io/pkgs/free/osx-64/appnope-0.1.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/asn1crypto-0.22.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/beautifulsoup4-4.6.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/biopython-1.69-np112py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/blas-1.1-openblas.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/bleach-1.5.0-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/branca-0.2.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/bzip2-1.0.6-3.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/cairo-1.14.6-4.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/certifi-2016.2.28-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/cffi-1.10.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/conda-4.3.25-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/conda-env-2.6.0-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/cryptography-1.8.1-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/cycler-0.10.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/cython-0.26-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/dbus-1.10.10-3.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/decorator-4.1.2-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/entrypoints-0.2.3-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/expat-2.1.0-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/fastcache-1.0.2-py36_1.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/ffmpeg-3.2.4-0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/folium-0.3.0-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/fontconfig-2.12.1-4.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/freetype-2.7-1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/gettext-0.19.8-1.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/giflib-5.1.4-0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/glib-2.51.4-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/h5py-2.7.0-np112py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/harfbuzz-1.3.4-2.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/hdf5-1.8.17-2.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/html5lib-0.999-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/icu-58.1-1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/idna-2.6-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/ipykernel-4.6.1-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/ipyleaflet-0.3.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/ipyparallel-6.0.2-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/ipython-6.1.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/ipython_genutils-0.2.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/ipywidgets-6.0.0-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/jasper-1.900.1-4.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/jbig-2.1-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/jedi-0.10.2-py36_2.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/jinja2-2.9.6-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/jpeg-9b-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/jsonschema-2.6.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/jupyter-1.0.0-py36_3.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/jupyter_client-5.1.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/jupyter_console-5.2.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/jupyter_core-4.3.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/libffi-3.2.1-1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/libgfortran-3.0.0-1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/libiconv-1.14-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/libpng-1.6.30-1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/libprotobuf-3.2.0-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/libtiff-4.0.6-3.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/libwebp-0.5.2-7.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/libxml2-2.9.4-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/libxslt-1.1.29-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/lxml-3.8.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/markupsafe-1.0-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/matplotlib-2.0.2-np112py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/mistune-0.7.4-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/mkl-2017.0.3-0.tar.bz2
https://conda.anaconda.org/matsci/osx-64/monty-1.0.0-py36h6ba6bd5_2.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/mpmath-0.19-py36_1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/nbconvert-5.2.1-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/nbformat-4.4.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/notebook-5.0.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/numpy-1.12.1-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/olefile-0.44-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/openblas-0.2.19-1.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/opencv-3.2.0-np112py36_blas_openblas_201.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/openssl-1.0.2l-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/packaging-16.8-py36_0.tar.bz2
https://conda.anaconda.org/matsci/osx-64/palettable-2.1.1-py36hfba4552_2.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pandas-0.20.3-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pandocfilters-1.4.2-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/path.py-10.3.1-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pcre-8.39-1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pexpect-4.2.1-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pickleshare-0.7.4-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pip-9.0.1-py36_1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pixman-0.34.0-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/prompt_toolkit-1.0.15-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/protobuf-3.2.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/ptyprocess-0.5.2-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pyasn1-0.2.3-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pycosat-0.6.2-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pycparser-2.18-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pydispatcher-2.0.5-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pygments-2.2.0-py36_0.tar.bz2
https://conda.anaconda.org/matsci/osx-64/pymatgen-2017.8.4-py36hb2296a5_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pyopenssl-17.0.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pyparsing-2.2.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pyqt-5.6.0-py36_2.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/python-3.6.2-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/python-dateutil-2.6.1-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pytz-2017.2-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/pyzmq-16.0.2-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/qt-5.6.2-1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/qtconsole-4.3.1-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/readline-6.2-2.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/requests-2.14.2-py36_0.tar.bz2
https://conda.anaconda.org/matsci/osx-64/ruamel.yaml-0.15.25-py36ha80ef3f_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/ruamel_yaml-0.11.14-py36_1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/scikit-learn-0.19.0-np112py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/scipy-0.19.1-np112py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/selenium-3.4.1-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/setuptools-36.4.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/simplegeneric-0.8.1-py36_1.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/sip-4.18-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/six-1.10.0-py36_0.tar.bz2
https://conda.anaconda.org/matsci/osx-64/spglib-1.9.9.44-py36h18007b7_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/sqlite-3.13.0-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/sympy-1.1.1-py36_0.tar.bz2
https://conda.anaconda.org/matsci/osx-64/tabulate-0.7.7-py36hfc80e64_2.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/tensorflow-1.1.0-np112py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/terminado-0.6-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/testpath-0.3.1-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/tk-8.5.18-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/tornado-4.5.2-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/traitlets-4.3.2-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/vincent-0.4.4-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/wcwidth-0.1.7-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/werkzeug-0.12.2-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/wheel-0.29.0-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/widgetsnbextension-3.0.2-py36_0.tar.bz2
https://conda.anaconda.org/conda-forge/osx-64/x264-20131217-3.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/xz-5.2.3-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/yaml-0.1.6-0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/yt-3.3.5-py36_0.tar.bz2
https://repo.continuum.io/pkgs/free/osx-64/zlib-1.2.11-0.tar.bz2

and

Python 3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 13:14:59) 
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> 
>>> from PyQt5.QtWidgets import QApplication
>>> app = QApplication([])
>>> print(app.style().metaObject().className())
QMacStyle

@ales-erjavec
Copy link
Contributor

I cannot duplicate the error. However at one point I already made this change in a 'related' project. I do not remember why though (if I saw the recursion or on a hunch?), but it is worth a try.

Can you please checkout the proposed changeset in #2636 by running

git fetch https://github.com/biolab/orange3 pull/2636/head:pull-2636
git checkout pull-2636

in your local checkout

@borondics
Copy link
Member Author

borondics commented Sep 28, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants