Fri 17 Sep 2010 11:16:49 AM UTC, comment #2:
This item has been reassigned from the project WeeChat task tracker to your tracker.
The original report is still available at task #10616
Following are the information included in the original report:
[field #0] Item ID: 10616 [field #1] Group ID: 4783 [field #2] Open/Closed: Open [field #3] Severity: 3 - Normal [field #4] Privacy: Public [field #8] : Unknown task Field Display Type [field #9] Category: scripts API plugins [field #10] Submitted by: arenevier [field #11] Assigned to: None [field #12] Submitted on: jeu 16 sep 2010 17:09:37 CEST [field #13] Summary: weechat_infolist_reset_item_cursor does not work [field #14] Original Submission: Hi,
http://www.weechat.org/files/doc/devel/weechat_plugin_api.fr.html#_weechat_infolist_reset_item_cursor
weechat_infolist_reset_item_cursor
does not seem to work
here is a python script example:
import weechat
weechat.register("test_python", "FlashCode", "1.0", "GPL3", "Script de test", "", "")
infolist = weechat.infolist_get("history", "", "")
#this works fine
weechat.infolist_next(infolist)
#this does not work
weechat.infolist_reset_item_cursor(infolist)
and here is the exception raised:
python: stdout/stderr: Traceback (most recent call last):
python: stdout/stderr: File "/home/arno/.weechat/python/autoload/test.py", line 11, in
python: stdout/stderr: weechat.infolist_reset_item_cursor(infolist)
python: stdout/stderr: AttributeError: 'module' object has no attribute 'infolist_reset_item_cursor'
python: unable to parse file "/home/arno/.weechat/python/autoload/test.py" [field #16] Item Group: None [field #17] Status: None [field #18] Component Version: None [field #19] Operating System: None [field #20] Reproducibility: None [field #21] Size (loc): None [field #22] Fixed Release: None [field #23] Planned Release: None [field #24] Effort: 0.00 [field #28] Priority: 5 - Normal [field #29] Should Start On: jeu 16 sep 2010 02:00:00 CEST [field #30] Should be Finished on: jeu 16 sep 2010 02:00:00 CEST [field #31] Percent Complete: 0% [field #33] Release: None [field #58] Custom Select Box #1: None [field #59] Custom Select Box #2: None [field #60] Custom Select Box #3: None [field #61] Custom Select Box #4: None [field #62] Custom Select Box #5: None [field #63] Custom Select Box #6: None [field #64] Custom Select Box #7: None [field #65] Custom Select Box #8: None [field #66] Custom Select Box #9: None [field #67] Custom Select Box #10: None
|