If you have any questions why you received this email, please see the text at the end of this email. Replies to this email are NOT read, please see the text at the end of this email. You can add comments to this bug at: http://bugzilla.gnome.org/show_bug.cgi?id=550186
LDTP | ldtp | Ver: unspecified Summary: Go two GLib-CRITICAL msg when try to access non-existed widget. Product: LDTP Version: unspecified Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: Normal Component: ldtp AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] QAContact: ldtp-dev@lists.freedesktop.org GNOME version: Unspecified GNOME milestone: Unspecified Step to repro: [EMAIL PROTECTED]:~$ python Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import ldtp >>> getwindowlist() Traceback (most recent call last): File "<stdin>", line 1, in <module> NameError: name 'getwindowlist' is not defined >>> ldtp.getwindowlist() [u'frmTopExpandedEdgePanel', u'frmUnsavedDocument1-gedit', u'frmDesktop', u'frmBottomExpandedEdgePanel'] >>> ldtp.click('frm*gedit', 'btnXX') (ldtp:8333): GLib-CRITICAL **: g_hash_table_insert: assertion `hash_table != NULL' failed (ldtp:8333): GLib-CRITICAL **: g_hash_table_insert: assertion `hash_table->ref_count > 0' failed Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python2.5/site-packages/ldtp.py", line 576, in click raise LdtpExecutionError ('click failed: ' + _responseStatus [1]) ldtplib.ldtplibutils.LdtpExecutionError: u'click failed: Unable to find object name in application map' Expect Result: After check the source, is this the right action: ht_data_list = g_hash_table_new_full (&g_str_hash, &g_str_equal, destroy_string, NULL); obj.key = context; obj.parent_name = NULL; obj.obj_is_window = obj_is_window; obj.ht_data_list = ht_data_list; // orignal the obj was not getting this value. g_hash_table_foreach (ht, search_window_key_based, &obj); -- See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received this email, why you can't respond via email, how to stop receiving emails (or reduce the number you receive), and how to contact someone if you are having problems with the system. You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=550186. _______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev