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

Error on launch: add font of HarmonyOS_Sans_SC_Bold returns 1 #3109

Open
2 tasks
joenotjim opened this issue Dec 14, 2023 · 9 comments
Open
2 tasks

Error on launch: add font of HarmonyOS_Sans_SC_Bold returns 1 #3109

joenotjim opened this issue Dec 14, 2023 · 9 comments
Assignees
Labels
bug Something isn't working inactive customer 90 days wont reply

Comments

@joenotjim
Copy link

Bambu Studio Version

1.8

Where is the application from?

Bambu Lab github releases

OS version

openSUSE Tumbleweed 20231204

Additional system information

AMD Ryzen 7 PRO 3700U w/ Radeon Vega Mobile Gfx
40 GB DDR4

Printer

Bambu Lab X1C

How to reproduce

Launch AppImage

Actual results

./Downloads/BambuStudio_linux_fedora_v01.08.02.56-20231213.AppImage
[2023-12-14 10:22:20.608904] [0x00007f5c3bd92d40] [trace]   Initializing StaticPrintConfigs
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1

(bambu-studio:24072): GLib-GObject-CRITICAL **: 10:22:20.858: invalid (NULL) pointer instance

(bambu-studio:24072): GLib-GObject-CRITICAL **: 10:22:20.858: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Expected results

Software should launch

Project file & Debug log uploads

./Downloads/BambuStudio_linux_fedora_v01.08.02.56-20231213.AppImage
[2023-12-14 10:22:20.608904] [0x00007f5c3bd92d40] [trace]   Initializing StaticPrintConfigs
add font of HarmonyOS_Sans_SC_Bold returns 1
add font of HarmonyOS_Sans_SC_Regular returns 1

(bambu-studio:24072): GLib-GObject-CRITICAL **: 10:22:20.858: invalid (NULL) pointer instance

(bambu-studio:24072): GLib-GObject-CRITICAL **: 10:22:20.858: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

Checklist of files to include

  • Log file
  • Project file
@joenotjim joenotjim added the bug Something isn't working label Dec 14, 2023
@joenotjim
Copy link
Author

joenotjim commented Dec 14, 2023

I downloaded the Fedora AppImage (since openSUSE is RPM-based) two weeks ago (BambuStudio_linux_fedora_v01.08.00.62-20231123075101.AppImage). After three rounds of chasing missing libraries, the software launched and appeared to operate successfully. I don't actually have my printer yet, so I didn't do anything beyond opening the software.

After installing OS patches, I now get the error I reported in the bug. I updated to the brand new 1.8 GA and downloaded and installed the HarmonyOS_Sans_SC fonts but the error persists.

Launching the AppImage with --debug 5 does not produce any additional log data.

@beanotj
Copy link

beanotj commented Jan 9, 2024

Same issue - I have a machine that was not updated and it still works fine. I also tried 1.7 and all versions are broke on Opensuse Tumbleweed after the system updates.

I did start the process of pulling down the repository and trying to compile it on my broken machine. Running into issues getting the correct libraries to be able to compile. Also my machine is definitely not top of the line for compiling.

@joenotjim
Copy link
Author

Both AppImage files are still broken, same error. The Flatpak works though! I should also mention that this issue appears to be from upstream. I get the same error in OrcaSlicer and Prusa Slicer doesn't work either, but with a different error.

@beanotj
Copy link

beanotj commented Jan 16, 2024 via email

@lanewei120
Copy link
Collaborator

@beanotj @joenotjim
have you installed webkit2gtk4 or webkit2gtk3 ?

@joenotjim
Copy link
Author

webkit2gtk4_0-37

Based on my update history, it looks like I had webkit2gtk4_1 v2.42.1-4.1 when I first tried to run the AppImage. I got an error about a missing library that I did not record, but as a result, I installed libwebkit2gtk-4_0-37, which was at v2.42.2-2.1 and resolved the error.

A week or so later, I ran updates, where the following packages:
libwebkit2gtk-4_1-0
webkit2gtk-4_1-injected-bundles
libwebkit2gtk-4_0-37
webkit2gtk-4_0-injected-bundles
were all updated to v2.42.2-3.1, at which point I started getting the null pointer error. They have subsequently been updated to v2.42.4-1.1, and I don't have an easy way to restore the working 2.42.2-2.1 version.

Thank you.

@BambulabRobot BambulabRobot added the inactive customer 90 days wont reply label Aug 6, 2024
@BambulabRobot
Copy link

This issue has been marked as inactive due to no response for 90 days.

@lanewei120
Copy link
Collaborator

Hello, @joenotjim
still has issues with those app images?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working inactive customer 90 days wont reply
Projects
None yet
Development

No branches or pull requests

6 participants