Skip to content
  • 144k Topics
    720k Posts
    Hi all, I'm launching Cura AppImage in my Linux environment and it produces the following debug error log: ./UltiMaker-Cura-5.10.1-linux-X64.AppImage --debug UM/Settings/SettingFunction.py:244: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead def visit_Str(self, node: ast.Str) -> None: trimesh/interfaces/scad.py:28: DeprecationWarning: Use shutil.which instead of find_executable _scad_executable = find_executable('openscad', path=_search_path) trimesh/interfaces/blender.py:36: DeprecationWarning: Use shutil.which instead of find_executable _blender_executable = find_executable('blender', path=_search_path) trimesh/interfaces/vhacd.py:21: DeprecationWarning: Use shutil.which instead of find_executable _vhacd_executable = find_executable(_name, path=_search_path) trimesh/curvature.py:12: DeprecationWarning: Please use `coo_matrix` from the `scipy.sparse` namespace, the `scipy.sparse.coo` namespace is deprecated. from scipy.sparse.coo import coo_matrix trimesh/exchange/ply.py:953: DeprecationWarning: Use shutil.which instead of find_executable draco_encoder = find_executable('draco_encoder') trimesh/util.py:89: DeprecationWarning: 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead return pkgutil.find_loader(name) is not None trimesh/exchange/binvox.py:18: DeprecationWarning: Use shutil.which instead of find_executable binvox_encoder = find_executable('binvox') trimesh/path/exchange/dxf.py:1101: DeprecationWarning: Use shutil.which instead of find_executable _teigha = find_executable(_name) Gtk-Message: 08:15:11.047: Failed to load module "canberra-gtk-module" (UltiMaker-Cura:11485): dbind-WARNING **: 08:15:11.192: Couldn't connect to accessibility bus: Failed to connect to socket /root/.cache/at-spi/bus_0: Permission denied Fontconfig warning: "/etc/fonts/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs" [MainThread] UM.Application.initialize [163]: Initializing UltiMaker Cura [MainThread] UM.Application.initialize [164]: App Version 5.10.1 [MainThread] UM.Application.initialize [165]: Api Version 8.10.0 [MainThread] UM.Application.initialize [166]: Build type None [MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMa2Hwv8f/../Resources/share/uranium/plugins must be a folder. [MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMa2Hwv8f/../Resources/share/cura/plugins must be a folder. [MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib/uranium must be a folder. [MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib64/uranium must be a folder. [MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/lib32/uranium must be a folder. [MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/.mount_UltiMa2Hwv8f/plugins must be a folder. [MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/Resources/uranium/plugins must be a folder. [MainThread] UM.PluginRegistry.addPluginLocation [205]: Plugin location /tmp/Resources/cura/plugins must be a folder. [MainThread] UM.Resources.__initializeStoragePaths [481]: Initializing storage paths [MainThread] UM.Resources.__initializeStoragePaths [491]: Config storage path is /home/frans/.config/cura/5.10 [MainThread] UM.Resources.__initializeStoragePaths [499]: Data storage path is /home/frans/.local/share/cura/5.10 [MainThread] UM.Resources.__initializeStoragePaths [511]: Cache storage path is /home/frans/.cache/cura/5.10 UM/Qt/QtApplication.py:701: DeprecationWarning: QEvent constructor is deprecated super().__init__(self.QtFunctionEvent) [MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMa2Hwv8f/share/uranium/resources/bundled_packages/uranium.json [MainThread] UM.PackageManager.__init__ [56]: Found bundled packages JSON file: /tmp/.mount_UltiMa2Hwv8f/share/cura/resources/bundled_packages/cura.json [MainThread] UM.View.GL.OpenGLContext.detectBestOpenGLVersion [124]: Trying OpenGL context 4.1... qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile QSurfaceFormat::CoreProfile) qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 4.1, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile QSurfaceFormat::CoreProfile) Could not initialize GLX Fatal Python error: Aborted Current thread 0x00007fb5bd654740 (most recent call first): File "UM/View/GL/OpenGLContext.py", line 36 in setContext File "UM/View/GL/OpenGLContext.py", line 125 in detectBestOpenGLVersion File "UM/Qt/QtApplication.py", line 178 in initialize File "cura/CuraApplication.py", line 349 in initialize File "UM/Application.py", line 288 in run File "UM/Qt/QtApplication.py", line 385 in run File "cura/CuraApplication.py", line 881 in run File "cura_app.py", line 243 in <module> Extension modules: PyQt6.QtCore, PyQt6.QtNetwork, PyQt6.QtGui, PyQt6.QtWidgets, numpy.core._multiarray_umath, numpy.core._multiarray_tests, numpy.linalg._umath_linalg, numpy.fft._pocketfft_internal, numpy.random._common, numpy.random.bit_generator, numpy.random._bounded_integers, numpy.random._mt19937, numpy.random.mtrand, numpy.random._philox, numpy.random._pcg64, numpy.random._sfc64, numpy.random._generator, scipy._lib._ccallback_c, scipy.sparse._sparsetools, _csparsetools, scipy.sparse._csparsetools, scipy.sparse.linalg._isolve._iterative, scipy.linalg._fblas, scipy.linalg._flapack, scipy.linalg.cython_lapack, scipy.linalg._cythonized_array_utils, scipy.linalg._solve_toeplitz, scipy.linalg._decomp_lu_cython, scipy.linalg._matfuncs_sqrtm_triu, scipy.linalg.cython_blas, scipy.linalg._matfuncs_expm, scipy.linalg._decomp_update, scipy.linalg._flinalg, scipy.sparse.linalg._dsolve._superlu, scipy.sparse.linalg._eigen.arpack._arpack, scipy.sparse.csgraph._tools, scipy.sparse.csgraph._shortest_path, scipy.sparse.csgraph._traversal, scipy.sparse.csgraph._min_spanning_tree, scipy.sparse.csgraph._flow, scipy.sparse.csgraph._matching, scipy.sparse.csgraph._reordering, scipy.spatial._ckdtree, scipy._lib.messagestream, scipy.spatial._qhull, scipy.spatial._voronoi, scipy.spatial._distance_wrap, scipy.spatial._hausdorff, scipy.special._ufuncs_cxx, scipy.special._ufuncs, scipy.special._specfun, scipy.special._comb, scipy.special._ellip_harm_2, scipy.spatial.transform._rotation, _cffi_backend, PyQt6.QtOpenGL, PyQt6.QtQml, PyQt6.QtQuick, pyArcus, PyQt6.QtSvg, pyclipper._pyclipper, pynest2d, scipy.optimize._minpack2, scipy.optimize._group_columns, scipy.optimize._trlib._trlib, scipy.optimize._lbfgsb, _moduleTNC, scipy.optimize._moduleTNC, scipy.optimize._cobyla, scipy.optimize._slsqp, scipy.optimize._minpack, scipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, scipy.optimize.__nnls, scipy.optimize._highs.cython.src._highs_wrapper, scipy.optimize._highs._highs_wrapper, scipy.optimize._highs.cython.src._highs_constants, scipy.optimize._highs._highs_constants, scipy.linalg._interpolative, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._direct, shapely.lib, shapely._geos, shapely._geometry_helpers, scipy.ndimage._nd_image, _ni_label, scipy.ndimage._ni_label (total: 88) Aborted Checking through the code of the qglx_findConfig with the variables selected it looks like it most probably has an empty config list. This used to work, but recently my system was updated. I run Gentoo with limited unmasking. Last time round this popped up, I downgraded Mesa, but this time round it is more difficult. The old versions of Mesa has been removed and trying to install the old versions result in a bees nest of dependencies that have received a similar fate. I built a simple Python test example using the code similar to what Cura uses and that runs without problems in a Python venv. Does someone here know what I could do to unravel this problem?
  • Jobs, project showcases, announcements - anything that isn't directly development
    4k Topics
    23k Posts
    @martiniturbide in case you haven't yet encountered the following resources, they each list a number of Qt-based applications: https://wiki.manjaro.org/index.php/List_of_Qt_Applications https://forum.qt.io/topic/161772/recommendations-for-well-written-open-source-qml-projects-to-study https://forum.qt.io/topic/158013/what-s-the-most-beautiful-creative-interesting-software-made-with-qt-you-ve-seen
  • Everything related to designing and design tools

    126 Topics
    378 Posts
    Hi there, I am facing the same problem. Did you make any progress, or does anyone have some new input on this topic ? Thanks.
  • Everything related to the QA Tools

    75 211 4 days ago
    75 Topics
    211 Posts
    @HarryGoddardTech said in Invalid metadata: I'm getting the following error when I run "Squish for Qt 9.0.0" Please clarify what you mean by this. For example, Do you get the error when launching the Squish IDE? or During the execution of the already existing test suite? It might be worth checking the "System Level" and/or "User Level" PATH environment variable to confirm no Qt related path is included.
  • Everything related to learning Qt.

    378 2k 12 days ago
    378 Topics
    2k Posts
    I already wrote to this e-mail by using the built-in function from youtestme - no answer yet. The result from the test is already there I am just waiting for the proctoring report. [image: 64449ca2-2b0f-4143-886d-e822cda62e62.png]
  • 2k Topics
    13k Posts
    Hi, I think you went the too complicated road: quint16 calculateCrc16Arc(const QByteArray &data) { quint16 crc = 0x0000; const quint16 poly = 0xA001; for (char byte : data) { crc ^= (static_cast<quint8>(byte)); for (int i = 0; i < 8; i++) { crc = (crc & 0x0001) > 0 ? (crc >> 1) ^ poly : (crc >> 1); } } return crc; }
  • 4k Topics
    18k Posts
    请问我的QT程序是关于连接远程数据库的,打包给其他的没有qt和数据库环境的电脑去连接数据库是可以的,但是放到同样的没有qt和数据库环境的机器配套的电脑连接远程数据库就显示driver not load,这个是因为什么,我个人的猜想是会不会是因为机器的电脑只有机器的配套软件而没有某些环境导致的?
  • This is where all the posts related to the Qt web services go. Including severe sillyness.
    1k 10k 20 days ago
    1k Topics
    10k Posts
    Hi @RokeJulianLockhart, just some additional thoughts to consider... Kubuntu is an official "flavor" of Ubuntu. That is, its supported by Ubunutu, and has the same LTS and non-LTS releases Ubuntu has. KDE Neon is based-on an LTS Ubuntu, but is not supported by Ubuntu. It contains more recent KDE components, and is maintained (not sure about supported) by KDE devs. So there's definitely pro's and con's to both. But I'm sure both are good either way. I ask about Kubuntu explicitly because it's Qt-based, being the KDE Plasma variant, so I prefer it for verifying Qt bugs. While KDE is Qt-based, it actually uses Qt-derived libs, rather than Qt per se. So while it really doesn't matter, if you really like to use Qt on Ubuntu (as I do), then I can recommend Lubuntu, which is also an official Ubuntu flavour (supported by Ubuntu), but using the LXQt desktop by default instead. LXQt is a lightweight Qt-based desktop environment, so much more Qt-pure than KDE is (though again, it really doesn't matter). It's certainly not as feature rich as KDE, but then its without KDE's bloat too. LXQt suits my needs perfectly (by largely staying out of my way), but of course might not be right for you. Worth knowing about anyway. Cheers.