paip.解决 Gtk-CRITICAL **: IA__gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
Failed 解决 is __ paip show Widget gtk
2023-09-14 09:03:38 时间
paip.解决 Gtk-CRITICAL **: IA__gtk_widget_show: assertion `GTK_IS_WIDGET (widget)' failed
作者Attilax , EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
原因:
glade文件没寻找到..或者格式错误 或者控件名称错误 或者在的错误
调试`过程:
//
加入以下代码.
GError *err = NULL;
if(0== gtk_builder_add_from_file(pBuilder,"c:/haloc9.gtkfmt",&err))
{
/* Print out the error. You can use GLib's message logging */
fprintf(stderr, "Error adding build from file. Error: %s\n", err->message);
/* Your error handling code goes here */
}
解决:
//
根据具体的提示解决:
比如Error adding build from file. Error: Invalid root element: 'glade-interface'
常见的原因是glade界面文件格式是libglade格式(glade3.4以及以下都是这个格式),但是代码中是使用GtkBuilder来解析....libglade格式,要加载这个库,GladeXML使用来解析
或者相反...
“D:\AutoHotKey 中文版\AutoHotkey.exe ” “C:\Documents and Settings\Administrator\桌面\c925\filenameFilter.ahk”
作者Attilax , EMAIL:1466519819@qq.com
来源:attilax的专栏
地址:http://blog.csdn.net/attilax
原因:
glade文件没寻找到..或者格式错误 或者控件名称错误 或者在的错误
调试`过程:
//
加入以下代码.
GError *err = NULL;
if(0== gtk_builder_add_from_file(pBuilder,"c:/haloc9.gtkfmt",&err))
{
/* Print out the error. You can use GLib's message logging */
fprintf(stderr, "Error adding build from file. Error: %s\n", err->message);
/* Your error handling code goes here */
}
解决:
//
根据具体的提示解决:
比如Error adding build from file. Error: Invalid root element: 'glade-interface'
常见的原因是glade界面文件格式是libglade格式(glade3.4以及以下都是这个格式),但是代码中是使用GtkBuilder来解析....libglade格式,要加载这个库,GladeXML使用来解析
或者相反...
“D:\AutoHotKey 中文版\AutoHotkey.exe ” “C:\Documents and Settings\Administrator\桌面\c925\filenameFilter.ahk”
相关文章
- git 错误:failed to push some refs to
- Failed to read artifact descriptor for avalon-framework:avalon-framewor
- FAILED: Hive Internal Error: java.lang.RuntimeException(Error while making MR scratch directory异常的解决
- flv.js播放视频时出现Failed to execute ‘appendBuffer’ on ‘SourceBuffer’ 错误
- Error response from daemon: driver failed programming external connectivity on endpoint quirky_allen
- AHCI: Failed to attach drive to Port1 (VERR_GENERAL_FAILURE).
- Attempt to fetch logical page (...) in database 2 failed. It belongs to allocation unit xxxx not to xxx
- 解决eclipse打开报错:failed to create the java virtual ma
- Error -27492: "HttpSendRequest" failed, Windows error code=12152 (invalid server response) and retry。。。
- Mac 在启动eclipse时 Failed to load JavaHL Library解决方法
- python3:用pip安装第三方库时报错Command "python setup.py egg_info" failed with error code的解决
- CentOS7 Failed to start LSB: Bring up/down networking.解决方法
- The request failed with HTTP status 401: Unauthorized
- Failed to find Build Tools revision 24.0.2 Install Build Tools 24.0.2 and sync project
- 成功解决urllib.error.URLError urlopen error Errno 11004 getaddrinfo failed
- 成功解决Solving environment: failed with initial frozen solve. Retrying with flexible solve.
- 成功解决from scipy.linalg import _fblas ImportError: DLL load failed: 找不到指定的模块。
- MongoDB报错 -【已解决】:Error: couldn‘t connect to server 127.0.0.1:27017, connection attempt failed:
- android 解决报错 installation failed with message Failed to finalize session : INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed parse during installPackageLI: Failed to read manifest from /xx/xx/xx.apk
- 解决Failed toString() invocation on an object com.alibaba.fastjson.JSONException: write javaBean error
- Android12编译:build/make/core/dex_preopt_config.mk:157: error: fopen failed.
- 解决Vscode使用LeetCode报错Failed to test the solution. Please open the output channel for details.
- 【异常】MyBatis-Plus提示报错MybatisPlusException: Failed to process, Error SQL