URL:
<http://savannah.nongnu.org/task/?10616>
Summary: weechat_infolist_reset_item_cursor does not work
Project: WeeChat
Submitted by: arenevier
Submitted on: jeu 16 sep 2010 15:09:37 GMT
Category: scripts API plugins
Should Start On: jeu 16 sep 2010 00:00:00 GMT
Should be Finished on: jeu 16 sep 2010 00:00:00 GMT
Priority: 5 - Normal
Status: None
Privacy: Public
Percent Complete: 0%
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
IRC nick:
_______________________________________________________
Details:
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 <module>
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"
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?10616>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
_______________________________________________
Weechat-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/weechat-dev