[Seek Help] freecad和Ocraslicer都不能用啊,什么情况?
Tofloor
poster avatar
killer888
deepin
2024-10-22 19:05
Author

freecad和Ocraslicer都不能用啊,什么情况?原来Ubuntu22能用现在Ubuntu24.04也不能了。和deepinV23的错误基本一样。这究竟什么原因???

./FreeCAD-0.21.2-Linux-x86_64.AppImage
FreeCAD 0.21.2, Libs: 0.21.2R33771 (Git)
© Juergen Riegel, Werner Mayer, Yorik van Havre and others 2001-2023
FreeCAD is free and open-source software licensed under the terms of LGPL2+ license.
FreeCAD wouldn't be possible without FreeCAD community.

####

# # #

## #### #### # # #

# # # # # # # #####

# #### #### # # #

# # # # # # # # ##

# #### #### ### # # #### ##

MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: 无法打开共享对象文件: 没有那个文件或目录 (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: 无法打开共享对象文件: 没有那个文件或目录 (search paths /usr/lib/x86_64-linux-gnu/dri:$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
/tmp/.mount_FreeCAdjuEZq/AppRun: 第 43 行:14536 已放弃 ​{MAIN} "@"

./OrcaSlicer_Linux_V2.1.1.AppImage
[2024-10-22 18:53:58.999779] [0x00007efd4c857440] [trace] Initializing StaticPrintConfigs
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1
add font of NanumGothic-Regular returns 1
add font of NanumGothic-Bold returns 1

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:53:59.369: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed

(orca-slicer:14363): dbind-WARNING **: 18:53:59.396: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.080: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:54:03.102: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.103: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:54:03.105: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.105: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:54:03.107: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.107: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:54:03.112: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.112: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:54:03.115: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.116: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:54:03.117: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.117: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:54:03.120: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.121: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:54:03.128: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.129: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:54:03.136: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.136: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed

(orca-slicer:14363): GLib-GObject-CRITICAL **: 18:54:03.138: invalid cast from 'wxPizza' to 'GtkCellLayout'

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.138: gtk_cell_layout_get_cells: assertion 'GTK_IS_CELL_LAYOUT (cell_layout)' failed
libEGL warning: DRI2: failed to authenticate
MESA: error: ZINK: failed to choose pdev
libEGL warning: egl: failed to create dri2 screen
VMware: No 3D enabled (0, 成功).
libEGL warning: egl: failed to create dri2 screen
VMware: No 3D enabled (0, 成功).
libEGL warning: egl: failed to create dri2 screen
Could not determine the accessibility bus address

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.662: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.680: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.680: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.681: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.682: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.683: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.683: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.684: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.684: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.703: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.705: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:03.705: gtk_widget_set_size_request: assertion 'width >= -1' failed

(WebKitWebProcess:14409): GLib-GObject-CRITICAL **: 18:54:03.873: g_value_set_boxed: assertion 'G_VALUE_HOLDS_BOXED (value)' failed

(orca-slicer:14363): GLib-CRITICAL **: 18:54:04.067: g_byte_array_remove_range: assertion 'index_ + length <= array->len' failed

(orca-slicer:14363): GLib-CRITICAL **: 18:54:04.068: g_byte_array_remove_range: assertion 'index_ + length <= array->len' failed

(orca-slicer:14363): GLib-CRITICAL **: 18:54:04.068: g_byte_array_remove_range: assertion 'index_ + length <= array->len' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.138: gtk_window_resize: assertion 'height > 0' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.156: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.156: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.178: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.178: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.185: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.186: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.197: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.198: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.211: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.213: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.224: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.224: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.264: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.264: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.282: gtk_widget_set_size_request: assertion 'width >= -1' failed

(orca-slicer:14363): Gtk-CRITICAL **: 18:54:04.282: gtk_widget_set_size_request: assertion 'width >= -1' failed
段错误

Reply Favorite View the author
All Replies
killer888
deepin
2024-10-22 20:09
#1

Ubuntu24.04下提示

Ubuntu24.04下两个appimage不能用 Ocraslicer 和FreeCAD 都启动不了
./OrcaSlicer_Linux_V2.1.1.AppImage
/tmp/.mount_OrcaSls74Yyf/bin/orca-slicer: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory
./FreeCAD-Link-Stable-Linux-x86_64-py3.11-20240123.AppImage
/tmp/.mount_FreeCAFEFCE1
FreeCAD 0.21.0, Libs: 2024.123.0R14555 (Git shallow)
MESA-LOADER: failed to open zink: /usr/lib/dri/zink_dri.so: 无法打开共享目标文件: 没有那个文件或目录 (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: 无法打开共享目标文件: 没有那个文件或目录 (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
QApplication: invalid style override 'gnome' passed, ignoring it.
Available styles: Windows, Fusion
2.20404 init_gui.py(14): no solver backend found
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlagsQSurfaceFormat::FormatOption(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
/tmp/.mount_FreeCAFEFCE1/AppRun: 第 52 行: 6464 已中止 (核心已转储) "./$name" "$@"

Reply View the author
expskywalker
deepin
2024-10-23 08:48
#2

image.png6.9.6-amd64-desktop-rolling #23.01.01.02 SMP PREEMPT_DYNAMIC Tue Jul 23 12:20:02 CST 2024 x86_64 GNU/Linux 运行FreeCAD 0.21.2启动可以,新建会报错。建议使用最新的1.0RC2版本。

Reply View the author
绍贝格尔
deepin
2024-10-23 10:54
#3

freecad使用beta版本 好像是日更版本

Reply View the author
killer888
deepin
2024-10-24 19:22
#4

搞不懂了,ubuntu22.04两个程序都没问题

Reply View the author
158******35
deepin
2024-11-18 21:37
#5
killer888

搞不懂了,ubuntu22.04两个程序都没问题

用星火应用商店里的可以

ubuntu 24.10 snap上 freecad 1.0可以启动但是识别不了/mnt下挂载好的ntfs盘

            apt-get获取的freecad可以启动,但是打开.step文件时就会崩,版本好像是0.21.2
            用星火应用商店上的版本就可以版本是0.21.0
Reply View the author