weechat-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Weechat-dev] [task #10616] weechat_infolist_reset_item_cursor does not


From: arno
Subject: [Weechat-dev] [task #10616] weechat_infolist_reset_item_cursor does not work
Date: Thu, 16 Sep 2010 15:09:38 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.8) Gecko/20100820 Iceweasel/3.6.4 (like Firefox/3.6.4) FirePHP/0.4

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]