Coder Social home page Coder Social logo

Can't launch QGIS Dev about homebrew-qgisdev HOT 8 CLOSED

qgis avatar qgis commented on August 20, 2024
Can't launch QGIS Dev

from homebrew-qgisdev.

Comments (8)

timlinux avatar timlinux commented on August 20, 2024

I am having similar issues:


Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff8bfcedd6 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff8c0ba787 pthread_kill + 90
2   libsystem_c.dylib             	0x00007fff8bf34420 abort + 129
3   org.qt-project.QtCore         	0x000000011c626bc9 0x11c611000 + 89033
4   org.qt-project.QtCore         	0x000000011c6285d9 QMessageLogger::fatal(char const*, ...) const + 233
5   org.qt-project.QtGui          	0x000000011d01d2fd 0x11cf84000 + 627453
6   org.qt-project.QtGui          	0x000000011d01d325 QPixmap::QPixmap() + 37
7   org.qt-project.QtGui          	0x000000011d02af1f QPixmapIconEngine::addFile(QString const&, QSize const&, QIcon::Mode, QIcon::State) + 1967
8   org.qt-project.QtGui          	0x000000011d02bcff QIcon::addFile(QString const&, QSize const&, QIcon::Mode, QIcon::State) + 623
9   org.qt-project.QtGui          	0x000000011d02bdb8 QIcon::QIcon(QString const&) + 40
10  QtGui.so                      	0x000000011cc8ef43 init_type_QIcon(_sipSimpleWrapper*, _object*, _object*, _object**, _object**, _object**) + 403
11  sip.so                        	0x000000011c323df2 sipSimpleWrapper_init + 180
12  org.python.python             	0x000000011beed44d type_call + 184
13  org.python.python             	0x000000011bea42cb _PyObject_FastCallDict + 163
14  org.python.python             	0x000000011bf44470 call_function + 217
15  org.python.python             	0x000000011bf4185d _PyEval_EvalFrameDefault + 24236
16  org.python.python             	0x000000011bf45713 _PyFunction_FastCall + 121
17  org.python.python             	0x000000011bf445a3 call_function + 524
18  org.python.python             	0x000000011bf4185d _PyEval_EvalFrameDefault + 24236
19  org.python.python             	0x000000011bf45713 _PyFunction_FastCall + 121
20  org.python.python             	0x000000011bf445a3 call_function + 524
21  org.python.python             	0x000000011bf4185d _PyEval_EvalFrameDefault + 24236
22  org.python.python             	0x000000011bf44da6 _PyEval_EvalCodeWithName + 1910
23  org.python.python             	0x000000011bf3b908 PyEval_EvalCode + 100
24  org.python.python             	0x000000011bf64417 run_mod + 58
25  org.python.python             	0x000000011bf6481c PyRun_StringFlags + 131
26  libqgispython.2.99.0.dylib    	0x000000011be8dd0f QgsPythonUtilsImpl::evalString(QString const&, QString&) + 111 (qgspythonutilsimpl.cpp:523)
27  libqgispython.2.99.0.dylib    	0x000000011be8e508 QgsPythonUtilsImpl::startPlugin(QString const&) + 104 (qstring.h:1078)
28  libqgis_app.2.99.0.dylib      	0x00000001089e56c3 QgsPluginRegistry::loadPythonPlugin(QString const&) + 147 (qgspluginregistry.cpp:304)
29  libqgis_app.2.99.0.dylib      	0x00000001089e992d QgsPluginRegistry::restoreSessionPlugins(QString const&) + 4765 (qstring.h:543)
30  libqgis_app.2.99.0.dylib      	0x0000000108765ecb QgisApp::QgisApp(QSplashScreen*, bool, bool, QWidget*, QFlags<Qt::WindowType>) + 13451 (qstring.h:1078)
31  org.qgis.qgis-dev             	0x0000000108487796 main + 21334 (qstring.h:791)
32  libdyld.dylib                 	0x00007fff8bea0255 start + 1

from homebrew-qgisdev.

timlinux avatar timlinux commented on August 20, 2024

So the issue seems to be that whenever python interpreter is called, we get a crash. I don't know if it is the same issue that @Gustry originally reported in this ticket but I can demonstrate this by:

Updating my project settings in QtCreator so that no plugins are loaded at startup:

screen shot 2017-02-23 at 1 07 54 pm

Demo of run -> crash

qgis

from homebrew-qgisdev.

timlinux avatar timlinux commented on August 20, 2024

qgspythonutilsimpl.cpp 300-302 which seems to be where it crashes

If I comment out that line python doesn't work, but QGIS is stable again. I should also note that before upgrading from Python 3.5 to 3.6 I never had this issue. @m-kuhn do you maybe have similar issues?

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on August 20, 2024

Hi,

Currently there is a huge mess with Qt 5.8.0 and 5.7.x (due to poorly planned changes upstream at Homebrew). I have been working hard to fix this (including having arguments with upstream maintainers); but, as of right now, you end up with a mix of Qt libs and headers, leading to obvious build and runtime problems. I'll keep you posted. If it doesn't get addressed soon, I'll have to make several more temporary duplicate formulae.

See also: #22

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on August 20, 2024

qgis3-dev has been updated to fully support Qt 5.8.0. Please brew reinstall -dv qgis3-dev and try again. Note the known issues in #22 with Qt 5.8.0.

from homebrew-qgisdev.

timlinux avatar timlinux commented on August 20, 2024

Thanks so much @dakcarto - going to test now...

from homebrew-qgisdev.

dakcarto avatar dakcarto commented on August 20, 2024

Original posted issue should be fixed, as noted in #27.

from homebrew-qgisdev.

Gustry avatar Gustry commented on August 20, 2024

Thanks, it works now !

from homebrew-qgisdev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.